Skip to content

Commit ebbb6a2

Browse files
committed
build: wheels for 3.13rc1
1 parent 3872525 commit ebbb6a2

File tree

4 files changed

+23
-11
lines changed

4 files changed

+23
-11
lines changed

.github/workflows/kit.yml

+19-8
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,9 @@ jobs:
7777
# "macos": ["arm64", "x86_64"],
7878
# "windows": ["x86", "AMD64"],
7979
# }
80-
# # PYVERSIONS. Available versions:
81-
# # https://github.com/actions/python-versions/blob/main/versions-manifest.json
80+
# # PYVERSIONS. Available versions: https://pypi.org/project/cibuildwheel/
8281
# # PyPy versions are handled further below in the "pypy" step.
83-
# pys = ["cp38", "cp39", "cp310", "cp311", "cp312"]
82+
# pys = ["cp38", "cp39", "cp310", "cp311", "cp312", "cp313"]
8483
#
8584
# # Some OS/arch combinations need overrides for the Python versions:
8685
# os_arch_pys = {
@@ -107,37 +106,44 @@ jobs:
107106
- {"os": "ubuntu", "py": "cp310", "arch": "x86_64"}
108107
- {"os": "ubuntu", "py": "cp311", "arch": "x86_64"}
109108
- {"os": "ubuntu", "py": "cp312", "arch": "x86_64"}
109+
- {"os": "ubuntu", "py": "cp313", "arch": "x86_64"}
110110
- {"os": "ubuntu", "py": "cp38", "arch": "i686"}
111111
- {"os": "ubuntu", "py": "cp39", "arch": "i686"}
112112
- {"os": "ubuntu", "py": "cp310", "arch": "i686"}
113113
- {"os": "ubuntu", "py": "cp311", "arch": "i686"}
114114
- {"os": "ubuntu", "py": "cp312", "arch": "i686"}
115+
- {"os": "ubuntu", "py": "cp313", "arch": "i686"}
115116
- {"os": "ubuntu", "py": "cp38", "arch": "aarch64"}
116117
- {"os": "ubuntu", "py": "cp39", "arch": "aarch64"}
117118
- {"os": "ubuntu", "py": "cp310", "arch": "aarch64"}
118119
- {"os": "ubuntu", "py": "cp311", "arch": "aarch64"}
119120
- {"os": "ubuntu", "py": "cp312", "arch": "aarch64"}
121+
- {"os": "ubuntu", "py": "cp313", "arch": "aarch64"}
120122
- {"os": "macos", "py": "cp38", "arch": "arm64", "os-version": "13"}
121123
- {"os": "macos", "py": "cp39", "arch": "arm64", "os-version": "13"}
122124
- {"os": "macos", "py": "cp310", "arch": "arm64", "os-version": "13"}
123125
- {"os": "macos", "py": "cp311", "arch": "arm64", "os-version": "13"}
124126
- {"os": "macos", "py": "cp312", "arch": "arm64", "os-version": "13"}
127+
- {"os": "macos", "py": "cp313", "arch": "arm64", "os-version": "13"}
125128
- {"os": "macos", "py": "cp38", "arch": "x86_64", "os-version": "13"}
126129
- {"os": "macos", "py": "cp39", "arch": "x86_64", "os-version": "13"}
127130
- {"os": "macos", "py": "cp310", "arch": "x86_64", "os-version": "13"}
128131
- {"os": "macos", "py": "cp311", "arch": "x86_64", "os-version": "13"}
129132
- {"os": "macos", "py": "cp312", "arch": "x86_64", "os-version": "13"}
133+
- {"os": "macos", "py": "cp313", "arch": "x86_64", "os-version": "13"}
130134
- {"os": "windows", "py": "cp38", "arch": "x86"}
131135
- {"os": "windows", "py": "cp39", "arch": "x86"}
132136
- {"os": "windows", "py": "cp310", "arch": "x86"}
133137
- {"os": "windows", "py": "cp311", "arch": "x86"}
134138
- {"os": "windows", "py": "cp312", "arch": "x86"}
139+
- {"os": "windows", "py": "cp313", "arch": "x86"}
135140
- {"os": "windows", "py": "cp38", "arch": "AMD64"}
136141
- {"os": "windows", "py": "cp39", "arch": "AMD64"}
137142
- {"os": "windows", "py": "cp310", "arch": "AMD64"}
138143
- {"os": "windows", "py": "cp311", "arch": "AMD64"}
139144
- {"os": "windows", "py": "cp312", "arch": "AMD64"}
140-
# [[[end]]] (checksum: 16ed28c185d540b2d9972a0217864472)
145+
- {"os": "windows", "py": "cp313", "arch": "AMD64"}
146+
# [[[end]]] (checksum: e0cd49f4a0028c4fdf1036e9bc843075)
141147
fail-fast: false
142148

143149
steps:
@@ -164,10 +170,11 @@ jobs:
164170
165171
- name: "Build wheels"
166172
env:
167-
CIBW_BUILD: ${{ matrix.py }}-*
173+
CIBW_BUILD: ${{ matrix.py }}*-*
168174
CIBW_ARCHS: ${{ matrix.arch }}
169175
CIBW_ENVIRONMENT: PIP_DISABLE_PIP_VERSION_CHECK=1
170176
CIBW_PRERELEASE_PYTHONS: True
177+
CIBW_FREE_THREADED_SUPPORT: True
171178
CIBW_TEST_COMMAND: python -c "from coverage.tracer import CTracer; print('CTracer OK!')"
172179
run: |
173180
python -m cibuildwheel --output-dir wheelhouse
@@ -285,6 +292,12 @@ jobs:
285292
pattern: dist-*
286293
merge-multiple: true
287294

295+
- name: "List distributions"
296+
run: |
297+
ls -alR
298+
echo "Number of dists, there should be 72:"
299+
ls -1 coverage-* | wc -l
300+
288301
- name: "Sign artifacts"
289302
uses: sigstore/gh-action-sigstore-python@f514d46b907ebcd5bedc05145c03b69c1edd8b46 # v3.0.0
290303
with:
@@ -299,7 +312,5 @@ jobs:
299312
with:
300313
name: signatures
301314
path: |
302-
*.crt
303-
*.sig
304-
*.sigstore
315+
*.sigstore.json
305316
retention-days: 7

.github/workflows/publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
- name: "What did we get?"
6969
run: |
7070
ls -alR
71-
echo "Number of dists:"
71+
echo "Number of dists, should be 72:"
7272
ls -1 dist | wc -l
7373
7474
- name: "Generate attestations"
@@ -107,7 +107,7 @@ jobs:
107107
- name: "What did we get?"
108108
run: |
109109
ls -alR
110-
echo "Number of dists:"
110+
echo "Number of dists, should be 72:"
111111
ls -1 dist | wc -l
112112
113113
- name: "Generate attestations"

CHANGES.rst

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ Unreleased
3030
- Fix: backslashes preceding a multi-line backslashed string could confuse the
3131
HTML report. This is now fixed, thanks to `LiuYinCarl <pull 1828_>`_.
3232

33+
- Now we publish wheels for Python 3.13, both regular and free-threaded.
34+
3335
.. _pull 1819: https://github.com/nedbat/coveragepy/pull/1819
3436
.. _pull 1828: https://github.com/nedbat/coveragepy/pull/1828
3537

howto.txt

-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
- Kits:
5353
- Wait for kits to finish:
5454
- https://github.com/nedbat/coveragepy/actions/workflows/kit.yml
55-
- there should be 52
5655
- test the pypi upload:
5756
$ make test_upload
5857
- you'll need to approve the action

0 commit comments

Comments
 (0)