Skip to content

Drop PyPy from the CI test matrix - #2073

Merged
syssi merged 1 commit into
rytilahti:masterfrom
syssi:fix/upgrade-pypy-39-to-311
Jun 27, 2026
Merged

Drop PyPy from the CI test matrix#2073
syssi merged 1 commit into
rytilahti:masterfrom
syssi:fix/upgrade-pypy-39-to-311

Conversation

@syssi

@syssi syssi commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Problem

The pypy3.9 CI job fails because cryptography>=49 uses pyo3-ffi v0.29.0 which requires PyPy >= 3.11. There is no version of PyPy that satisfies all dependency constraints simultaneously:

  • cryptography has no prebuilt wheels for PyPy 3.11+ and source builds require pyo3 >= 0.23
  • pydantic-core dropped prebuilt PyPy 3.10 wheels in recent versions
  • Older cryptography versions (43.x) cap out at PyPy 3.10 via pyo3 0.22.2

Fix

Remove PyPy from the CI matrix. The Rust-based dependency ecosystem (cryptography, pydantic-core) no longer provides a stable PyPy target that works across all supported versions.

@syssi syssi changed the title ci: upgrade PyPy 3.9 to 3.11 in test matrix Upgrade PyPy 3.9 to 3.11 in CI test matrix Jun 26, 2026
@codecov

codecov Bot commented Jun 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.26%. Comparing base (507afce) to head (f6887c2).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2073   +/-   ##
=======================================
  Coverage   82.26%   82.26%           
=======================================
  Files         197      197           
  Lines       19145    19145           
  Branches     1052     1052           
=======================================
  Hits        15750    15750           
  Misses       3218     3218           
  Partials      177      177           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@syssi
syssi force-pushed the fix/upgrade-pypy-39-to-311 branch from 018234f to b4c0e22 Compare June 26, 2026 16:42
@syssi syssi changed the title Upgrade PyPy 3.9 to 3.11 in CI test matrix ci: upgrade PyPy 3.9 to 3.10 in test matrix Jun 26, 2026
cryptography has no prebuilt wheels for PyPy 3.11+ and source builds
fail because pyo3 dropped PyPy 3.10 support in newer versions. There
is no PyPy version that satisfies all dependency constraints.
@syssi
syssi force-pushed the fix/upgrade-pypy-39-to-311 branch from b4c0e22 to f6887c2 Compare June 26, 2026 16:47
@syssi syssi changed the title ci: upgrade PyPy 3.9 to 3.10 in test matrix ci: drop PyPy from the test matrix Jun 26, 2026
@syssi syssi changed the title ci: drop PyPy from the test matrix Drop PyPy from the CI test matrix Jun 26, 2026
@syssi

syssi commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator Author

@rytilahti Could you remove the job (Python pypy3.9 on ubuntu-latest) from the branch protection rules? Thanks in advance!

@syssi
syssi requested a review from rytilahti June 26, 2026 16:51
@rytilahti

Copy link
Copy Markdown
Owner

@syssi done! thanks for working on getting things cleaned up! Python 3.9 support should be dropped completely as it is end-of-life already (https://devguide.python.org/versions/), I would say that (at least) 3.10 can also go as its support ends later this year.

We can take a look at the usage data to see which versions are used by the people downloading the current release (looks like it is still being actively downloaded :o), and maybe consider modernizing our target to be even newer than that.

@syssi

syssi commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator Author

Let's drop the end-of-life python versions in a dedicated pull request after the official 0.6.0 release.

@syssi
syssi merged commit a2bf28e into rytilahti:master Jun 27, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants