From d79b2d5df18d256de778f298430d6fac38b0bd4e Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Mon, 13 Jul 2026 07:08:42 +0200 Subject: [PATCH 1/2] ci: bump PyPy 3.10 to 3.11 for hypothesis wheel build 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) --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 69b6c03d6a2..171ca3979a4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -223,7 +223,7 @@ jobs: use_coverage: true - name: "ubuntu-pypy3-xdist" - python: "pypy-3.10" + python: "pypy-3.11" os: ubuntu-latest tox_env: "pypy3-xdist" From 9e9baa8440b75040777af4805966beaf9e37e282 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Mon, 13 Jul 2026 07:35:26 +0200 Subject: [PATCH 2/2] test: use hex escapes for non-ASCII filename literal 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. --- testing/_py/test_local.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/_py/test_local.py b/testing/_py/test_local.py index be6f4197b26..a233b916ae6 100644 --- a/testing/_py/test_local.py +++ b/testing/_py/test_local.py @@ -1464,7 +1464,7 @@ def recfilter(x): x.chmod(y) def test_copy_archiving(self, tmpdir): - unicode_fn = "something-\342\200\223.txt" + unicode_fn = "something-\xe2\x80\x93.txt" f = tmpdir.ensure("a", unicode_fn) a = f.dirpath() oldmode = f.stat().mode