--pre not working with requirements file
See original GitHub issueEnvironment
- pip version: 19.1.1
- Python version: 3.6.8
- OS: macOS Mojave
Description I have a Requirements file (tf.txt) with this content:
tensorflow --pre
When I do pip install -r tf.txt -U
it installs tensorflow 1.14 and not the pre version.
Expected behavior Should thow an error or install the pre version.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Option --pre doesn't work in requirements.in #819 - GitHub
The option --pre set in requirements.in doesn't work as expected. Neither --pre package or package==0.0.1 --pre. If --pre passed to the CLI ...
Read more >How to specify Python requirements by allowing prereleases?
If a Requirement specifier includes a pre-release or development version (e.g. >=0.0.dev0 ) then pip will allow pre-release and development ...
Read more >Requirements File Format - pip documentation v22.3.1
Requirements files serve as a list of items to be installed by pip, ... This is will not work with other build-backends or...
Read more >Why and How to make a Requirements.txt - Robert Boscacci
In short, we generate and share requirements.txt files to make it easier for other ... The problem we run into when we share...
Read more >pip install — pip 10.0.0.dev0 documentation
Description¶. Install packages from: PyPI (and other indexes) using requirement specifiers. VCS project urls. Local project directories.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same on Linux. As a workaround (and maybe the intended behavior), it works if
--pre
is on its own line:Thanks for the nudges here @deveshks! ^>^