-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
kind/bugSomething isn't working as expectedSomething isn't working as expectedstatus/triageThis issue needs to be triagedThis issue needs to be triaged
Description
- Poetry version: 1.3.2
- Python version: 3.11.1
- OS version and name: macOS Ventura 13.2
- pyproject.toml: https://github.com/pallets/flask/blob/main/examples/celery/pyproject.toml
- I am on the latest stable Poetry version, installed using a recommended method.
- I have searched the issues of this repo and believe that this is not a duplicate.
- I have consulted the FAQ and blog for any relevant entries or release notes.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption) 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 ran poetry 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, then poetry add flask and poetry add celery[redis], and got this nonsensical error complaining about a circular dependency of celery itself:
poetry add 'celery[redis]'
Using version ^5.2.7 for celery
Updating dependencies
Resolving dependencies... (0.0s)
Because no versions of celery match >5.2.7,<6.0.0
and celery (5.2.7) depends on celery (5.2.7), celery (>=5.2.7,<6.0.0) requires celery (5.2.7).
So, because celery depends on celery (^5.2.7)
and celery is 0.1.0, version solving failed.```
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't working as expectedSomething isn't working as expectedstatus/triageThis issue needs to be triagedThis issue needs to be triaged