Skip to content

Commit 8a80889

Browse files
committed
add pypy312 support
1 parent 9ee265d commit 8a80889

8 files changed

Lines changed: 18 additions & 16 deletions

File tree

‎.github/workflows/main.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ jobs:
9999
- check-py312-cover
100100
- check-py312-nocover
101101
- check-py312-niche
102+
- check-pypy312-cover
102103
- check-py313-cover
103104
- check-py313-nocover
104105
- check-py313-niche

‎.gitignore‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ CLAUDE.local.md
3131
.runtimes
3232
/hypothesis/branch-check*
3333
/pythonpython3.*
34-
/pythonpypy3.*
34+
/pythonpypy3*
3535
.pyodide-xbuildenv
3636

3737
# rust

‎hypothesis/RELEASE.rst‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
RELEASE_TYPE: patch
22

3-
This patch updates our vendored `list of top-level domains <https://www.iana.org/domains/root/db>`__,
4-
which is used by the provisional :func:`~hypothesis.provisional.domains` strategy.
3+
This patch adds support for PyPy 3.12.

‎hypothesis/docs/compatibility.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ We use custom exception and warning types, so you can see exactly where an error
3131
Python versions
3232
---------------
3333

34-
Hypothesis is supported and tested on CPython and PyPy 3.10+, i.e. all Python versions `that are still supported <https://devguide.python.org/versions/>`_.
34+
Hypothesis is supported and tested on CPython and PyPy 3.11+, i.e. all Python versions `that are still supported <https://devguide.python.org/versions/>`_.
3535
32-bit builds of CPython also work, though we only test them on Windows.
3636

3737
Hypothesis does not officially support anything except the latest patch release of each supported Python version. We will fix bugs in earlier patch releases if reported, but they're not tested in CI and no guarantees are made.

‎hypothesis/rust/Cargo.lock‎

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎hypothesis/rust/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ publish = false
99
crate-type = ["cdylib"]
1010

1111
[dependencies]
12-
pyo3 = "0.29.2"
12+
pyo3 = "0.29.3"
1313

1414
[features]
1515
abi3 = ["pyo3/abi3-py310"]

‎hypothesis/tests/cover/test_monitoring.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
from hypothesis import given, strategies as st
1717
from hypothesis.errors import HypothesisWarning
18+
from hypothesis.internal.compat import PYPY
1819
from hypothesis.internal.scrutineer import MONITORING_TOOL_ID
1920

2021

@@ -28,6 +29,7 @@ def using_tool_id(tool_id, tool_name):
2829

2930

3031
@pytest.mark.skipif(sys.version_info[:2] < (3, 12), reason="new namespace")
32+
@pytest.mark.skipif(PYPY, reason="scrutineer is disabled on PyPy")
3133
def test_monitoring_warns_on_registered_tool_id(warns_or_raises):
3234

3335
# scrutineer can't run if something has already registered its tool id.

‎hypothesis/tox.ini‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{310,py310,311,py311,312,313,314,314t,315,315t}-{brief,full,cover,rest,nocover,niche,custom}
2+
envlist = py{310,py310,311,py311,312,py312,313,314,314t,315,315t}-{brief,full,cover,rest,nocover,niche,custom}
33
toxworkdir={env:TOX_WORK_DIR:.tox}
44
# Create virtualenvs and resolve Python interpreters with uv (via tox-uv).
55
requires = tox-uv>=1.35

0 commit comments

Comments
 (0)