-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support dependency groups #64
Comments
Hello! Yes, dependency groups are one of my personal most anticipated features in Poetry 1.2 and this plugin will absolutely include support for them once a stable 1.2 is released. I was planning to start work on an implementation once 1.2 entered beta. As for the import problem you noticed, is this using a currently released version of poetry/poetry core or an alpha/beta version? |
The import problem is just when switching over the the alpha poetry build (I thought I should just try it and see what happens with this package). It looks like the accompanying alpha build of The patch resolves the import problems, but then still does not seems to correctly load poetry, and since I don't have a lot of knowledge of the internals of poetry I couldn't take this any further. Great to hear that this will be supported though! |
Any luck with this? I just switched to the Poetry 1.2 version but can't run tox tests. Would be interested in a workaround too! Thanks for the support! |
@tasansal Sorry, I haven't had the time to work on this feature yet. I'm hoping to have some time to work on this in the next few weeks. I'd also be happy to accept a PR for this feature. I'll try to pull some thoughts together on how I think it should be implemented so if someone wants to PR the change they have something to go off of. |
PR #76 should add support for this, though I'm not sure if it is in-line with how support for Poetry groups was planned to be implemented. Please let me know if you would like it done differently. |
@oshmoun I believe this issue is resolved now with the release of |
The latest alpha release of Poetry (1.12.0a2) supports the usage of depedency groups, added by this PR. For my use case these groups are able to resolve solve problems within my CI setup, but they do not work with the current version of
tox-poetry-installer
. My question is thus wether this feature will be supported in the future.Trying to debug this issue myself I found that imports from the
poetry-core
package no longer work, but they are easily fixed:Click to view patch
However, when this issue is resolved I still run into the following exception which prohibits the use of this package:
The text was updated successfully, but these errors were encountered: