Pin Cython<3.3 for pyzmq source-build compat (3007.x) - #70119
Open
dwoz wants to merge 1 commit into
Open
Conversation
dwoz
force-pushed
the
dwoz/fix/cython-3.3-pin-3007x
branch
from
August 22, 2026 22:45
362430c to
5f51fb2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What broke
Cython 3.3.0 (published to PyPI 2026-08-22) rejects two variable redeclarations in pyzmq's Cython source:
pyzmq's
[build-system].requirespullscythonunpinned, so every PEP 517 source build of pyzmq (--no-binary=:all:onedir path intools/pkg/build.py) pulls Cython 3.3.0 and fails.PIP_CONSTRAINTis already set torequirements/constraints.txtand (per pip docs) still propagates to PEP 517 build envs on pip <26.2.Fix
Add
Cython < 3.3torequirements/constraints.txt. Build tooling only — no runtime deps or lock files change (Cython is a build-only dep, uv-pip-compile does not record it).Scope
requirements/constraints.txt: +7 lines (comment + pin)changelog/70119.fixed.mdNo runtime code touched.
Cross-branch
Same fix on all active branches: