Skip to content

Commit af718f8

Browse files
authored
feat: Add 3.14 builds (#212)
* Add 3.14 builds * refactor and comment * Add back '8' in the matrix * Fix indentation * Respond to review comments * Add diag to better inform users * Raise ex instead of exit thread for finalization * Less verbose macro names
1 parent 3453723 commit af718f8

File tree

7 files changed

+104
-65
lines changed

7 files changed

+104
-65
lines changed

.github/docker/docker-bake.hcl

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ group "default" {
44
"python-310-linux",
55
"python-311-linux",
66
"python-312-linux",
7-
"python-313-linux"
7+
"python-313-linux",
8+
"python-314-linux"
89
]
910
}
1011

@@ -63,3 +64,12 @@ target "python-313-linux" {
6364
PYTHON_TAG = "3.13-${DEBIAN_BASE}"
6465
}
6566
}
67+
68+
target "python-314-linux" {
69+
inherits = [ "shared" ]
70+
args = {
71+
DEBIAN_BASE = "bookworm"
72+
# For Python 3.14, only Debian Bookworm and above is supported
73+
PYTHON_TAG = "3.14-bookworm"
74+
}
75+
}

.github/env/Linux/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
setuptools
22
wheel
3+
auditwheel>=6.4.2; python_version >= '3.14'
34
auditwheel>=6.1.0; python_version >= '3.13'
45
auditwheel>=6.0.0; python_version >= '3.8'
56
auditwheel>=5.4.0; python_version == '3.7'

.github/workflows/build.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-24.04
2626
steps:
2727
- uses: actions/checkout@v5
28-
- uses: actions/setup-python@v5
28+
- uses: actions/setup-python@v6
2929
# TODO: sdist shouldn't need java
3030
- uses: actions/setup-java@v5
3131
id: setup-java
@@ -53,22 +53,28 @@ jobs:
5353
# less likely to be used on older Linux distributions.
5454
- { machine: 'ubuntu-22.04', python: '3.13t', arch: 'amd64', cmd: '.github/env/Linux/bdist-wheel.sh' }
5555
- { machine: 'ubuntu-22.04-arm', python: '3.13t', arch: 'arm64', cmd: '.github/env/Linux/bdist-wheel.sh' }
56+
- { machine: 'ubuntu-22.04', python: '3.14t', arch: 'amd64', cmd: '.github/env/Linux/bdist-wheel.sh' }
57+
- { machine: 'ubuntu-22.04-arm', python: '3.14t', arch: 'arm64', cmd: '.github/env/Linux/bdist-wheel.sh' }
5658

5759
- { machine: 'windows-2022', python: '3.9', arch: 'amd64', cmd: '.\.github\env\Windows\bdist-wheel.ps1' }
5860
- { machine: 'windows-2022', python: '3.10', arch: 'amd64', cmd: '.\.github\env\Windows\bdist-wheel.ps1' }
5961
- { machine: 'windows-2022', python: '3.11', arch: 'amd64', cmd: '.\.github\env\Windows\bdist-wheel.ps1' }
6062
- { machine: 'windows-2022', python: '3.12', arch: 'amd64', cmd: '.\.github\env\Windows\bdist-wheel.ps1' }
6163
- { machine: 'windows-2022', python: '3.13', arch: 'amd64', cmd: '.\.github\env\Windows\bdist-wheel.ps1' }
6264
- { machine: 'windows-2022', python: '3.13t', arch: 'amd64', cmd: '.\.github\env\Windows\bdist-wheel.ps1' }
65+
- { machine: 'windows-2022', python: '3.14', arch: 'amd64', cmd: '.\.github\env\Windows\bdist-wheel.ps1' }
66+
- { machine: 'windows-2022', python: '3.14t', arch: 'amd64', cmd: '.\.github\env\Windows\bdist-wheel.ps1' }
6367

6468
- { machine: 'macos-13', python: '3.11', arch: 'amd64', cmd: '.github/env/macOS/bdist-wheel.sh' }
6569
- { machine: 'macos-13', python: '3.12', arch: 'amd64', cmd: '.github/env/macOS/bdist-wheel.sh' }
6670
- { machine: 'macos-13', python: '3.13', arch: 'amd64', cmd: '.github/env/macOS/bdist-wheel.sh' }
6771
- { machine: 'macos-13', python: '3.13t', arch: 'amd64', cmd: '.github/env/macOS/bdist-wheel.sh' }
72+
- { machine: 'macos-13', python: '3.14', arch: 'amd64', cmd: '.github/env/macOS/bdist-wheel.sh' }
73+
- { machine: 'macos-13', python: '3.14t', arch: 'amd64', cmd: '.github/env/macOS/bdist-wheel.sh' }
6874
steps:
6975
- uses: actions/checkout@v5
7076

71-
- uses: actions/setup-python@v5
77+
- uses: actions/setup-python@v6
7278
with:
7379
python-version: ${{ matrix.info.python }}
7480

.github/workflows/check.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
runs-on: ubuntu-22.04
1212
strategy:
1313
matrix:
14-
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
14+
python: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
1515
java: ['8', '11', '17', '21', '23']
1616
steps:
1717
- uses: actions/checkout@v5
1818

19-
- uses: actions/setup-python@v5
19+
- uses: actions/setup-python@v6
2020
with:
2121
python-version: ${{ matrix.python }}
2222

@@ -44,7 +44,7 @@ jobs:
4444
runs-on: ubuntu-22.04
4545
strategy:
4646
matrix:
47-
python: ['3.13t']
47+
python: ['3.13t', '3.14t']
4848
java: ['8', '11', '17', '21', '23']
4949
steps:
5050
- uses: actions/checkout@v5
@@ -54,7 +54,7 @@ jobs:
5454
distribution: 'temurin'
5555
java-version: ${{ matrix.java }}
5656

57-
- uses: astral-sh/setup-uv@v5
57+
- uses: astral-sh/setup-uv@v7
5858
- run: |
5959
uv python install ${{ matrix.python }}
6060
uv venv --python ${{ matrix.python }}

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,4 +386,5 @@ def run(self):
386386
'Programming Language :: Python :: 3.11',
387387
'Programming Language :: Python :: 3.12',
388388
'Programming Language :: Python :: 3.13',
389+
'Programming Language :: Python :: 3.14',
389390
])

0 commit comments

Comments
 (0)