-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
The pyproject.toml file specifies the following inclusive specifier for the Python version:
requires-python = ">=3.8,<=3.12"
I am unable to get poetry to accept this package with my package using Python 3.12.6.
Doing a little further investigation and questions on the poetry discord channel, I believe your specifier should be specified using an exclusive upper bound, e.g.,
requires-python = ">=3.8,<3.13"
(if you indeed need to preclude the use of Python 3.13 and greater)
Please see https://packaging.python.org/en/latest/specifications/version-specifiers/#inclusive-ordered-comparison.
If I understand correctly the specification, <=3.12 requires the version to be less than or equal to 3.12.0 which of course is not what you want.
Metadata
Metadata
Assignees
Labels
No labels