Skip to content

Conversation

@mLupine
Copy link
Contributor

@mLupine mLupine commented Feb 15, 2025

Poetry moved some things around in the v2.1 release and as a result this plugin no longer works if an incompatible venv is found in the environment:

cannot import name 'InvalidCurrentPythonVersionError' from 'poetry.utils.env' (/var/lang/lib/python3.11/site-packages/poetry/utils/env/__init__.py)

This PR fixes that issue and updates create_venv calls so that they doesn't use deprecated parameters.

@radoering
Copy link
Member

Dropping support for older versions since it is too much effort to keep compatibility.

@radoering radoering changed the title Fix Poetry 2.1 compatibility Add support for Poetry 2.1, drop support for older versions Feb 16, 2025
@radoering radoering changed the title Add support for Poetry 2.1, drop support for older versions Fix compatibility with Poetry 2.1, drop support for older versions Feb 16, 2025
@radoering radoering merged commit bb60faa into python-poetry:main Feb 16, 2025
16 checks passed
@matan-airis matan-airis mentioned this pull request Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants