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

Add flag to ignore unsupported versions #14

Merged

Conversation

immerrr
Copy link
Contributor

@immerrr immerrr commented Oct 12, 2018

This PR fixes couple minor issues and adds a Finder(.., ignore_unsupported=True) flag to enable ignoring invalid/unsupported Python versions. The default behaviour of this library will remain the same so custom pythons like those mentioned in comments to #12 will still not be supported, but enabling this flag in pipenv should help to fix pipenv errors for good.

@@ -108,7 +108,7 @@ def parse(cls, version):
is_debug = False
if version.endswith("-debug"):
is_debug = True
version, _, _ = verson.rpartition("-")
version, _, _ = version.rpartition("-")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^_^ Good catch, I am very good at typing

@techalchemy techalchemy merged commit 4109ff5 into sarugaku:master Oct 12, 2018
@techalchemy
Copy link
Member

Thanks for this!

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 this pull request may close these issues.

"pipenv --python X.Y" fails with a traceback if pyenv has debug versions installed
2 participants