From 07affd4fe340bdb59bc97bedbb3df24f7581c873 Mon Sep 17 00:00:00 2001 From: Sam Freund Date: Fri, 12 Dec 2025 01:52:17 -0600 Subject: [PATCH] RobotPy 2026 beta (#2237) ## Description This updates RobotPy and our Python examples to the 2026 beta. ## Meta Merge checklist: - [x] Pull Request title is [short, imperative summary](https://cbea.ms/git-commit/) of proposed changes - [x] The description documents the _what_ and _why_ - [ ] If this PR changes behavior or adds a feature, user documentation is updated - [ ] If this PR touches photon-serde, all messages have been regenerated and hashes have not changed unexpectedly - [ ] If this PR touches configuration, this is backwards compatible with settings back to v2025.3.2 - [ ] If this PR touches pipeline settings or anything related to data exchange, the frontend typing is updated - [ ] If this PR addresses a bug, a regression test for it is added --- photon-lib/py/setup.py | 10 +++++----- photonlib-python-examples/aimandrange/pyproject.toml | 2 +- photonlib-python-examples/aimattarget/pyproject.toml | 2 +- photonlib-python-examples/poseest/pyproject.toml | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/photon-lib/py/setup.py b/photon-lib/py/setup.py index f2e3d278a..585206920 100644 --- a/photon-lib/py/setup.py +++ b/photon-lib/py/setup.py @@ -61,11 +61,11 @@ setup( version=versionString, install_requires=[ "numpy~=2.1", - "wpilib<2026,>=2025.3.2", - "robotpy-wpimath<2026,>=2025.3.2", - "robotpy-apriltag<2026,>=2025.3.2", - "robotpy-cscore<2026,>=2025.3.2", - "pyntcore<2026,>=2025.3.2", + "wpilib==2026.1.1b1", + "robotpy-wpimath==2026.1.1b1", + "robotpy-apriltag==2026.1.1b1", + "robotpy-cscore==2026.1.1b1", + "pyntcore==2026.1.1b1", "opencv-python;platform_machine!='roborio'", ], description=descriptionStr, diff --git a/photonlib-python-examples/aimandrange/pyproject.toml b/photonlib-python-examples/aimandrange/pyproject.toml index 4f8a37014..f1cb86aaf 100644 --- a/photonlib-python-examples/aimandrange/pyproject.toml +++ b/photonlib-python-examples/aimandrange/pyproject.toml @@ -6,7 +6,7 @@ [tool.robotpy] # Version of robotpy this project depends on -robotpy_version = "2026.1.1-beta-1" +robotpy_version = "2026.1.1b1" # Which extra RobotPy components should be installed # -> equivalent to `pip install robotpy[extra1, ...] diff --git a/photonlib-python-examples/aimattarget/pyproject.toml b/photonlib-python-examples/aimattarget/pyproject.toml index 4f8a37014..f1cb86aaf 100644 --- a/photonlib-python-examples/aimattarget/pyproject.toml +++ b/photonlib-python-examples/aimattarget/pyproject.toml @@ -6,7 +6,7 @@ [tool.robotpy] # Version of robotpy this project depends on -robotpy_version = "2026.1.1-beta-1" +robotpy_version = "2026.1.1b1" # Which extra RobotPy components should be installed # -> equivalent to `pip install robotpy[extra1, ...] diff --git a/photonlib-python-examples/poseest/pyproject.toml b/photonlib-python-examples/poseest/pyproject.toml index 4f8a37014..f1cb86aaf 100644 --- a/photonlib-python-examples/poseest/pyproject.toml +++ b/photonlib-python-examples/poseest/pyproject.toml @@ -6,7 +6,7 @@ [tool.robotpy] # Version of robotpy this project depends on -robotpy_version = "2026.1.1-beta-1" +robotpy_version = "2026.1.1b1" # Which extra RobotPy components should be installed # -> equivalent to `pip install robotpy[extra1, ...]