tiangolo / poetry-version-plugin

Poetry plugin for dynamically extracting the package version from a __version__ variable or a Git tag.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plugin fails under Poetry 1.2.0rc2

mbeacom opened this issue · comments

This plugin currently fails using the latest RC of Poetry (1.2.0rc2).
There have been numerous changes to the Poetry core (to include movement and removal of some methods).

If you attempt to run poetry commands following installation of this plugin under rc2, you will encounter a module_name not found in poetry.utils.helpers@module_name (as it is no longer available here, but rather: poetry.core.utils.helpers@module_name
Additionally, set_version was removed in a previous release (documented here): python-poetry/poetry#6223

This required the addition of ProjectPackage._set_version as discussed here: python-poetry/website#70 (comment)

Thanks! And thanks for the fix! 🙇

This was solved in #28, just released in version 0.2.0 🎉

Thanks for the merge! Glad it helped.