Skip to content

Publish PyPy wheels in the c-code template - #462

Merged
icemac merged 2 commits into
masterfrom
publish-pypy-wheels
Oct 27, 2026
Merged

icemac merged 2 commits into
masterfrom
publish-pypy-wheels

Conversation

@icemac

@icemac icemac commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Build, test and publish PyPy wheels for macOS (arm64), Windows (x64) and manylinux (x86_64, i686, aarch64) for packages with with-pypy = true.

Verified with persistent: zopefoundation/persistent#241 (CI run produced PyPy wheels on all platforms and the PyPy test jobs passed).

Workaround for pypa/setuptools#5367 which shows up in our GitHub Actions runs.

@coveralls

coveralls commented Oct 26, 2026 •

Copy link
Copy Markdown

Coverage Report for CI Build 40292656207

Coverage increased (+0.6%) to 21.167%

Details

  • Coverage increased (+0.6%) from the base build.
  • Patch coverage: 16 of 16 lines across 1 file are fully covered (100%).
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 1496
Covered Lines: 410
Line Coverage: 27.41%
Relevant Branches: 526
Covered Branches: 18
Branch Coverage: 3.42%
Branches in Coverage %: Yes
Coverage Strength: 0.27 hits per line

💛 - Coveralls

@dataflake dataflake left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't really say much about anything related to Pypy. Never used it, don't see myself using it and wondering if anyone at all uses ZF packages with Pypy.

With that said, in other places I have seen you switch Pypy to 3.12 but here it's 3.11 again. Is that intentional?

@icemac

icemac commented Oct 27, 2026

Copy link
Copy Markdown
Member Author

I can't really say much about anything related to Pypy. Never used it, don't see myself using it and wondering if anyone at all uses ZF packages with Pypy.

I think @jamadden is using it. Yes, it sometimes feels like a burden but other times it also helps to find problems because it is a different interpreter. Zope 5 cannot use it because RestrictedPython cannot be made compatible with it (because of a design decision in PyPy which prevents setting a restricted set of builtins), so it is more of a niche usage.

With that said, in other places I have seen you switch Pypy to 3.12 but here it's 3.11 again. Is that intentional?

Yes, this is intentional, PyPy-3.12 is still a beta version and e.g. zope.password breaks against it: zopefoundation/zope.password#32 (It only ran there because zope.password was not up to date with zope.meta and thus did use a random PyPy version.) That's why: lets keep 3.11 as the version to be tested against. (I am loosely following the PyPy news, so I think I'll get informed when it is time to switch.)

@dataflake dataflake left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the detailed explanation!

@icemac
icemac merged commit 48e6145 into master Oct 27, 2026
15 checks passed
@icemac
icemac deleted the publish-pypy-wheels branch October 27, 2026 06:56
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.

3 participants