pex without pypi - workaround for not supporting --hashes? #1360
Answered
by
jsirois
electroniceagle
asked this question in
Q&A
-
Is it possible to compile from an already fetched .venv without pex reaching out to pypi? I've tried --no-index and ---inherit-path but not having a lot of luck. Since pex doesn't appear to support a requirements.txt file with hashes, how does one know the pex file created contains the packages you scanned and tested? |
Beta Was this translation helpful? Give feedback.
Answered by
jsirois
Jun 14, 2021
Replies: 1 comment 3 replies
-
So, Pex does support anything Pip supports in a requirements file including hashes:
Then if I edit requirements.txt to give it a bad hash:
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
electroniceagle
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So, Pex does support anything Pip supports in a requirements file including hashes: