Skip to content

Commit

Permalink
uv/tests: update lock file snapshots
Browse files Browse the repository at this point in the history
This update follows from the removal of of `source` and `version` from
`distribution.dependency` entries in the lock file when the package name
unambiguously refers to a single distribution.
  • Loading branch information
BurntSushi committed Jun 26, 2024
1 parent 4accbfd commit 89bef7b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 264 deletions.
42 changes: 0 additions & 42 deletions crates/uv/tests/edit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,9 @@ fn add_registry() -> Result<()> {
[[distribution.dependencies]]
name = "idna"
version = "3.6"
source = "registry+https://pypi.org/simple"
[[distribution.dependencies]]
name = "sniffio"
version = "1.3.1"
source = "registry+https://pypi.org/simple"
[[distribution]]
name = "idna"
Expand All @@ -101,8 +97,6 @@ fn add_registry() -> Result<()> {
[[distribution.dependencies]]
name = "anyio"
version = "3.7.0"
source = "registry+https://pypi.org/simple"
[[distribution]]
name = "sniffio"
Expand Down Expand Up @@ -233,13 +227,9 @@ fn add_git() -> Result<()> {
[[distribution.dependencies]]
name = "idna"
version = "3.6"
source = "registry+https://pypi.org/simple"
[[distribution.dependencies]]
name = "sniffio"
version = "1.3.1"
source = "registry+https://pypi.org/simple"
[[distribution]]
name = "idna"
Expand All @@ -256,13 +246,9 @@ fn add_git() -> Result<()> {
[[distribution.dependencies]]
name = "anyio"
version = "3.7.0"
source = "registry+https://pypi.org/simple"
[[distribution.dependencies]]
name = "uv-public-pypackage"
version = "0.1.0"
source = "git+https://github.com/astral-test/uv-public-pypackage?tag=0.0.1#0dacfd662c64cb4ceb16e6cf65a157a8b715b979"
[[distribution]]
name = "sniffio"
Expand Down Expand Up @@ -387,13 +373,9 @@ fn add_git_raw() -> Result<()> {
[[distribution.dependencies]]
name = "idna"
version = "3.6"
source = "registry+https://pypi.org/simple"
[[distribution.dependencies]]
name = "sniffio"
version = "1.3.1"
source = "registry+https://pypi.org/simple"
[[distribution]]
name = "idna"
Expand All @@ -410,13 +392,9 @@ fn add_git_raw() -> Result<()> {
[[distribution.dependencies]]
name = "anyio"
version = "3.7.0"
source = "registry+https://pypi.org/simple"
[[distribution.dependencies]]
name = "uv-public-pypackage"
version = "0.1.0"
source = "git+https://github.com/astral-test/uv-public-pypackage?rev=0.0.1#0dacfd662c64cb4ceb16e6cf65a157a8b715b979"
[[distribution]]
name = "sniffio"
Expand Down Expand Up @@ -516,8 +494,6 @@ fn add_unnamed() -> Result<()> {
[[distribution.dependencies]]
name = "uv-public-pypackage"
version = "0.1.0"
source = "git+https://github.com/astral-test/uv-public-pypackage?tag=0.0.1#0dacfd662c64cb4ceb16e6cf65a157a8b715b979"
[[distribution]]
name = "uv-public-pypackage"
Expand Down Expand Up @@ -613,13 +589,9 @@ fn add_remove_dev() -> Result<()> {
[[distribution.dependencies]]
name = "idna"
version = "3.6"
source = "registry+https://pypi.org/simple"
[[distribution.dependencies]]
name = "sniffio"
version = "1.3.1"
source = "registry+https://pypi.org/simple"
[[distribution]]
name = "idna"
Expand All @@ -638,8 +610,6 @@ fn add_remove_dev() -> Result<()> {
[[distribution.dev-dependencies.dev]]
name = "anyio"
version = "3.7.0"
source = "registry+https://pypi.org/simple"
[[distribution]]
name = "sniffio"
Expand Down Expand Up @@ -834,8 +804,6 @@ fn add_remove_workspace() -> Result<()> {
[[distribution.dependencies]]
name = "child2"
version = "0.1.0"
source = "editable+child2"
[[distribution]]
name = "child2"
Expand Down Expand Up @@ -1021,8 +989,6 @@ fn add_workspace_editable() -> Result<()> {
[[distribution.dependencies]]
name = "child2"
version = "0.1.0"
source = "editable+child2"
[[distribution]]
name = "child2"
Expand Down Expand Up @@ -1143,13 +1109,9 @@ fn update_registry() -> Result<()> {
[[distribution.dependencies]]
name = "idna"
version = "3.6"
source = "registry+https://pypi.org/simple"
[[distribution.dependencies]]
name = "sniffio"
version = "1.3.1"
source = "registry+https://pypi.org/simple"
[[distribution]]
name = "idna"
Expand All @@ -1166,8 +1128,6 @@ fn update_registry() -> Result<()> {
[[distribution.dependencies]]
name = "anyio"
version = "4.3.0"
source = "registry+https://pypi.org/simple"
[[distribution]]
name = "sniffio"
Expand Down Expand Up @@ -1302,8 +1262,6 @@ fn add_no_clean() -> Result<()> {
[[distribution.dependencies]]
name = "iniconfig"
version = "2.0.0"
source = "registry+https://pypi.org/simple"
"###
);
});
Expand Down
Loading

0 comments on commit 89bef7b

Please sign in to comment.