Skip to content

Commit 39bc6b0

Browse files
committed
docs: provide more details if the kit matrix is edited.
1 parent a608fb3 commit 39bc6b0

File tree

3 files changed

+18
-6
lines changed

3 files changed

+18
-6
lines changed

.github/workflows/kit.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
# $ piprepo build /tmp/pypi
1616
# $ python -m pip install -v coverage --index-url=file:///tmp/pypi/simple
1717
#
18-
# Note that cibuildwheel recommends not shipping wheels for pre-release versions
19-
# of Python: https://cibuildwheel.readthedocs.io/en/stable/options/#prerelease-pythons
20-
# So we don't.
2118

2219
name: "Kits"
2320

@@ -82,6 +79,9 @@ jobs:
8279
# }
8380
# # PYVERSIONS. Available versions: https://pypi.org/project/cibuildwheel/
8481
# # PyPy versions are handled further below in the "pypy" step.
82+
# # Note that cibuildwheel recommends not shipping wheels for pre-release versions
83+
# # of Python: https://cibuildwheel.readthedocs.io/en/stable/options/#enable
84+
#
8585
# pys = ["cp39", "cp310", "cp311", "cp312", "cp313"]
8686
#
8787
# # Some OS/arch combinations need overrides for the Python versions:
@@ -150,6 +150,12 @@ jobs:
150150
- {"os": "windows", "py": "cp312", "arch": "ARM64", "os-version": "11-arm", "minpy": "3.11"}
151151
- {"os": "windows", "py": "cp313", "arch": "ARM64", "os-version": "11-arm", "minpy": "3.11"}
152152
# [[[end]]] (checksum: ce8e88f33d7db22f1e21a767e3256a00)
153+
# ^^^^^^^^
154+
# If a check fails and points to this checksum line, it means you edited
155+
# the matrix directly instead of editing the Python code in the comment
156+
# above it. The matrix is generated by running cog as described at the
157+
# top of that comment.
158+
153159
fail-fast: false
154160

155161
steps:
@@ -165,7 +171,9 @@ jobs:
165171
cache: pip
166172
cache-dependency-path: 'requirements/*.pip'
167173

168-
# rust toolchain is not currently installed on windows arm64 images https://github.com/actions/partner-runner-images/issues/77
174+
# Rust toolchain is not currently installed on windows arm64 images.
175+
# We need it for nh3, needed by readme-renderer, needed by twine.
176+
# https://github.com/actions/partner-runner-images/issues/77
169177
- if: ${{ matrix.os-version == '11-arm' }}
170178
name: Setup rust
171179
id: setup-rust
@@ -174,7 +182,7 @@ jobs:
174182
Invoke-WebRequest https://static.rust-lang.org/rustup/dist/aarch64-pc-windows-msvc/rustup-init.exe -OutFile .\rustup-init.exe
175183
.\rustup-init.exe -y
176184
Add-Content $env:GITHUB_PATH "$env:USERPROFILE\.cargo\bin"
177-
185+
178186
- name: "Install tools"
179187
run: |
180188
python -m pip install -r requirements/kit.pip

CHANGES.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,11 @@ upgrading your version of coverage.py.
2323
Unreleased
2424
----------
2525

26-
Nothing yet.
26+
- Wheels are provided for Windows ARM64 on Python 3.11, 3.12, and 3.13.
27+
Thanks, `Finn Womack <pull 1972_>`_.
2728

29+
.. _issue 1971: https://github.com/nedbat/coveragepy/pull/1971
30+
.. _pull 1972: https://github.com/nedbat/coveragepy/pull/1972
2831

2932
.. start-releases
3033

CONTRIBUTORS.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ Emil Madsen
8686
Éric Larivière
8787
Federico Bond
8888
Felix Horvat
89+
Finn Womack
8990
Frazer McLean
9091
Geoff Bache
9192
George Paci

0 commit comments

Comments
 (0)