Skip to content

Invalid python version not detected #3426

@smoehrle

Description

@smoehrle
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Feature Request

In the pyproject.toml we can specify a python version. When initializing the project or using poetry env use {python} the python version is checked against the valid versions in the pyproject.toml. If its invalid this will result in a NoCompatiblePythonVersionFound error.

The problem is, if I already have an environment set up for the project and someone else in the project changes the pyproject.toml, i.e. drops the support for the python version my environment currently uses, I do not get any notification.

So my feature proposal would be that for example poetry install not only checks all current dependencies but also the python version in use. To my knowledge this is currently not possible.

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureFeature requests/implementations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions