Last active
November 24, 2016 00:34
-
-
Save odyssey4me/d8acc9888cc206818e21e059f28b3576 to your computer and use it in GitHub Desktop.
pip wheel does not respect requirements when given constraints - it appears to take the packages to build from requirements.txt, but ignores the version spec in requirements.txt and uses the one in constraints.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setuptools<=25.1.3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setuptools==25.1.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@master1:~# pip wheel -r requirements.txt -c constraints.txt | |
Collecting setuptools<=25.1.3 (from -c constraints.txt (line 1)) | |
Downloading setuptools-25.1.3-py2.py3-none-any.whl (442kB) | |
100% |████████████████████████████████| 450kB 2.1MB/s | |
Saved ./setuptools-25.1.3-py2.py3-none-any.whl | |
Skipping setuptools, due to already being wheel. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's working as designed. The list of packages to install comes from walking the requirements graph and the version of each package comes from the constraints file.