Allow to ignore 'Double requirement given' error
See original GitHub issueIt would be nice if ‘Double requirement given: %s (already in %s, name=%r)’ could be made a warning optionally, as long as it does not result in a conflict.
My use case is tox, where ‘django’ is defined in the test env (with version restrictions), but also in a requirements file (which is meant to install the test env outside of tox):
pip install --pre pytest pytest-django six Django>=1.7,<1.8 -rtest_project/test_requirements.txt
This results in the following error:
Double requirement given: django (from -r test_project/requirements.txt (line 3)) (already in Django<1.8,>=1.7, name=‘django’)
Issue Analytics
- State:
- Created 9 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Double requirement given when trying to use pip install pandas
Untill two days ago, the Docker container was perfectly build. Starting from yesterday, I receive an error: Double requirement given: ...
Read more >Pip3 install from requirement file duplicate entries - Packaging
ERROR : Double requirement given: requests>=2.18.4 (from -r ... Personally I don't like the duplicate entries and i would want to remove it....
Read more >Avoid 'Double requirements given' error when using 'pip install
i thought: what if someone doesn't want local auth but wants to use pagure CI ? then he will either comment/remove those lines...
Read more >Pip "Double requirement given" error - Google Groups
Hi, I am trying to setup a requirements.txt file containing the following: Django==1.2.5 -e git://github.com/dcramer/django-devserver#egg=django-devserver
Read more >Ignoring the requirements.txt - Netlify Support Forums
How can i make netlify ignore the requirements.txt ? ... echo "Error during gem install" ... else; echo "Error installing pip dependencies" ...
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
@rbtcollins
Unless all of these references are top level which is the case here 😃
I’m closing this, the fundamental issue here is #988 and this will effectively be solved by solving that issue.