New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install: ignore stdlib pkgs like wsgiref #2602

Closed
wants to merge 1 commit into
base: develop
from

Conversation

Projects
None yet
2 participants
@msabramo
Contributor

msabramo commented Mar 23, 2015

in requirements files

This allows a pip install -r requirements.txt to succeed even if it was generated with an older version of pip that included stuff like wsgiref==0.1.2 in it.

$ .tox/py34/bin/pip install -r requirements.txt
Skipping requirement: wsgiref==0.1.2 (from -r requirements.txt (line 17)) because wsgiref is a stdlib package
...
  Skipping requirement: wsgiref (from static==0.4->-r requirements.txt (line 16)) because wsgiref is a stdlib package
Skipping requirement: wsgiref (from static==0.4->-r requirements.txt (line 16)) because wsgiref is a stdlib package
Installing collected packages: nose, mccabe, gunicorn, flake8, django-toolbelt, django-nose, dj-static, dj-database-url, coverage, South, Django
...
install: ignore stdlib pkgs like wsgiref
in requirements files

This allows a `pip install -r requirements.txt` to succeed even if it
was generated with an older version of pip that included stuff like
`wsgiref==0.1.2` in it.
@msabramo

This comment has been minimized.

Show comment
Hide comment
@msabramo

msabramo Mar 23, 2015

Contributor

Tests passed.

Is this a good idea or will doing this have some unforeseen consequences?

Contributor

msabramo commented Mar 23, 2015

Tests passed.

Is this a good idea or will doing this have some unforeseen consequences?

@sashkab

This comment has been minimized.

Show comment
Hide comment
@sashkab

sashkab Apr 5, 2015

Contributor

👍

Contributor

sashkab commented Apr 5, 2015

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment