Skip to content

Commit

Permalink
build: PyPy wheel now installs on 3.7, 3.8, and 3.9. #1510
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Dec 20, 2022
1 parent 6e04e4f commit 5c5caa2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/kit.yml
Expand Up @@ -78,6 +78,7 @@ jobs:
# # PYVERSIONS. Available versions:
# # https://github.com/actions/python-versions/blob/main/versions-manifest.json
# # Include prereleases if they are at rc stage.
# # PyPy versions are handled further below in the "pypy" step.
# pys = ["cp37", "cp38", "cp39", "cp310", "cp311"]
#
# # Some OS/arch combinations need overrides for the Python versions:
Expand Down Expand Up @@ -217,8 +218,7 @@ jobs:
- name: "Install PyPy"
uses: actions/setup-python@v4
with:
# PYVERSIONS
python-version: "pypy-3.7"
python-version: "pypy-3.7" # Minimum of PyPy PYVERSIONS
cache: pip
cache-dependency-path: 'requirements/*.pip'

Expand All @@ -228,9 +228,9 @@ jobs:
- name: "Build wheel"
run: |
# One wheel works for all PyPy versions.
# One wheel works for all PyPy versions. PYVERSIONS
# yes, this is weird syntax: https://github.com/pypa/build/issues/202
pypy3 -m build -w -C="--global-option=--python-tag" -C="--global-option=pp36.pp37.pp38"
pypy3 -m build -w -C="--global-option=--python-tag" -C="--global-option=pp37.pp38.pp39"
- name: "List wheels"
run: |
Expand Down
4 changes: 3 additions & 1 deletion CHANGES.rst
Expand Up @@ -20,7 +20,9 @@ development at the same time, such as 4.5.x and 5.0.
Unreleased
----------

Nothing yet.
- The PyPy wheel now installs on PyPy 3.7, 3.8, and 3.9, closing `issue 1510`_.

.. _issue 1510: https://github.com/nedbat/coveragepy/issues/1510


.. _changes_7-0-0:
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -29,7 +29,7 @@ Coverage.py runs on these versions of Python:
.. PYVERSIONS
* CPython 3.7 through 3.12.0a3
* PyPy3 7.3.9.
* PyPy3 7.3.10.

Documentation is on `Read the Docs`_. Code repository and issue tracker are on
`GitHub`_.
Expand Down
2 changes: 1 addition & 1 deletion doc/index.rst
Expand Up @@ -19,7 +19,7 @@ supported on:
.. PYVERSIONS
* Python versions 3.7 through 3.12.0a3.
* PyPy3 7.3.9.
* PyPy3 7.3.10.

.. ifconfig:: prerelease

Expand Down

0 comments on commit 5c5caa2

Please sign in to comment.