-
Notifications
You must be signed in to change notification settings - Fork 1
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
Fails with poetry-core 1.6.0 #1
Comments
Downgrading to poetry 1.4, I'm getting
Also, installing |
Hi, thanks for reporting. I'll look into this when I get a chance. 👍🏾 |
That and other changes made in Poetry 1.5.0 break poetry-source-env in ways that are totally fixable but would themselves break the plugin on earlier versions of Poetry (namely python-poetry/poetry#7658). Save for a satisfactory way to maintain support for both Poetry ≤ 1.4.x and Poetry ≥ 1.5.0, the next version of poetry-source-env will be a major release that supports Poetry 1.5.x and later exclusively.
This error arises from Poetry. PyPI is implicitly configured as the default source; if you configure another source as the default without explicitly making PyPI not the default, you'll get that error message. If you're sure that a faulty configuration on your end isn't the problem, we can investigate this further.
What do you mean by this? |
Running This makes sense, because poetry doesnt know to use the env vars before installing poetry-source-env. But I'm just pointing this out as a problem poetry-source-env might want to take a look at; e.g. in the original poetry issue, someone pointed out a solution using |
As far as I can tell, Poetry does not load plugins when executing |
poetry-source-env 2.0.0 has been released, requiring Poetry 1.5.0 or later. You may need to invoke Poetry with the If your issues persist, feel free to leave another comment here. |
That's not true, this is one way you can do it: python-poetry/poetry#5958 (comment) The README should mention this step before running |
Minor clarification: it's impossible for poetry-source-env to accomplish. I appreciate your suggestion, though — I'll add that information to the README. |
Getting the following error:
That module seems to have been deleted in poetry-core 1.6.0, bundled with poetry 1.5.0: python-poetry/poetry-core#483
The text was updated successfully, but these errors were encountered: