Repository navigation
Commit 6c664cf
committed
Fix Verify Builds broken by Cython 3.3.0 pyzmq incompatibility
Cython 3.3.0 (released 2026-08-22) tightened pure-Python-mode name-conflict
detection and rejects pyzmq's `hint: pointer(_zhint) = cast(...)` in
zmq/backend/cython/_zmq.py with "'hint' redeclared". This breaks
pip-installing pyzmq <=26.4.0 from source, since pyzmq's isolated build env
resolves cython>=3.0.0 to the newest available. Fixed upstream in pyzmq 27.x.
- Add pyzmq 27.2.0 to test_pip_install_pyzmq to cover the current
latest-pyzmq + latest-Cython combination.
- Set PIP_CONSTRAINT=cython<3.3 on the older pyzmq parametrize cells
(23.2.0, 25.1.2, 26.2.0, 26.4.0) so their isolated build env picks
Cython 3.2.9 and still compiles. Set AFTER the `env = os.environ.copy()`
reset later in the function so it survives to the pyzmq install subprocess.
- Same constraint on test_pip_install_salt_w_static_requirements and
test_pip_install_salt_w_package_requirements: Salt 3006.x's requirements
pin pyzmq 26.4.0, which we can't change, so the transitive build otherwise
fails.
- Xfail pyzmq 27.2.0 on Windows: --no-binary=:all: forces the isolated build
env to build Cython 3.3.0 from source too, and MSVC hits
"fatal error C1083: Cannot open compiler generated file: '': Invalid argument"
when pip's isolated tempdir path exceeds Windows' effective path limit.1 parent aaa99ac commit 6c664cf
1 file changed
Lines changed: 35 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
305 | 312 | | |
306 | 313 | | |
307 | 314 | | |
| |||
360 | 367 | | |
361 | 368 | | |
362 | 369 | | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
363 | 376 | | |
364 | 377 | | |
365 | 378 | | |
| |||
430 | 443 | | |
431 | 444 | | |
432 | 445 | | |
| 446 | + | |
433 | 447 | | |
434 | 448 | | |
435 | 449 | | |
| |||
482 | 496 | | |
483 | 497 | | |
484 | 498 | | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
485 | 507 | | |
486 | 508 | | |
487 | 509 | | |
| |||
501 | 523 | | |
502 | 524 | | |
503 | 525 | | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
504 | 539 | | |
505 | 540 | | |
506 | 541 | | |
| |||
0 commit comments