-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
kind/featureFeature requests/implementationsFeature requests/implementationsstatus/triageThis issue needs to be triagedThis issue needs to be triaged
Description
Issue Kind
Other
Description
The API of the Command class was changed in Poetry v2: the set_poetry instance method on the class has been removed. I think this method is useful for plugins, the Multiproject in specific where a build process is triggered based on Python code in temporary directories.
Impact
By restoring the set_poetry, plugins like Multiproject will not have to rely on the internals of the Command instance. (see workarounds)
Workarounds
Current workaround is implemented, to support Poetry before and after v2.
if hasattr(self, "set_poetry"):
self.set_poetry(project_poetry)
elif hasattr(self, "_poetry"):
self._poetry = project_poetryReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/featureFeature requests/implementationsFeature requests/implementationsstatus/triageThis issue needs to be triagedThis issue needs to be triaged