Purpose of tool.poetry.dependencies.python
if package-mode = false
#9261
-
Is there any purpose to setting the Python version under I'm trying to tidy up a repo, and I've noticed that the Python version is duplicated in both the My (potentially incorrect) understanding is that the Python dependency is used when my package is consumed by others, ensuring that the consumer has a local Python installation compatible with my package. For extra context: the repository in question is a private, deployable application, rather than a package. With this in mind, is there any purpose to declaring the Python version in the dependencies section of my |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
poetry still needs to know the range of supported python versions so that it can lock correctly
|
Beta Was this translation helpful? Give feedback.
poetry still needs to know the range of supported python versions so that it can lock correctly
.python-version
is nothing to do with poetry