Why is Python specified as a dependency? #3686
Replies: 2 comments
-
@janjagusch this is as per current design. Python is in-effect a dependency of the project. From this perspective, it makes sense where it is at. Any parsers of the poetry config section should treat |
Beta Was this translation helpful? Give feedback.
-
Coming from other languages I would rather expect it to be a key of the A short survey of other language package managers:
|
Beta Was this translation helpful? Give feedback.
-
Issue
I was wondering why poetry specifies the compatible Python version in the
tool.poetry.dependencies
section, together with actual Python package dependencies. Is there any fundamental reason for that?I am asking because this can cause issues for automatic dependency updating tools like renovate, where this currently triggers the following warning:
Of course this can easily be fixed downstream. It just made me wonder why this is the desired behavior.
Example of a
pyproject.toml
file created withpoetry init
:Beta Was this translation helpful? Give feedback.
All reactions