Skip to content

Use PyPy 3.11 in CI#4146

Open
marko1olo wants to merge 1 commit into
mkdocs:masterfrom
marko1olo:fix-pypy39-hatch-cryptography
Open

Use PyPy 3.11 in CI#4146
marko1olo wants to merge 1 commit into
mkdocs:masterfrom
marko1olo:fix-pypy39-hatch-cryptography

Conversation

@marko1olo

@marko1olo marko1olo commented Jun 7, 2026

Copy link
Copy Markdown

The current PyPy 3.9 CI jobs can fail before MkDocs tests start while installing Hatch.

Two separate bootstrap issues show up with the old PyPy target:

  • latest cryptography no longer publishes PyPy 3.9 wheels, so pip falls back to a source build that now requires PyPy 3.11 through PyO3
  • on Windows, Hatch's zstandard dependency has no PyPy wheel for the old interpreter and the source build fails while looking for distutils.msvc9compiler

MkDocs already tests CPython 3.8 and 3.9 directly. Updating the PyPy leg to PyPy 3.11 keeps PyPy implementation coverage while using currently supported wheels for the CI bootstrap dependencies.

Local checks:

  • git diff --check
  • python -m pip install --dry-run --upgrade hatch
  • verified cryptography and backports-zstd resolve PyPy 3.11 wheels for manylinux_2_28_x86_64, win_amd64, and macosx_11_0_arm64

@marko1olo marko1olo force-pushed the fix-pypy39-hatch-cryptography branch from 727fa1a to 5198868 Compare June 7, 2026 14:55
@marko1olo marko1olo changed the title Pin cryptography for PyPy 3.9 CI bootstrap Use PyPy 3.11 in CI Jun 7, 2026
@marko1olo

Copy link
Copy Markdown
Author

Follow-up from the first run on the updated branch: the PyPy 3.11 bootstrap now gets past dependency installation successfully.

The remaining test failures I checked are the existing BuildTests.test_draft_docs_with_comments_from_user_guide baseline failure, not the Hatch/cryptography/zstandard install failure. For example, the PyPy 3.11 Ubuntu job installed hatch, cryptography-48.0.0, and backports-zstd-1.5.0, then failed later on other_unpublished.html in the draft docs test.

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.

1 participant