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

Fix finding interpreters if file matches spec #1524

Merged
merged 1 commit into from
Nov 19, 2022

Conversation

Hnasar
Copy link
Contributor

@Hnasar Hnasar commented Nov 18, 2022

Before this fix, when running pdm use python if there was a file or folder named python then the code would not look for other installed interpreters.

fixes #1523

Pull Request Check List

  • A news fragment is added in news/ describing what is new.
  • Test cases added for changed code.

Describe what you have changed in this PR.

Before this fix, when running `pdm use python` if there was a file or folder named `python` then the code would not look for other installed interpreters.
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.

pdm use <python-spec> breaks if there is a file/folder named <python-spec>
2 participants