Repository navigation
Commit b71c47a
committed
Use PIP_BUILD_CONSTRAINT for build-isolation Cython pin
PIP_CONSTRAINT (--constraint) only affects the outer install; pip does not
propagate it into PEP 517 build-isolation subprocesses. That's why the
previous fix appeared to be applied (env dump showed PIP_CONSTRAINT set)
but pyzmq's isolated build env still resolved Cython 3.3.0 and hit
'hint redeclared'.
The right knob is PIP_BUILD_CONSTRAINT (pip 24.2+, maps to --build-constraint),
which is what constrains build-isolation deps like Cython. Set both env vars
for safety, since the outer install pins pyzmq==exact-version anyway.1 parent 6c664cf commit b71c47a
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
311 | 316 | | |
312 | 317 | | |
313 | 318 | | |
| |||
372 | 377 | | |
373 | 378 | | |
374 | 379 | | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
375 | 385 | | |
376 | 386 | | |
377 | 387 | | |
| |||
534 | 544 | | |
535 | 545 | | |
536 | 546 | | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
537 | 552 | | |
538 | 553 | | |
539 | 554 | | |
| |||
0 commit comments