Skip to content
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

fail to run uvx --with="psycopg[binary,pool]" pgcli --help after upgrade to 0.5.0 #8918

Closed
zuisong opened this issue Nov 8, 2024 · 3 comments · Fixed by #8946
Closed

fail to run uvx --with="psycopg[binary,pool]" pgcli --help after upgrade to 0.5.0 #8918

zuisong opened this issue Nov 8, 2024 · 3 comments · Fixed by #8946
Assignees
Labels
bug Something isn't working

Comments

@zuisong
Copy link

zuisong commented Nov 8, 2024

❯ uvx --with="psycopg[binary,pool]" pgcli --help
error: Failed to parse: `psycopg[binary`
  Caused by: Missing closing bracket (expected ']', found end of dependency specification)
psycopg[binary
❯ uv --version 
uv 0.5.0 (Homebrew 2024-11-07)

it works at 0.4.x

@charliermarsh
Copy link
Member

Looks like a bug although I don't think it's new in v0.5. It works for me in v0.4.20, but not in any of the ten releases between then and v0.5.

@charliermarsh charliermarsh self-assigned this Nov 8, 2024
@charliermarsh charliermarsh added the bug Something isn't working label Nov 8, 2024
@charliermarsh
Copy link
Member

Regressed in #7909 where we started to support --with "flask, anyio".

@zanieb
Copy link
Member

zanieb commented Nov 8, 2024

Oh that's a disappointing side-effect.

konstin pushed a commit that referenced this issue Nov 10, 2024
## Summary

We need to treat `flask,anyio` as two requirements, but
`psycopg[binary,pool]` as a single requirement.

Closes #8918.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants