Skip to content

Commit 29a23b6

Browse files
gijzelaerrclaude
andcommitted
Remove macos-13 runner (retired) and complete uv migration
- Remove macos-13 from all workflow matrices (runner images retired) - Update remaining publish workflows to use uv instead of pip - Add Python 3.14 to publish workflow matrices - Fix Windows Python versions (3.10-3.14) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 7f5b4d3 commit 29a23b6

4 files changed

Lines changed: 27 additions & 19 deletions

File tree

.github/workflows/osx-build-test-amd64.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
osx-build:
1111
name: Build wheel for OSX
12-
runs-on: macos-13
12+
runs-on: macos-14
1313
steps:
1414
- name: Checkout
1515
uses: actions/checkout@v4
@@ -46,7 +46,7 @@ jobs:
4646
runs-on: ${{ matrix.os }}
4747
strategy:
4848
matrix:
49-
os: ["macos-13", "macos-14", "macos-15"]
49+
os: ["macos-14", "macos-15"]
5050
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
5151

5252
steps:

.github/workflows/osx-test-with-brew.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ]
12-
runs-on: ["macos-13", "macos-14", "macos-15"]
12+
runs-on: ["macos-14", "macos-15"]
1313

1414
runs-on: ${{ matrix.runs-on }}
1515
steps:

.github/workflows/publish-pypi.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ jobs:
5353
needs: publish-to-testpypi
5454
strategy:
5555
matrix:
56-
os: ["ubuntu-24.04"," ubuntu-22.04", "macos-13", "macos-14", "macos-15"]
57-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
56+
os: ["ubuntu-24.04", "ubuntu-22.04", "macos-14", "macos-15"]
57+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
5858
steps:
5959
- name: Checkout
6060
uses: actions/checkout@v4
@@ -64,19 +64,21 @@ jobs:
6464
with:
6565
python-version: ${{ matrix.python-version }}
6666

67+
- name: Install uv
68+
uses: astral-sh/setup-uv@v5
69+
6770
- name: install python-snap7
6871
run: |
69-
python3 -m venv venv
70-
venv/bin/pip install --upgrade pip
71-
venv/bin/pip install --extra-index-url https://test.pypi.org/simple/ python-snap7[test]
72+
uv venv venv
73+
uv pip install --python venv/bin/python --extra-index-url https://test.pypi.org/simple/ python-snap7[test]
7274
7375
test-pypi-package-windows:
7476
runs-on: ${{ matrix.os }}
7577
needs: publish-to-testpypi
7678
strategy:
7779
matrix:
7880
os: ["windows-2025", "windows-2022"]
79-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
81+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
8082
steps:
8183
- name: Checkout
8284
uses: actions/checkout@v4
@@ -86,7 +88,9 @@ jobs:
8688
with:
8789
python-version: ${{ matrix.python-version }}
8890

91+
- name: Install uv
92+
uses: astral-sh/setup-uv@v5
93+
8994
- name: install python-snap7
9095
run: |
91-
pip.exe install --upgrade pip
92-
pip.exe install --extra-index-url https://test.pypi.org/simple/ python-snap7[test]
96+
uv pip install --extra-index-url https://test.pypi.org/simple/ python-snap7[test]

.github/workflows/publish-test-pypi.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ jobs:
5656
needs: publish-to-testpypi
5757
strategy:
5858
matrix:
59-
os: ["ubuntu-24.04"," ubuntu-22.04", "macos-13", "macos-14", "macos-15"]
60-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
59+
os: ["ubuntu-24.04", "ubuntu-22.04", "macos-14", "macos-15"]
60+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
6161
steps:
6262
- name: Checkout
6363
uses: actions/checkout@v4
@@ -67,19 +67,21 @@ jobs:
6767
with:
6868
python-version: ${{ matrix.python-version }}
6969

70+
- name: Install uv
71+
uses: astral-sh/setup-uv@v5
72+
7073
- name: install python-snap7
7174
run: |
72-
python3 -m venv venv
73-
venv/bin/pip install --upgrade pip
74-
venv/bin/pip install --extra-index-url https://test.pypi.org/simple/ python-snap7[test]
75+
uv venv venv
76+
uv pip install --python venv/bin/python --extra-index-url https://test.pypi.org/simple/ python-snap7[test]
7577
7678
test-pypi-package-windows:
7779
runs-on: ${{ matrix.os }}
7880
needs: publish-to-testpypi
7981
strategy:
8082
matrix:
8183
os: ["windows-2025", "windows-2022"]
82-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
84+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
8385
steps:
8486
- name: Checkout
8587
uses: actions/checkout@v4
@@ -89,7 +91,9 @@ jobs:
8991
with:
9092
python-version: ${{ matrix.python-version }}
9193

94+
- name: Install uv
95+
uses: astral-sh/setup-uv@v5
96+
9297
- name: install python-snap7
9398
run: |
94-
pip.exe install --upgrade pip
95-
pip.exe install --extra-index-url https://test.pypi.org/simple/ python-snap7[test]
99+
uv pip install --extra-index-url https://test.pypi.org/simple/ python-snap7[test]

0 commit comments

Comments
 (0)