Skip to content

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

Closed
@jramcast

Description

@jramcast

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions