From 5c5caa2489bb939b4bbc2af474384f82a5da6407 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 20 Dec 2022 06:56:32 -0500 Subject: [PATCH] build: PyPy wheel now installs on 3.7, 3.8, and 3.9. #1510 --- .github/workflows/kit.yml | 8 ++++---- CHANGES.rst | 4 +++- README.rst | 2 +- doc/index.rst | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/kit.yml b/.github/workflows/kit.yml index f835786eb..fd1b3a307 100644 --- a/.github/workflows/kit.yml +++ b/.github/workflows/kit.yml @@ -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: @@ -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' @@ -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: | diff --git a/CHANGES.rst b/CHANGES.rst index 07ab8be62..53d171331 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -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: diff --git a/README.rst b/README.rst index 8a99b01a9..cf97e3c97 100644 --- a/README.rst +++ b/README.rst @@ -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`_. diff --git a/doc/index.rst b/doc/index.rst index 4de746375..4fcfc78be 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -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