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

Incorrect ireq.req for non-wheel file requirement makes check_if_exists() always fail #264

Open
frostming opened this issue Aug 28, 2020 · 0 comments

Comments

@frostming
Copy link
Member

frostming commented Aug 28, 2020

from requirementslib import Requirement

r = Requirement.from_line('../test_pipenv/Flask-1.1.2.tar.gz')
ireq = r.as_ireq()
print(type(ireq.req), ireq.req)
ireq.check_if_exists(False)    # <= fail

Related issue: pypa/pipenv#4386

@frostming frostming linked a pull request Aug 28, 2020 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant