fix: update import of deprecated repository modules#151
fix: update import of deprecated repository modules#151radoering merged 2 commits intopython-poetry:mainfrom b-kamphorst:fix-deprecated-repositories-imports
Conversation
radoering
left a comment
There was a problem hiding this comment.
Can you make the imports forward compatible please? The scheme is try "new import" except "old import". Proposals below. You probably have to add some "type: ignore" or similar to satisfy mypy and flake8.
Indeed, the current PR is valid only for |
|
Kudos, SonarCloud Quality Gate passed!
|
|
Yeah, if poetry-plugin-export and poetry would not be so closely coupled we could just wait. Unfortunately, we are still delivering poetry-plugin-export with poetry. (We intend to stop doing this. Another maintainer has already created a proof-of-concept on how to proceed in a gracefully way but he hasn't been available lately.) That's why we want to release a version of poetry-plugin-export that can be delivered with poetry 1.3 and will not trigger a deprecation warning. |








Depends on python-poetry/poetry#6803.