Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 11 additions & 60 deletions .github/workflows/dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,27 +48,17 @@ jobs:
matrix:
os:
- "ubuntu-24.04"
- "ubuntu-24.04-arm"
- "macos-15-intel" # x86_64
- "macos-14" # arm64
- "macos-15" # arm64
- "windows-2022"
python_version:
- '3.11'
- '3.12'
- '3.13'
- '3.14'
include:
- os: ubuntu-24.04-arm
python_version: '3.11'
container: python:3.11-bookworm
- os: ubuntu-24.04-arm
python_version: '3.12'
container: python:3.12-bookworm
- os: ubuntu-24.04-arm
python_version: '3.13'
container: python:3.13-bookworm
- os: ubuntu-24.04-arm
python_version: '3.14'
container: python:3.14-bookworm

container: ${{ startsWith(matrix.os, 'ubuntu-') && format('python:{0}-trixie', matrix.python_version) || '' }}

steps:
- uses: actions/checkout@v6
Expand Down Expand Up @@ -99,50 +89,13 @@ jobs:
run: |
python -m pip list

# Only need to test that the wheel installs

docker-test:
runs-on: ubuntu-24.04-arm
strategy:
matrix:
python_version:
- '3.11'
- '3.12'
- '3.13'
- '3.14'
container: python:${{ matrix.python_version }}-bookworm

steps:
- name: Download build artifacts
uses: actions/download-artifact@v8
with:
name: dist
path: dist

- name: Show installed packages
shell: bash
run: |
python -m pip list

- name: Install native wheel
shell: bash
working-directory: dist
run: |
WHEEL=$(ls *.whl)
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]

- name: Show installed packages
shell: bash
run: |
python -m pip list

cross-test:
runs-on: ubuntu-latest
needs: [build]
strategy:
matrix:
os:
- container: wpilib/systemcore-cross-ubuntu:2025-22.04-py313
- container: wpilib/systemcore-cross-debian:2026-trixie-py314
name: systemcore

# - container: wpilib/raspbian-cross-ubuntu:2025-bullseye-22.04-py39
Expand All @@ -161,7 +114,6 @@ jobs:

steps:
- uses: actions/checkout@v6
if: (inputs.enable_raspbian && startsWith(matrix.os.name, 'raspbian')) || (inputs.enable_roborio && matrix.os.name == 'roborio')

- name: Show installed packages
shell: bash
Expand All @@ -173,12 +125,11 @@ jobs:
name: dist
path: dist/

# TODO: fix crossenv (https://github.com/benfogle/crossenv/issues/126)
# - name: Install
# working-directory: dist
# run: |
# WHEEL=$(ls *.whl)
# /build/venv/bin/cross-pip --disable-pip-version-check install ${WHEEL}[all]
- name: Install
working-directory: dist
run: |
WHEEL=$(ls *.whl)
/build/venv/bin/cross-pip --disable-pip-version-check install ${WHEEL}[all]

- name: Show installed packages
shell: bash
Expand All @@ -187,7 +138,7 @@ jobs:

publish:
runs-on: ubuntu-latest
needs: [check, test, docker-test, cross-test]
needs: [check, test, cross-test]
permissions:
id-token: write
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ xrp = ["robotpy-xrp"]
#

[tool.meta.packages."mostrobotpy"]
version = "==2027.0.0a6.post1"
version = "==2027.0.0a7"

[tool.meta.packages."mostrobotpy-halsim-native"]
version = "==2027.0.0a6"
version = "==2027.0.0a7"

[tool.meta.packages."pyntcore"]
version = "mostrobotpy"
Expand Down Expand Up @@ -111,7 +111,7 @@ min_version = "2027.0.1b1"

[tool.meta.packages."robotpy-installer"]
max_version = "2028.0.0"
min_version = "2027.0.0a6"
min_version = "2027.0.0a9"
constraint = 'platform_machine != "systemcore" and platform_machine != "armv7l" and platform_machine != "aarch64"'

[tool.meta.packages."robotpy-wpilib-utilities"]
Expand Down