-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
featureNew feature or requestNew feature or requestroadmap-stableRequired for stable statusRequired for stable status
Description
poetry-core is a project to produce a lighter weight version of core poetry functionality specifically to better support PEP-517 build systems.
However (based on reading the published goals as of the 1.0 RC1 release) I believe it will also contain all the functionality necessary for this plugin to function.
Using the poetry-core package instead of poetry would give this project two main advantages:
- By design the
poetry-coredependencies are considerably lighter than those ofpoetry. This was done to speed up the creation of PEP-517 build environments, but here it would reduce the size of this project's dependency chain. Since this is supposed to be a minimalist, lightweight plugin that just bridges the functionality of Tox and Poetry it would be nice if it did not need to install a huge number of dependencies to function. - The
poetry-corepackage will provide thepoetry.coremodule namespace and replace a decent amount of functionality currently in the mainpoetrymodule. This means, at minimum, this plugin will need to be updated to be compatible with Poetry 1.1.0+ (which will usepoetry-core). However due to the design goals ofpoetry-coreit will, by necessity, have a more stable API than some of the more esoteric elements ofpoetrythat this plugin currently imports. Usingpoetry.coreinstead ofpoetrywill reduce the likelihood of future updates to Poetry breaking this plugin.
I need to confirm what- if any- functionality of poetry that this plugin needs is not included in poetry-core and determine how to work around those limitations. At minimum I suspect some of the types that are currently imported will not be available, but I have not confirmed this yet.
johnthagen and frederikaalund
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or requestroadmap-stableRequired for stable statusRequired for stable status