Skip to content

Git refs with special characters (eg. @) cannot be installed #5901

@mattfysh

Description

@mattfysh

Hello, it appears that I'm unable to install a package from a github monorepo when the tag name contains the '@' symbol. Are there any ways around this using uv, or does uv share the installer from pip?

e.g. if the tag name is pkg@1.2.3 this should work in theory:

uv pip install git+https://github.com/my_org/my_repo@pkg@1.2.3#subdirectory=packages/pkg

I've also tried percent-encoding the tag name to no avail. I either get errors saying the repo was not found, or the tag was not found

see:

$ uv --version
uv 0.2.30 (Homebrew 2024-07-26)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions