PackageInfo: Invalid constraint (click (>=7.*)) found in uvicorn-0.14.0 dependencies, skipping
See original GitHub issueChecklist
- The bug is reproducible against the latest release and/or
master
. - There are no similar issues or pull requests to fix it yet.
Describe the bug
When adding uvicorn package with poetry the following warning is raised:
PackageInfo: Invalid constraint (click (>=7.*)) found in uvicorn-0.14.0 dependencies, skipping
because the constraint >=7.*
violates PEP440 syntax. It should either be >=7.0
or =7.*
.
Because of this, the click
dependency is not installed and uvicorn may not work.
To reproduce
Just execute poetry add uvicorn
in any environment.
Expected behavior
To install uvicorn
correctly together with all its dependencies.
Actual behavior
The click
dependency is not installed and uvicorn may not work.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Poetry skipping dependencies with both lower and upper ...
Seems to me like a comma , is missing to delimit the parts of the version specifiers of A 's dependencies. For example...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks @gygabyte017 this should be fixed now !
(it will be available on the
uvicorn
0.15)