oliver-zehentleitner / maity

hub: make install takes the hashed locks as wheels only, as release-build does

Sign in to report

tsk-y38cxbv7b3v9 Open

From the Codex leg A1706 on #2049 (maity-review-codex-001#pcbf, seq 178780), P2: pip install --require-hashes -r requirements/dev.txt -r requirements/build.txt without --only-binary :all: builds a source distribution with pip's isolated build-dependency installer, which resolves unpinned build dependencies (seen with a hashed synthetic sdist). --no-build-isolation covers only the editable hub install. release-build already requires wheels (hub/Makefile, --only-binary :all:). #2049 fixes this for the new dev target only; the lead kept install out of it because CI runs make install (.github/workflows/ci.yml, the hub jobs).

Do: check whether every package in requirements/dev.txt and build.txt has a wheel for every CI platform and Python (3.11 minimum). If so, add --only-binary :all: to install too and say in hub/context/packaging.md (beside c43481ca) why install now matches release-build. If some package has no wheel, name it and propose how to pin its build path instead, before writing code.

Done when: make install cannot reach an unpinned build dependency; every hub CI job is green; packaging.md says it.