[copybara] mostrobotpy to allwpilib (#8503)

Resync with `mostrobotpy`

This mostly involves the big "ignore almost everything in the HAL
project" and some fixups for the Addressable LED classes.

Required two small hand fixes to get it building over here with bazel,
and with more compiler warnings on.

I also manually zeroed out the `repo_url` field in the toml files to
avoid unnecessary churn whenever it goes from a release build to a
development build. I already did this with `version` field in there, and
will do a follow up PR that updates the copybara script to do it
automatically.

---------

Co-authored-by: Default email <default@default.com>
This commit is contained in:
PJ Reiniger
2025-12-31 12:06:01 -05:00
committed by GitHub
parent bdc9391738
commit 40fb9ff562
233 changed files with 1796 additions and 4455 deletions

View File

@@ -49,7 +49,7 @@ def romi_extension(srcs = [], header_to_dat_deps = [], extra_hdrs = [], includes
gen_libinit(
name = "romi.gen_lib_init",
output_file = "src/main/python/romi/_init__romi.py",
modules = ["native.romi._init_robotpy_native_romi", "wpilib._init__wpilib", "wpimath.geometry._init__geometry"],
modules = ["native.romi._init_robotpy_native_romi", "wpilib._init__wpilib", "wpimath._init__wpimath"],
)
gen_pkgconf(
@@ -101,7 +101,7 @@ def romi_extension(srcs = [], header_to_dat_deps = [], extra_hdrs = [], includes
"//wpilibc:wpilib_pybind_library",
"//wpilibc:wpilibc",
"//wpimath:wpimath",
"//wpimath:wpimath_geometry_pybind_library",
"//wpimath:wpimath_pybind_library",
],
dynamic_deps = [
"//romiVendordep:shared/romiVendordep",

View File

@@ -23,7 +23,7 @@ packages = ["src/native"]
[[tool.hatch.build.hooks.robotpy.maven_lib_download]]
artifact_id = "romiVendordep-cpp"
group_id = "org.wpilib.romiVendordep"
repo_url = "https://frcmaven.wpi.edu/artifactory/release-2027"
repo_url = ""
version = "0.0.0"
extract_to = "src/native/romi"

View File

@@ -45,7 +45,7 @@ update_init = ["romi"]
name = "romi"
wraps = ["robotpy-native-romi"]
depends = [
"wpilib", "wpimath_geometry"
"wpilib", "wpimath"
]
[tool.semiwrap.extension_modules."romi._romi".headers]