Skip to content

Commit 7219b80

Browse files
committed
Upgrade for 2027 alpha
1 parent 126fd38 commit 7219b80

File tree

2 files changed

+39
-34
lines changed

2 files changed

+39
-34
lines changed

.github/workflows/dist.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
push:
77
branches:
88
- main
9+
- '2027'
910
tags:
1011
- '*'
1112

@@ -45,7 +46,7 @@ jobs:
4546
runs-on: ${{ matrix.os }}
4647
strategy:
4748
matrix:
48-
os: [windows-2022, macos-13, macos-14, ubuntu-22.04]
49+
os: [windows-2022, macos-13, macos-14, ubuntu-24.04]
4950
python_version:
5051
- '3.9'
5152
- '3.10'
@@ -85,7 +86,7 @@ jobs:
8586
# Only need to test that the wheel installs
8687

8788
docker-test:
88-
runs-on: ubuntu-22.04-arm
89+
runs-on: ubuntu-24.04-arm
8990
strategy:
9091
matrix:
9192
python_version:
@@ -111,7 +112,7 @@ jobs:
111112
working-directory: dist
112113
run: |
113114
WHEEL=$(ls *.whl)
114-
python -m pip --disable-pip-version-check install --extra-index-url=https://wpilib.jfrog.io/artifactory/api/pypi/wpilib-python-release-2025/simple ${WHEEL}[all]
115+
python -m pip --disable-pip-version-check install --extra-index-url=https://wpilib.jfrog.io/artifactory/api/pypi/wpilib-python-release-2027/simple ${WHEEL}[all]
115116
116117
- name: Show installed packages
117118
shell: bash
@@ -124,19 +125,19 @@ jobs:
124125
strategy:
125126
matrix:
126127
os:
127-
- container: wpilib/roborio-cross-ubuntu:2025-22.04-py313
128-
name: roborio
128+
- container: wpilib/systemcore-cross-ubuntu:2025-22.04-py313
129+
name: systemcore
129130

130131
# - container: wpilib/raspbian-cross-ubuntu:2025-bullseye-22.04-py39
131132
# name: raspbian-py39
132133
# - container: wpilib/raspbian-cross-ubuntu:2025-bullseye-22.04-py310
133134
# name: raspbian-py310
134-
- container: wpilib/raspbian-cross-ubuntu:2025-bullseye-22.04-py311
135-
name: raspbian-py311
136-
- container: wpilib/raspbian-cross-ubuntu:2025-bullseye-22.04-py312
137-
name: raspbian-py312
138-
- container: wpilib/raspbian-cross-ubuntu:2025-bullseye-22.04-py313
139-
name: raspbian-py313
135+
# - container: wpilib/raspbian-cross-ubuntu:2025-bullseye-22.04-py311
136+
# name: raspbian-py311
137+
# - container: wpilib/raspbian-cross-ubuntu:2025-bullseye-22.04-py312
138+
# name: raspbian-py312
139+
# - container: wpilib/raspbian-cross-ubuntu:2025-bookworm-24.04-py313
140+
# name: raspbian-py313
140141

141142
container:
142143
image: "${{ matrix.os.container }}"

pyproject.toml

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ build-backend = "setuptools.build_meta"
1616
[tool.meta.extras]
1717
default = [
1818
"robotpy-wpiutil",
19+
"robotpy-wpilog",
1920
"robotpy-wpinet",
2021
"robotpy-wpimath",
2122
"pyntcore",
@@ -33,7 +34,7 @@ apriltag = ["robotpy-apriltag", "numpy"]
3334

3435
commands2 = ["robotpy-commands-v2"]
3536

36-
cscore = ["robotpy-cscore", "numpy", "robotpy-opencv"]
37+
#cscore = ["robotpy-cscore", "numpy", "robotpy-opencv"]
3738

3839
romi = ["robotpy-romi"]
3940

@@ -46,7 +47,7 @@ xrp = ["robotpy-xrp"]
4647
#
4748

4849
[tool.meta.packages."mostrobotpy"]
49-
version = "==2025.3.2.2"
50+
version = "==2027.0.0a2"
5051

5152
[tool.meta.packages."pyntcore"]
5253
version = "mostrobotpy"
@@ -59,22 +60,25 @@ version = "mostrobotpy"
5960

6061
[tool.meta.packages."robotpy-halsim-ds-socket"]
6162
version = "mostrobotpy"
62-
constraint = 'platform_machine != "roborio" and platform_machine != "armv7l" and platform_machine != "aarch64"'
63+
constraint = 'platform_machine != "systemcore" and platform_machine != "armv7l" and platform_machine != "aarch64"'
6364

6465
[tool.meta.packages."robotpy-halsim-gui"]
6566
version = "mostrobotpy"
66-
constraint = 'platform_machine != "roborio"'
67+
constraint = 'platform_machine != "systemcore"'
6768

6869
[tool.meta.packages."robotpy-halsim-ws"]
6970
version = "mostrobotpy"
70-
constraint = 'platform_machine != "roborio" and platform_machine != "armv7l" and platform_machine != "aarch64"'
71+
constraint = 'platform_machine != "systemcore" and platform_machine != "armv7l" and platform_machine != "aarch64"'
7172

7273
[tool.meta.packages."robotpy-cscore"]
7374
version = "mostrobotpy"
7475

7576
[tool.meta.packages."robotpy-romi"]
7677
version = "mostrobotpy"
77-
constraint = 'platform_machine != "roborio"'
78+
constraint = 'platform_machine != "systemcore"'
79+
80+
[tool.meta.packages."robotpy-wpilog"]
81+
version = "mostrobotpy"
7882

7983
[tool.meta.packages."robotpy-wpimath"]
8084
version = "mostrobotpy"
@@ -87,7 +91,7 @@ version = "mostrobotpy"
8791

8892
[tool.meta.packages."robotpy-xrp"]
8993
version = "mostrobotpy"
90-
constraint = 'platform_machine != "roborio"'
94+
constraint = 'platform_machine != "systemcore"'
9195

9296
[tool.meta.packages."wpilib"]
9397
version = "mostrobotpy"
@@ -97,39 +101,39 @@ version = "mostrobotpy"
97101
#
98102

99103
[tool.meta.packages."pyfrc"]
100-
max_version = "2026.0.0"
101-
min_version = "2025.1.0"
102-
constraint = 'platform_machine != "roborio" and platform_machine != "armv7l" and platform_machine != "aarch64"'
104+
max_version = "2028.0.0"
105+
min_version = "2027.0.0a1"
106+
constraint = 'platform_machine != "systemcore" and platform_machine != "armv7l" and platform_machine != "aarch64"'
103107

104108
[tool.meta.packages."robotpy-cli"]
105-
max_version = "2026.0.0"
109+
max_version = "2028.0.0"
106110
min_version = "2024.0.0"
107111

108112
[tool.meta.packages."robotpy-commands-v2"]
109-
max_version = "2026.0.0"
110-
min_version = "2025.3.2"
113+
max_version = "2028.0.0"
114+
min_version = "2027.0.0a1"
111115

112116
[tool.meta.packages."robotpy-installer"]
113-
max_version = "2026.0.0"
114-
min_version = "2025.1.0"
115-
constraint = 'platform_machine != "roborio" and platform_machine != "armv7l" and platform_machine != "aarch64"'
117+
max_version = "2028.0.0"
118+
min_version = "2027.0.0a1"
119+
constraint = 'platform_machine != "systemcore" and platform_machine != "armv7l" and platform_machine != "aarch64"'
116120

117121
[tool.meta.packages."robotpy-wpilib-utilities"]
118-
max_version = "2026.0.0"
119-
min_version = "2025.0.0"
122+
max_version = "2028.0.0"
123+
min_version = "2027.0.0a1"
120124

121125

122126
#
123127
# Third party ]
124128
#
125129

126130
[tool.meta.packages."numpy"]
127-
version = "==2.2.1.*"
128-
constraint = "platform_machine == 'roborio'" # only require on RoboRIO
129-
130-
[tool.meta.packages."robotpy-opencv"]
131131
version = ""
132-
constraint = "platform_machine == 'roborio'" # only require on RoboRIO
132+
constraint = "platform_machine == 'systemcore'" # only require on systemcore
133+
134+
#[tool.meta.packages."robotpy-opencv"]
135+
#version = ""
136+
#constraint = "platform_machine == 'systemcore'" # only require on systemcore
133137

134138
[tool.meta.packages."invalid"]
135139
available = false

0 commit comments

Comments
 (0)