-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed as not planned
Labels
status/external-issueIssue is caused by external project (platform, dep, etc)Issue is caused by external project (platform, dep, etc)
Description
- Poetry version: poetry 1.3.1
- Python version: Python 3.10
- OS version and name: Ubuntu 22.04
- pyproject.toml: https://gist.github.com/fbalo-medium/61d6f65bb38e598a700c53dc2055c476
- I am on the latest stable Poetry version, installed using a recommended method.
- I have searched the issues of this repo and believe that this is not a duplicate.
- I have consulted the FAQ and blog for any relevant entries or release notes.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption) and have included the output below.
Issue
An issue I just discovered is if you are using a Python version lower than 3.10 (even if you set Poetry to accept Python 3.8 or higher in myproject.toml) in your project and try to run that project in an environment that runs 3.10, it raises an “Invalid version '1.1build1' on package distro-info” error.
I suspect Poetry sees Python 3.10 as Python 3.1.
This happened when I tried to running Poetry in a Github Action environment. When I explicit choose the version to be 3.8, it worked.
Metadata
Metadata
Assignees
Labels
status/external-issueIssue is caused by external project (platform, dep, etc)Issue is caused by external project (platform, dep, etc)