Skip to content

Commit

Permalink
py_info.py: Discover python interpreter in a case insensitive manner
Browse files Browse the repository at this point in the history
Closes pypa#1624
  • Loading branch information
PrajwalM2212 committed Feb 14, 2020
1 parent 811311c commit af536ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/changelog/1624.bugfix.rst
@@ -0,0 +1 @@
Discover python interpreter in a case insensitive manner
2 changes: 1 addition & 1 deletion src/virtualenv/discovery/py_info.py
Expand Up @@ -237,7 +237,7 @@ def satisfies(self, spec, impl_must_match):
return False

if impl_must_match:
if spec.implementation is not None and spec.implementation != self.implementation:
if spec.implementation is not None and spec.implementation.lower() != self.implementation.lower():
return False

if spec.architecture is not None and spec.architecture != self.architecture:
Expand Down

0 comments on commit af536ab

Please sign in to comment.