astral-sh/uv

Allow `uv add` sources to be specified outside of the requirement

Open

#5,381 opened on Jul 23, 2024

View on GitHub
 (1 comment) (4 reactions) (0 assignees)Rust (3,111 forks)batch import
clihelp wantedtracking

Repository metrics

Stars
 (84,934 stars)
PR merge metrics
 (Avg merge 7d 16h) (259 merged PRs in 30d)

Description

e.g.

uv add [<package>] --git <url> 
uv add [<package>] --path <path> 
uv add [<package>] --url <url> 
uv add [<package>] --workspace <path>

These user should be able to optionally include the package name and specifiers, e.g. uv add "httpx>0.2.0" --git https://github.com/encode/httpx

See:

  • #5383
  • #5384
  • #5385
  • #5386

Contributor guide