Skip to content
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

Update pip parse_requirements import #55

Open
raddessi opened this issue Jan 29, 2019 · 0 comments
Open

Update pip parse_requirements import #55

raddessi opened this issue Jan 29, 2019 · 0 comments

Comments

@raddessi
Copy link

raddessi commented Jan 29, 2019

Hi, currently the 0.0.2 release tries to "from pip.req import parse_requirements", that should be changed to try both the new and old ways:

try:
    # for pip >= 10
    from pip._internal.req import parse_requirements
except ImportError:
    # for pip <= 9.0.3
    from pip.req import parse_requirements

I actually tried forking to make a PR but am unable to install this from git.. how do you install the version in git via pip?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant