Repository navigation
Description
(Opus 5.5)
PyPy's next release, 8.1.0, ships Python 2.7 and 3.12 only. Its draft release notes (release-v8.1.0.rst, no date yet) say "We have dropped 3.11", and the 8.0.1 notes say that, barring security issues, 8.0.1 is the last release to support 3.11. Citry supports and tests only PyPy 3.11, so once 8.1.0 is out, someone installing the current PyPy gets no citry-core wheel and a Citry nobody has tested on it.
PyPy 8.1.0 will also carry the fix for pypy/pypy#5810, merged in pypy/pypy#5811 on the 3.12 branch only. With it, deep recursion through a C extension raises RecursionError instead of ending the process. That crash is behind some of Citry's PyPy limits and skipped tests.
There is nothing to do until 8.1.0 is released. Then:
-
Wheels.
py--citry-core--publish.ymlbuilds the PyPy wheel with--interpreter pypy3.11and smoke-tests it onpypy3.11-v7.x. Add a PyPy 3.12 wheel and smoke-test it on the released 8.1.0. PyO3 0.30.1, the version Citry pins, supports PyPy 3.12. The wheel tag question is already open in citry-core has no wheels for PyPy 8.0 #853: PyPy 8.0 reportspp80, while maturin buildspp73. PyPy 8.1.0 changes some C structs again, so check which tag it reports. PyPy's notes also say it will soon acceptcp312-abi3wheels; once it does, a stable-ABI wheel built for 3.12 could cover PyPy without a build of its own. -
Weekly CI.
py--alt-interpreters.ymlrunspypy3.11. Addpypy3.12, and decide whether to keeppypy3.11while PyPy 8.0.x is still in use. -
Skipped tests. On PyPy 8.1.0, run the two tests that test: skip or fix the five tests that fail on PyPy #851 skips with "PyPy's C-API layer crashes in this subprocess; see PyPy and free-threaded test failures left after #585 #708", both in
packages/py/citry/tests/test_events_pydantic_bounded.py:test_the_copy_of_a_chain_of_nested_models_is_built_on_a_thread_with_a_small_stacktest_deep_data_checked_from_a_thread_with_a_small_stack_is_refused
Nobody has shown yet that these crashes are the same bug as pypy#5810. If the tests pass on 8.1.0, skip them only on PyPy versions without the fix. Check PyPy: a long chain of nested model classes ends the process when Citry builds its validator copy #854 on 8.1.0 too.
-
Docs.
docs_site/content/about/compatibility.mdnames only PyPy 3.11, in "PyPy and free-threaded", in the line about which interpreters have wheels, and in "Differences on PyPy". Add 3.12. If the crash is gone on 8.1.0, say in "Differences on PyPy" and in the security page's "Event data on PyPy" section which PyPy version raisesRecursionErrorinstead of ending the process. The nesting limits stay for PyPy versions without the fix.
Related: #853 (wheel tags for PyPy 8.0), #854 and #708 (other PyPy failures), #851 (the skips).
Activity