-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
poetry incorrectly identifies python version requirement #5077
Comments
Hello @chaosct, is there a fin swimmer |
Hi @finswimmer ! there is no But I noted this: the env was not correctly created
And this solves the problem:
I don't really understand why the wrong virtualenv was created in the first place. Some issue with I think it would be a good thing to check for inconsistencies when creating envs. Anyway thanks! Should I close the issue even though I don't know what caused it? |
I think this is what happend: I think you have installed poetry with You then switched your current python with I would keep this open, because poetry should create a venv with the name of the interpreter it uses. fin swimmer |
I think you are pretty right @finswimmer But basically, initially I installed I re-created the env after uninstalling and reinstalling Thanks for your awesome work! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option).Issue
poetry run
does not honorpoetry env
:This causes that some parts of a
poetry install
command use the 3.9 version of python but others not:As you can see, the python version requirement is not correctly identified.
pyproject.toml
specifiespython = "^3.9"
The text was updated successfully, but these errors were encountered: