question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PackageInfo: Invalid constraint (click (>=7.*)) found in uvicorn-0.14.0 dependencies, skipping

See original GitHub issue

Checklist

  • 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:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
euri10commented, Jun 29, 2021

Thanks @gygabyte017 this should be fixed now !

1reaction
Kludexcommented, Jun 29, 2021

(it will be available on the uvicorn 0.15)

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found