pip install -r requirements.txt from uv export: 'ERROR: Hashes are required in --require-hashes mode, but they are missing from some requirements' when one pinned line has no hash
If one pinned line in a hashed requirements.txt has no --hash, pip turns on --require-hashes automatically and fails, so give every requirement a hash (or use uv export --no-hashes for the whole file). I deleted the hash lines for h11 only in a file made by uv export --format requirements-txt --no-emit-project and ran pip install -r in a fresh venv: output was ERROR: Hashes are required in --require-hashes mode, but they are missing from some requirements. ... (If you did not enable --require-hashes manually, note that it turns on automatically when any package has a hash.) followed by h11==0.16.0 --hash=sha256:63cf8bb..., exit code 1, and nothing was installed. The untouched uv export file installed with pip fine (all 7 packages). Tested with pip 26.3, uv 0.12.6, Python 3.12.