Skip to content

Commit

Permalink
docs: mention PyPy 3.11 support
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Feb 20, 2025
1 parent a311706 commit 1aecfa7
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/kit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ jobs:
run: |
# One wheel works for all PyPy versions. PYVERSIONS
# yes, this is weird syntax: https://github.com/pypa/build/issues/202
echo -e "[bdist_wheel]\npython_tag=pp39.pp310" > $DIST_EXTRA_CONFIG
echo -e "[bdist_wheel]\npython_tag=pp39.pp310.pp311" > $DIST_EXTRA_CONFIG
pypy3 -m build -w
- name: "List wheels"
Expand Down
17 changes: 8 additions & 9 deletions .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,14 @@ jobs:
- "3.14"
- "pypy-3.9"
- "pypy-3.10"
exclude:
# Windows pypy 3.9 and 3.10 get stuck with PyPy 7.3.15. I hope to
# unstick them, but I don't want that to block all other progress, so
# skip them for now. These excludes can be removed once GitHub uses
# PyPy 7.3.16 on Windows. https://github.com/pypy/pypy/issues/4876
- os: windows
python-version: "pypy-3.9"
- os: windows
python-version: "pypy-3.10"
- "pypy-3.11"
#
# If we need to exclude any combinations, do it like this:
# exclude:
# # Windows pypy 3.9 and 3.10 get stuck with PyPy 7.3.15.
# - os: windows
# python-version: "pypy-3.10"
#
# If we need to tweak the os version we can do it with an include like
# this:
# include:
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Unreleased
for passing in plugin objects directly, thanks to `Alex Gaynor <pull
1919_>`_.

- Confirmed support for PyPy 3.11. Thanks Michał Górny.

.. _pull 1919: https://github.com/nedbat/coveragepy/pull/1919


Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Coverage.py runs on these versions of Python:
.. PYVERSIONS
* Python 3.9 through 3.14 alpha 4, including free-threading.
* PyPy3 versions 3.9 and 3.10.
* PyPy3 versions 3.9, 3.10, and 3.11.

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
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ supported on:
.. PYVERSIONS
* Python 3.9 through 3.14 alpha 4, including free-threading.
* PyPy3 versions 3.9 and 3.10.
* PyPy3 versions 3.9, 3.10, and 3.11.

.. ifconfig:: prerelease

Expand Down
5 changes: 4 additions & 1 deletion tests/test_concurrency.py
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,10 @@ def on_sigterm(signum, frame):
signal.signal(signal.SIGTERM, on_sigterm)
x.value = 0
time.sleep(.1)
try:
time.sleep(.1)
except OSError: # This happens on PyPy3.11 on Mac
pass
print("END", flush=True)
if __name__ == "__main__":
Expand Down

0 comments on commit 1aecfa7

Please sign in to comment.