-
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
The specified Python version (3.8) is not supported by the project (^3.7). #1735
Comments
You should use only the minor version with poetry env use 3.8 Basically, Poetry looks for a |
Hello @jobevers , I guess the error message is misleading. So specify the complete path to the python 3.8 interpreter or, if you use pyenv for handling multiple python versions, activate the correct version first. fin swimmer |
|
@jobevers Do you actually have a |
|
|
Oh, I know what's going on, this is a bug in how Poetry gets the patch version of the executable. Basically, it uses the current Python for the patch version instead of the one of the passed executable. This should be an easy fix. |
@sdispater could you cut a patch release that includes this fix? |
+1 having this issue at the moment with python 3.8.2. Edit:
to
worked. I guess initially set it too strictly without knowing |
I'm getting mixed results - work for me but not the person next to me, not sure which is expected behaviour. When saying:
which patch versions does that support? |
Thank you kamyar |
|
I think you may have gotten turned around and are discussing something totally different. |
This does not work. After manually modifying toml, |
- I needed to specify the python version for poetry to work properly... I didn't have python 3.9 installed... python-poetry/poetry#1735 (comment) - Don't limit python version to ^3.9, but we should support all newer version as well - Add titles to make the Github Action page easier to read
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. |
I am on the latest Poetry version.
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).OS version and name: Ubuntu 18.04.3 LTS
Poetry version:
Poetry version 1.0.0
Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/jobevers/a3e674e4f316a6c0ea535ac818bf5f61
Issue
I wanted to start using python 3.8 in a project:
The text was updated successfully, but these errors were encountered: