Skip to content

Commit 1904c83

Browse files
committed
skill: pass the full manylinux ladder in the pip --platform rehearsal
gotcha 422's off-target resolution recipe passes only manylinux_2_39 and 2_38. pip matches --platform literally, so any RISE wheel tagged only with an older glibc (tokenizers is manylinux_2_34) looks missing, and the openviking rehearsal reported a litellm ResolutionImpossible that CI never hits.
1 parent 9db6600 commit 1904c83

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎skills/python-project-porting/references/gotchas/dependencies-and-registry.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -805,6 +805,13 @@ To pull up one entry: `grep -n '^N\. ' references/gotchas/dependencies-and-regis
805805
exact versions: a pip running on an older interpreter than `--python-version`
806806
backtracks past wheels whose `Requires-Python` excludes the *running* one (pip
807807
24.0 on 3.11 walked numpy 2.5.3 → 2.4.3 with `--python-version 3.12`).
808+
- **Pass the whole manylinux ladder, not just 2_39/2_38.** `--platform` is matched
809+
literally and never expands to older glibc tags, and plenty of RISE wheels carry
810+
only an older one: `tokenizers-0.22.2-cp39-abi3-manylinux_2_34_riscv64.whl`. With
811+
two tags, the openviking rehearsal reported `tokenizers ... (from versions: none)`
812+
and a litellm `ResolutionImpossible` that CI never hits. Generate one
813+
`--platform manylinux_2_${m}_riscv64` for every `m` from 39 down to 17, plus
814+
`linux_riscv64`.
808815
809816
482. **`pypi.riseproject.dev/simple/<dep>/` is case-sensitive, so gotcha 30/353's check —
810817
and `ci_scripts/queue_triage.py --deps`, which passes `requires_dist` names raw —

0 commit comments

Comments
 (0)