Skip to content

ci: bump PyPy 3.10 to 3.11 for hypothesis wheel build#14701

Open
Pierre-Sassoulas wants to merge 2 commits into
pytest-dev:mainfrom
Pierre-Sassoulas:fix-pypy311-hypothesis
Open

ci: bump PyPy 3.10 to 3.11 for hypothesis wheel build#14701
Pierre-Sassoulas wants to merge 2 commits into
pytest-dev:mainfrom
Pierre-Sassoulas:fix-pypy311-hypothesis

Conversation

@Pierre-Sassoulas

Copy link
Copy Markdown
Member

hypothesis 6.156.6 ships a Rust/pyo3 0.29 component whose minimum supported PyPy is 3.11. With no prebuilt wheel for pypy-3.10, pip builds from sdist and maturin fails with:

the configured PyPy interpreter version (3.10) is lower than PyO3's
minimum supported version (3.11)

The pin, to keep PyPy 3.10 would be

hypothesis>=3.56,<6.156; platform_python_implementation == "PyPy"

(6.155.7 is the last pure-Python release). No need for a changelog because this affect our test suite not pytest itself.

hypothesis 6.156.6 ships a Rust/pyo3 0.29 component whose minimum
supported PyPy is 3.11. With no prebuilt wheel for pypy-3.10, pip builds
from sdist and maturin fails with:

    the configured PyPy interpreter version (3.10) is lower than PyO3's
    minimum supported version (3.11)
@Pierre-Sassoulas Pierre-Sassoulas added the skip news used on prs to opt out of the changelog requirement label Jul 13, 2026
PyPy 3.11 rejects the octal escape sequence \223 in this str literal
with SyntaxError during pytest assertion rewrite. Hex escapes yield the
identical string value and parse cleanly on every interpreter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news used on prs to opt out of the changelog requirement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant