Commit cea3935
Move CI to PyPy 3.11, raise minimum Python to 3.11
CI is currently red on every leg. The dependency chain
sqlalchemy-stubs 0.4 -> mypy 2.3.0 -> ast-serialize 0.6.0 (a Rust/PyO3
extension) requires Python >= 3.11, so installation fails outright on
pypy3.9, pypy3.10 and CPython 3.9:
error: the configured PyPy interpreter version (3.10) is lower than
PyO3's minimum supported version (3.11)
Raise the floor to 3.11 across the board and move PyPy to 3.11
(PyPy 7.3.23 / Python 3.11.15, released 2026-05-26).
- .github/workflows/python-package.yml: matrix ["3.9", "3.12", "pypy3.9",
"pypy3.10"] -> ["3.11", "3.12", "pypy3.11"]. Verified that pypy3.11 resolves
in the PyPy release index that actions/setup-python reads
(downloads.python.org/pypy/versions.json lists 3.11.15 / 7.3.23 as stable).
- README.md: badge and stated minimum 3.9 -> 3.11; note PyPy 3.11 as the
supported PyPy version.
- docs/setup_linux.md: install PyPy 3.11; update the download URL to
pypy3.11-v7.3.23-linux64.tar.gz. Note the archive is now .tar.gz, not the
.tar.bz2 that older PyPy releases shipped.
- docs/setup_macos.md: PyPy 3.9 -> PyPy 3.11.
- .gitignore: replace the pypy39/pypy310 entries with pypy311.
vectors/ is deliberately untouched. It is a separate CPython environment
(currently 3.9.4, with gensim 3.8.2 from 2019) that the main app's minimum
does not govern, and there is no evidence that stack builds on 3.11. Treat
modernising it as separate work.
Both new URLs verified to return HTTP 200. The shell scripts under scripts/
reference 'venv/' generically and need no change.
Known unrelated failure: tests/test_queries.py::test_currency fails on
CPython 3.12 with dependencies installed successfully, so it is independent
of the interpreter change and will need fixing separately for a fully green
build.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 3e6eebe commit cea3935
5 files changed
Lines changed: 9 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
| 128 | + | |
130 | 129 | | |
131 | 130 | | |
132 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
| 59 | + | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments