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

uvx --with does not work with complex version specifiers #9081

Closed
jramcast opened this issue Nov 13, 2024 · 1 comment · Fixed by #9089
Closed

uvx --with does not work with complex version specifiers #9081

jramcast opened this issue Nov 13, 2024 · 1 comment · Fixed by #9089
Assignees
Labels
bug Something isn't working

Comments

@jramcast
Copy link

The --with parameter does not support complex version specifiers:

$ uvx --with "requests>=2.1,<3" pytest
error: Failed to parse: `<3`
  Caused by: Expected package name starting with an alphanumeric character, found `<`
<3
^
  • uv version:
$ uv --version
uv 0.5.1
  • Platform: Fedora 41
  • Tested on bash and zsh
@charliermarsh charliermarsh added the bug Something isn't working label Nov 13, 2024
@charliermarsh
Copy link
Member

This is fallout of attempting to support --with "requests, flask".

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.

2 participants