Skip to content

Commit 1ac6c41

Browse files
zasphw
authored andcommitted
Use Python >= 3.13.5 as 3.13.4 has an annoying bug
Fix artifacts naming so we can use an interval python/cpython#135151
1 parent e5cacca commit 1ac6c41

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-8
lines changed

.github/workflows/package-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Set up Python
3333
uses: actions/setup-python@v5
3434
with:
35-
python-version: 3.13
35+
python-version: '>=3.13.5 <3.14'
3636
cache: 'pip'
3737
cache-dependency-path: |
3838
requirements-build.txt

.github/workflows/package-pypi.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v4
1717
- uses: actions/setup-python@v5
1818
with:
19-
python-version: 3.13
19+
python-version: '>=3.13.5 <3.14'
2020
cache: 'pip'
2121
- name: Install dependencies (Linux)
2222
if: runner.os == 'linux'
@@ -78,14 +78,17 @@ jobs:
7878
fail-fast: false
7979
matrix:
8080
os: [macos-13, windows-2019]
81-
python-version: ['3.10', '3.11', '3.12', '3.13']
81+
python-version: ['3.10', '3.11', '3.12', '>=3.13.5 <3.14']
8282
steps:
8383
- uses: actions/checkout@v4
8484
- name: Set up Python ${{ matrix.python-version }}
8585
uses: actions/setup-python@v5
86+
id: setup
8687
with:
8788
python-version: ${{ matrix.python-version }}
8889
cache: 'pip'
90+
- name: Python Version
91+
run: echo 'Python ${{ steps.setup.outputs.python-version }}'
8992
- name: Install gettext (Windows)
9093
if: runner.os == 'Windows'
9194
run: |
@@ -116,6 +119,6 @@ jobs:
116119
- name: Upload artifacts
117120
uses: actions/upload-artifact@v4
118121
with:
119-
name: picard-bdist-${{ runner.os }}-${{ matrix.python-version }}
122+
name: picard-bdist-${{ runner.os }}-${{ steps.setup.outputs.python-version }}
120123
path: dist/*.whl
121124

.github/workflows/package-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set up Python
2727
uses: actions/setup-python@v5
2828
with:
29-
python-version: 3.13
29+
python-version: '>=3.13.5 <3.14'
3030
cache: 'pip'
3131
cache-dependency-path: |
3232
requirements-build.txt

.github/workflows/package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
- uses: actions/checkout@v4
8383
- uses: actions/setup-python@v5
8484
with:
85-
python-version: 3.13
85+
python-version: '>=3.13.5 <3.14'
8686
- uses: actions/download-artifact@v4
8787
with:
8888
name: macos-app-11.0-x86_64

.github/workflows/run-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
os: [macos-13, ubuntu-latest, windows-2019]
12-
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14.0-beta.2']
12+
python-version: ['3.10', '3.11', '3.12', '>=3.13.5 <3.14', '3.14.0-beta.2']
1313
exclude:
1414
# FIXME: Python 3.14 builds on Windows and macOS excluded until
1515
# pywin32 and pyobjc add support for this new version.
@@ -97,7 +97,7 @@ jobs:
9797
strategy:
9898
matrix:
9999
os: [macos-13, ubuntu-latest, windows-latest]
100-
python-version: ['3.10', '3.13']
100+
python-version: ['3.10', '>=3.13.5 <3.14']
101101

102102
steps:
103103
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)