-
Notifications
You must be signed in to change notification settings - Fork 3
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
error during tox's installation of tox-poetry-dev-dependencies: AttributeError: module 'poetry.core' has no attribute 'poetry' #62
Comments
Hi @jclerman thanks for using my code, and thanks for this issue report. This project has fallen quite low on my priority list, so as it is now there is very little chance I will make any new improvements (but "never say never"). This project was kind of always meant as some kind of proof of concept for this issue anyway (although it grew a bit beyond that):
... and yes, it relied on some private (unstable) APIs of There are other similar projects that might be helpful, I linked them here: Although, as it turns out, they seem to be confronted with similar issues of incompatibility with the latest releases of This other project |
Also Maybe there is something in there for you. |
Thanks @sinoroc. Yes, I saw In the end though, I decided that the difference between
... etc |
There is this discussion happening: If this standardization happens, then it should be safe to assume that |
@jclerman (and other potential interested users), assuming that I were to find time and energy to make this plugin compatible with Poetry 1.2 and its "dependency groups"... what would you expect the UI/UX to look like (how should it be configured in Up until its version 1.2, Poetry had only the one |
@sinoroc: A list of dependency groups seems reasonable to me. The name of the key should probably change since it's no longer just for dev-dependencies. Maybe something like:
The standardization would be great, so that tox can avoid referencing
|
I have been using this plugin for a while (thanks!!) just for what it says on the tin: To get my
pyproject.toml
-defined dev-dependencies into my tox testenv.Recently I have been encountering an error that I can't find a workaround for - and this never used to happen.
The beginning of my
tox.ini
looks like this:and when I run
tox
I see:Looks like the plugin may no longer be compatible with recent versions of
poetry
, or maybepoetry-core
? Is there a workaround or a recommended alternative, specifically for tellingtox
to include dev-dependencies?The text was updated successfully, but these errors were encountered: