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

get fullpath of given python executable when activating env #5086

Merged

Conversation

finswimmer
Copy link
Member

@finswimmer finswimmer commented Jan 22, 2022

poetry env use python leads to strange behavior if the user has changed the current python version by a tool like pyenv.

The python version is determined with the current activated python version, but virtualenv, which is used to create the venv, doesn't recognize the change of the current python version by pyenv and will use the system's python to create the venv.

This is solved by determine the full executable path for the given python.

Resolves: #5077

@finswimmer finswimmer marked this pull request as ready for review January 22, 2022 17:39
@finswimmer finswimmer requested a review from a team January 22, 2022 17:39
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

poetry incorrectly identifies python version requirement
2 participants