Skip to content

Commit e8e253c

Browse files
committed
build: don't need pypy wheels anymore. #2001
1 parent 11222ec commit e8e253c

File tree

3 files changed

+6
-47
lines changed

3 files changed

+6
-47
lines changed

.github/workflows/kit.yml

Lines changed: 1 addition & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ env:
3636
PIP_DISABLE_PIP_VERSION_CHECK: 1
3737
# PYVERSIONS: changing the list of versions will change the number of
3838
# expected distributions. This must match the same number in publish.yml.
39-
EXPECTED: 67
39+
EXPECTED: 66
4040

4141
permissions:
4242
contents: read
@@ -254,58 +254,13 @@ jobs:
254254
path: dist/*
255255
retention-days: 7
256256

257-
pypy:
258-
name: "PyPy wheel"
259-
runs-on: ubuntu-latest
260-
steps:
261-
- name: "Check out the repo"
262-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
263-
with:
264-
persist-credentials: false
265-
266-
- name: "Install PyPy"
267-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
268-
with:
269-
python-version: "pypy-3.9" # Minimum of PyPy PYVERSIONS
270-
cache: pip
271-
cache-dependency-path: 'requirements/*.pip'
272-
273-
- name: "Install requirements"
274-
run: |
275-
pypy3 -m pip install -r requirements/kit.pip
276-
277-
- name: "Build wheel"
278-
env:
279-
DIST_EXTRA_CONFIG: extra.cfg
280-
run: |
281-
# One wheel works for all PyPy versions. PYVERSIONS
282-
# yes, this is weird syntax: https://github.com/pypa/build/issues/202
283-
echo -e "[bdist_wheel]\npython_tag=pp39.pp310.pp311" > $DIST_EXTRA_CONFIG
284-
pypy3 -m build -w
285-
286-
- name: "List wheels"
287-
run: |
288-
ls -al dist/
289-
290-
- name: "Check wheels"
291-
run: |
292-
python -m twine check dist/*
293-
294-
- name: "Upload wheels"
295-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
296-
with:
297-
name: dist-pypy
298-
path: dist/*.whl
299-
retention-days: 7
300-
301257
sign:
302258
# This signs our artifacts, but we don't use the signatures for anything
303259
# yet. Someday maybe PyPI will have a way to upload and verify them.
304260
name: "Sign artifacts"
305261
needs:
306262
- wheels
307263
- non-binary
308-
- pypy
309264
runs-on: ubuntu-latest
310265
permissions:
311266
id-token: write

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ defaults:
1717
env:
1818
# PYVERSIONS: changing the list of versions will change the number of
1919
# expected distributions. This must match the same number in kit.yml.
20-
EXPECTED: 67
20+
EXPECTED: 66
2121

2222
permissions:
2323
contents: read

CHANGES.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,16 @@ Unreleased
4747
:ref:`config_json_output`, :ref:`config_lcov_output` and
4848
:ref:`config_run_debug_file`. This is now fixed.
4949

50+
- We no longer ship a PyPy-specific wheel. PyPy will install the pure-Python
51+
wheel. Closes `issue 2001`_.
52+
5053
.. _issue 310: https://github.com/nedbat/coveragepy/issues/310
5154
.. _issue 312: https://github.com/nedbat/coveragepy/issues/312
5255
.. _issue 831: https://github.com/nedbat/coveragepy/issues/831
5356
.. _issue 1308: https://github.com/nedbat/coveragepy/issues/1308
5457
.. _issue 1845: https://github.com/nedbat/coveragepy/issues/1845
5558
.. _issue 1941: https://github.com/nedbat/coveragepy/issues/1941
59+
.. _issue 2001: https://github.com/nedbat/coveragepy/issues/2001
5660

5761

5862
.. start-releases

0 commit comments

Comments
 (0)