-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Dependency issues installing a third party example not based on poetry #7501
Comments
I tried also using just
And when running
|
what poetry is trying to tell you is that you have created a project with name "celery" and version "0.1.0", and now you are trying to add to it a dependency on "celery" version "5.2.7". Change the name of your project. |
Thanks @dimbleby 🤦♂️ |
Would love to see the assertion error be a bit more verbose on this issue - fwiw just ran into it myself for a new project but luckily this github issue existed :) |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option) and have included the output below.Issue
I'm trying to follow a really simple example on the Flask docs and encountered multiple issues. After downloading, I navigated to the
examples/celery
folder and ranpoetry install
:[tool.poetry] section not found in /Users/kevinschaich/repositories/flask/examples/celery/pyproject.toml
I searched around and couldn't find anyone else encountering this – it seems like Poetry should support projects using other tooling like pip/conda/mamba and "upgrade" those configs.
I gave up on trying to fix this and deleted the file since there were only two dependencies, and ran
poetry init
, thenpoetry add flask
andpoetry add celery[redis]
, and got this nonsensical error complaining about a circular dependency of celery itself:The text was updated successfully, but these errors were encountered: