mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-25 05:33:43 +00:00
Merge 779e16925c into d6eb285f02
This commit is contained in:
commit
c7e8a18a94
24 changed files with 409 additions and 22 deletions
|
|
@ -1271,7 +1271,11 @@ impl Lock {
|
|||
}
|
||||
|
||||
doc.insert("package", Item::ArrayOfTables(packages));
|
||||
Ok(doc.to_string())
|
||||
|
||||
let content = doc.to_string();
|
||||
Ok(format!(
|
||||
"# This file was @generated by uv. Do not edit by hand.\n{content}"
|
||||
))
|
||||
}
|
||||
|
||||
/// Returns the package with the given name. If there are multiple
|
||||
|
|
|
|||
|
|
@ -211,6 +211,7 @@ fn root_package_splits_transitive_too() -> Result<()> {
|
|||
);
|
||||
|
||||
assert_snapshot!(context.read("uv.lock"), @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.11, <3.13"
|
||||
|
|
@ -408,6 +409,7 @@ fn root_package_splits_other_dependencies_too() -> Result<()> {
|
|||
);
|
||||
|
||||
assert_snapshot!(context.read("uv.lock"), @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.11, <3.13"
|
||||
|
|
@ -571,6 +573,7 @@ fn branching_between_registry_and_direct_url() -> Result<()> {
|
|||
|
||||
// We have source dist and wheel for the registry, but only the wheel for the direct URL.
|
||||
assert_snapshot!(context.read("uv.lock"), @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.11, <3.13"
|
||||
|
|
@ -658,6 +661,7 @@ fn branching_urls_of_different_sources_disjoint() -> Result<()> {
|
|||
|
||||
// We have source dist and wheel for the registry, but only the wheel for the direct URL.
|
||||
assert_snapshot!(context.read("uv.lock"), @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.11, <3.13"
|
||||
|
|
@ -788,6 +792,7 @@ fn dont_pre_visit_url_packages() -> Result<()> {
|
|||
);
|
||||
|
||||
assert_snapshot!(context.read("uv.lock"), @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.11, <3.13"
|
||||
|
|
|
|||
|
|
@ -75,6 +75,7 @@ fn add_registry() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -229,6 +230,7 @@ fn add_git() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -360,6 +362,7 @@ fn add_git_private_source() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -455,6 +458,7 @@ fn add_git_private_raw() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -738,6 +742,7 @@ fn add_git_raw() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -1032,6 +1037,7 @@ fn add_unnamed() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -1128,6 +1134,7 @@ fn add_remove_dev() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -1245,6 +1252,7 @@ fn add_remove_dev() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -1335,6 +1343,7 @@ fn add_remove_optional() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -1452,6 +1461,7 @@ fn add_remove_optional() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -1688,6 +1698,7 @@ fn add_remove_workspace() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -1772,6 +1783,7 @@ fn add_remove_workspace() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -2350,6 +2362,7 @@ fn add_workspace_editable() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -2482,6 +2495,7 @@ fn add_workspace_path() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -2610,6 +2624,7 @@ fn add_path_implicit_workspace() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -2732,6 +2747,7 @@ fn add_path_no_workspace() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -2846,6 +2862,7 @@ fn add_path_adjacent_directory() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -3021,6 +3038,7 @@ fn update() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -3789,6 +3807,7 @@ fn add_inexact() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -3917,6 +3936,7 @@ fn remove_registry() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -4553,6 +4573,7 @@ fn add_lower_bound_optional() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -4666,6 +4687,7 @@ fn add_lower_bound_local() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -4768,6 +4790,7 @@ fn add_non_project() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -5572,6 +5595,7 @@ fn add_requirements_file_constraints() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -6510,6 +6534,7 @@ fn add_script_settings() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.11"
|
||||
|
|
@ -7056,6 +7081,7 @@ fn add_remove_script_lock() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.11"
|
||||
|
|
@ -7239,6 +7265,7 @@ fn add_remove_script_lock() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.11"
|
||||
|
|
@ -7444,6 +7471,7 @@ fn add_remove_script_lock() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.11"
|
||||
|
|
@ -9073,6 +9101,7 @@ fn add_warn_index_url() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -9175,6 +9204,7 @@ fn add_no_warn_index_url() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -9268,6 +9298,7 @@ fn add_index() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -9354,6 +9385,7 @@ fn add_index() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -9466,6 +9498,7 @@ fn add_index() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -9586,6 +9619,7 @@ fn add_index() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -9715,6 +9749,7 @@ fn add_index() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -9851,6 +9886,7 @@ fn add_default_index_url() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -9924,6 +9960,7 @@ fn add_default_index_url() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -10025,6 +10062,7 @@ fn add_index_credentials() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -10121,6 +10159,7 @@ fn existing_index_credentials() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -10214,6 +10253,7 @@ fn add_index_with_trailing_slash() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -10310,6 +10350,7 @@ fn add_index_without_trailing_slash() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -10586,6 +10627,7 @@ fn add_group_comment() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.11"
|
||||
|
|
@ -10720,6 +10762,7 @@ fn add_index_comments() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -11040,6 +11083,7 @@ fn add_direct_url_subdirectory() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -11170,6 +11214,7 @@ fn add_direct_url_subdirectory_raw() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -11818,6 +11863,7 @@ fn multiple_index_cli() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -11929,6 +11975,7 @@ fn repeated_index_cli_environment_variable() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -12035,6 +12082,7 @@ fn repeated_index_cli_environment_variable_newline() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -12145,6 +12193,7 @@ fn repeated_index_cli() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -12255,6 +12304,7 @@ fn repeated_index_cli_reversed() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -14162,6 +14212,7 @@ fn add_no_install_project() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
|
|||
|
|
@ -584,6 +584,7 @@ fn requirements_txt_dependency_conflicting_markers() -> Result<()> {
|
|||
{
|
||||
insta::assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -1603,6 +1604,7 @@ fn requirements_txt_non_project_fork() -> Result<()> {
|
|||
{
|
||||
insta::assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -2664,6 +2666,7 @@ fn requirements_txt_script() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.11"
|
||||
|
|
@ -2783,6 +2786,7 @@ fn requirements_txt_script() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.11"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -90,6 +90,7 @@ fn extra_basic() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -284,6 +285,7 @@ fn extra_basic_three_extras() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -759,6 +761,7 @@ fn extra_multiple_independent() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -909,6 +912,7 @@ fn extra_config_change_ignore_lockfile() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -1786,6 +1790,7 @@ fn extra_depends_on_conflicting_extra_transitive() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -1971,6 +1976,7 @@ fn group_basic() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -2126,6 +2132,7 @@ fn group_default() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -2338,6 +2345,7 @@ fn mixed() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -2508,6 +2516,7 @@ fn multiple_sources_index_disjoint_extras() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -2658,6 +2667,7 @@ fn multiple_sources_index_disjoint_groups() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -2807,6 +2817,7 @@ fn multiple_sources_index_disjoint_extras_with_extra() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -2976,6 +2987,7 @@ fn multiple_sources_index_disjoint_extras_with_marker() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -3302,6 +3314,7 @@ fn shared_optional_dependency_extra1() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -3442,6 +3455,7 @@ fn shared_optional_dependency_group1() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -3583,6 +3597,7 @@ fn shared_optional_dependency_mixed1() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -4159,6 +4174,7 @@ fn shared_dependency_extra() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -4334,6 +4350,7 @@ fn shared_dependency_group() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -4510,6 +4527,7 @@ fn shared_dependency_mixed() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -4914,6 +4932,7 @@ fn jinja_no_conflict_markers1() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -5076,6 +5095,7 @@ fn jinja_no_conflict_markers2() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -5237,6 +5257,7 @@ fn collision_extra() -> Result<()> {
|
|||
assert_snapshot!(
|
||||
lock,
|
||||
@r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -5466,6 +5487,7 @@ fn extra_inferences() -> Result<()> {
|
|||
assert_snapshot!(
|
||||
lock,
|
||||
@r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -7502,6 +7524,7 @@ fn deduplicate_resolution_markers() -> Result<()> {
|
|||
assert_snapshot!(
|
||||
lock,
|
||||
@r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -7656,6 +7679,7 @@ fn incorrect_extra_simplification_leads_to_multiple_torch_packages() -> Result<(
|
|||
assert_snapshot!(
|
||||
lock,
|
||||
@r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.10"
|
||||
|
|
@ -10431,6 +10455,7 @@ fn duplicate_torch_and_sympy_because_of_wrong_inferences() -> Result<()> {
|
|||
assert_snapshot!(
|
||||
lock,
|
||||
@r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.10"
|
||||
|
|
@ -14336,6 +14361,7 @@ fn avoids_exponential_lock_file_growth() -> Result<()> {
|
|||
assert_snapshot!(
|
||||
lock,
|
||||
@r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -14751,6 +14777,7 @@ fn avoids_exponential_lock_file_growth() -> Result<()> {
|
|||
assert_snapshot!(
|
||||
lock,
|
||||
@r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -15200,6 +15227,7 @@ fn do_not_simplify_if_not_all_conflict_extras_satisfy_the_marker_by_themselves()
|
|||
assert_snapshot!(
|
||||
lock,
|
||||
@r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = "==3.12.*"
|
||||
|
|
|
|||
|
|
@ -122,6 +122,7 @@ fn wrong_backtracking_basic() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -289,6 +290,7 @@ fn wrong_backtracking_indirect() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -434,6 +436,7 @@ fn fork_allows_non_conflicting_non_overlapping_dependencies() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -552,6 +555,7 @@ fn fork_allows_non_conflicting_repeated_dependencies() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -652,6 +656,7 @@ fn fork_basic() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -940,6 +945,7 @@ fn fork_filter_sibling_dependencies() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -1119,6 +1125,7 @@ fn fork_upgrade() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -1240,6 +1247,7 @@ fn fork_incomplete_markers() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -1394,6 +1402,7 @@ fn fork_marker_accrue() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -1598,6 +1607,7 @@ fn fork_marker_inherit_combined_allowed() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -1779,6 +1789,7 @@ fn fork_marker_inherit_combined_disallowed() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -1949,6 +1960,7 @@ fn fork_marker_inherit_combined() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -2112,6 +2124,7 @@ fn fork_marker_inherit_isolated() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -2261,6 +2274,7 @@ fn fork_marker_inherit_transitive() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -2418,6 +2432,7 @@ fn fork_marker_inherit() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -2557,6 +2572,7 @@ fn fork_marker_limited_inherit() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -2713,6 +2729,7 @@ fn fork_marker_selection() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -2869,6 +2886,7 @@ fn fork_marker_track() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -3022,6 +3040,7 @@ fn fork_non_fork_marker_transitive() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -3318,6 +3337,7 @@ fn fork_overlapping_markers_basic() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -3486,6 +3506,7 @@ fn preferences_dependent_forking_bistable() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -3865,6 +3886,7 @@ fn preferences_dependent_forking_tristable() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -4149,6 +4171,7 @@ fn preferences_dependent_forking() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -4324,6 +4347,7 @@ fn fork_remaining_universe_partitioning() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -4476,6 +4500,7 @@ fn fork_requires_python_full_prerelease() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.10"
|
||||
|
|
@ -4560,6 +4585,7 @@ fn fork_requires_python_full() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.10"
|
||||
|
|
@ -4649,6 +4675,7 @@ fn fork_requires_python_patch_overlap() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.10.1"
|
||||
|
|
@ -4742,6 +4769,7 @@ fn fork_requires_python() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.10"
|
||||
|
|
@ -4823,6 +4851,7 @@ fn requires_python_wheels() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.10"
|
||||
|
|
@ -4920,6 +4949,7 @@ fn unreachable_package() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -5022,6 +5052,7 @@ fn unreachable_wheels() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -5153,6 +5184,7 @@ fn marker_variants_have_different_extras() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -5291,6 +5323,7 @@ fn virtual_package_extra_priorities() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -5411,6 +5444,7 @@ fn specific_architecture() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
|
|||
|
|
@ -2571,7 +2571,7 @@ fn install_git_private_https_interactive() {
|
|||
.collect();
|
||||
|
||||
uv_snapshot!(filters, context.pip_install().arg(package)
|
||||
, @r###"
|
||||
, @r"
|
||||
success: false
|
||||
exit_code: 1
|
||||
----- stdout -----
|
||||
|
|
@ -2582,8 +2582,9 @@ fn install_git_private_https_interactive() {
|
|||
├─▶ failed to clone into: [CACHE_DIR]/git-v0/db/8401f5508e3e612d
|
||||
╰─▶ process didn't exit successfully: `/usr/bin/git fetch --force --update-head-ok 'https://github.com/astral-test/uv-private-pypackage' '+HEAD:refs/remotes/origin/HEAD'` (exit status: 128)
|
||||
--- stderr
|
||||
fatal: could not read Username for 'https://github.com': terminal prompts disabled
|
||||
"###);
|
||||
remote: Repository not found.
|
||||
fatal: repository 'https://github.com/astral-test/uv-private-pypackage/' not found
|
||||
");
|
||||
}
|
||||
|
||||
/// Install a package without using pre-built wheels.
|
||||
|
|
|
|||
|
|
@ -887,6 +887,7 @@ fn run_pep723_script_lock() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.11"
|
||||
|
|
@ -996,6 +997,7 @@ fn run_pep723_script_lock() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.11"
|
||||
|
|
@ -2189,6 +2191,7 @@ fn run_locked() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
existing, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -5754,6 +5757,7 @@ fn run_pep723_script_with_constraints_lock() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.11"
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
source: crates/uv/tests/it/ecosystem.rs
|
||||
expression: lock
|
||||
---
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.8"
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
source: crates/uv/tests/it/ecosystem.rs
|
||||
expression: lock
|
||||
---
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
source: crates/uv/tests/it/ecosystem.rs
|
||||
expression: lock
|
||||
---
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12.[X]"
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
source: crates/uv/tests/it/ecosystem.rs
|
||||
expression: lock
|
||||
---
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
source: crates/uv/tests/it/ecosystem.rs
|
||||
expression: lock
|
||||
---
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
source: crates/uv/tests/it/ecosystem.rs
|
||||
expression: lock
|
||||
---
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.9.0"
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
source: crates/uv/tests/it/workflow.rs
|
||||
expression: lock
|
||||
---
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.9.0"
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
source: crates/uv/tests/it/workflow.rs
|
||||
expression: lock
|
||||
---
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
source: crates/uv/tests/it/workflow.rs
|
||||
expression: lock
|
||||
---
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
source: crates/uv/tests/it/workflow.rs
|
||||
expression: lock
|
||||
---
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
|
|||
|
|
@ -2908,6 +2908,7 @@ fn sync_relative_wheel() -> Result<()> {
|
|||
{
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -4714,6 +4715,7 @@ fn sync_group_legacy_non_project_member() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -4825,6 +4827,7 @@ fn sync_group_self() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -6189,6 +6192,7 @@ fn convert_to_virtual() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -6249,6 +6253,7 @@ fn convert_to_virtual() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -6318,6 +6323,7 @@ fn convert_to_package() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -6383,6 +6389,7 @@ fn convert_to_package() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -8279,6 +8286,7 @@ fn sync_dynamic_extra() -> Result<()> {
|
|||
{
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -9702,6 +9710,7 @@ fn sync_stale_egg_info() -> Result<()> {
|
|||
{
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.13"
|
||||
|
|
@ -9809,6 +9818,7 @@ fn sync_git_repeated_member_static_metadata() -> Result<()> {
|
|||
{
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.13"
|
||||
|
|
@ -9903,6 +9913,7 @@ fn sync_git_repeated_member_dynamic_metadata() -> Result<()> {
|
|||
{
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.13"
|
||||
|
|
@ -10021,6 +10032,7 @@ fn sync_git_repeated_member_backwards_path() -> Result<()> {
|
|||
{
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.13"
|
||||
|
|
@ -10203,6 +10215,7 @@ fn sync_git_path_dependency() -> Result<()> {
|
|||
{
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.13"
|
||||
|
|
@ -10311,6 +10324,7 @@ fn sync_build_tag() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -10979,6 +10993,7 @@ fn sync_locked_script() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.11"
|
||||
|
|
@ -11084,6 +11099,7 @@ fn sync_locked_script() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.11"
|
||||
|
|
@ -11868,6 +11884,7 @@ fn locked_version_coherence() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -11972,6 +11989,7 @@ fn sync_build_constraints() -> Result<()> {
|
|||
{
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -12799,6 +12817,7 @@ fn conflicting_editable() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -12965,6 +12984,7 @@ fn undeclared_editable() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -14136,6 +14156,7 @@ fn toggle_workspace_editable() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -14221,6 +14242,7 @@ fn toggle_workspace_editable() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -14378,6 +14400,7 @@ fn workspace_editable_conflict() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -14475,6 +14498,7 @@ fn workspace_editable_conflict() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
|
|||
|
|
@ -1253,6 +1253,7 @@ fn script() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.11"
|
||||
|
|
@ -1439,6 +1440,7 @@ fn script() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.11"
|
||||
|
|
|
|||
|
|
@ -2474,6 +2474,7 @@ fn version_set_workspace() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -2534,6 +2535,7 @@ fn version_set_workspace() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -2661,6 +2663,7 @@ fn version_set_workspace() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -2807,6 +2810,7 @@ fn version_set_evil_constraints() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
@ -2893,6 +2897,7 @@ fn version_set_evil_constraints() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ fn packse_add_remove_one_package() {
|
|||
assert_snapshot!(diff, @r#"
|
||||
--- old
|
||||
+++ new
|
||||
@@ -307,20 +307,21 @@
|
||||
@@ -308,20 +308,21 @@
|
||||
name = "packse"
|
||||
version = "0.0.0"
|
||||
source = { editable = "." }
|
||||
|
|
@ -58,7 +58,7 @@ fn packse_add_remove_one_package() {
|
|||
{ name = "pypiserver" },
|
||||
{ name = "watchfiles" },
|
||||
]
|
||||
@@ -335,20 +336,21 @@
|
||||
@@ -336,20 +337,21 @@
|
||||
[package.metadata]
|
||||
requires-dist = [
|
||||
{ name = "chevron-blue", specifier = ">=0.2.1" },
|
||||
|
|
@ -80,7 +80,7 @@ fn packse_add_remove_one_package() {
|
|||
{ name = "pytest", specifier = ">=7.4.3" },
|
||||
{ name = "syrupy", specifier = ">=4.6.0" },
|
||||
]
|
||||
@@ -601,20 +603,29 @@
|
||||
@@ -602,20 +604,29 @@
|
||||
{ name = "rfc3986" },
|
||||
{ name = "rich" },
|
||||
{ name = "urllib3" },
|
||||
|
|
@ -124,7 +124,7 @@ fn packse_add_remove_one_package() {
|
|||
assert_snapshot!(diff, @r#"
|
||||
--- old
|
||||
+++ new
|
||||
@@ -307,21 +307,20 @@
|
||||
@@ -308,21 +308,20 @@
|
||||
name = "packse"
|
||||
version = "0.0.0"
|
||||
source = { editable = "." }
|
||||
|
|
@ -146,7 +146,7 @@ fn packse_add_remove_one_package() {
|
|||
{ name = "pypiserver" },
|
||||
{ name = "watchfiles" },
|
||||
]
|
||||
@@ -336,21 +335,20 @@
|
||||
@@ -337,21 +336,20 @@
|
||||
[package.metadata]
|
||||
requires-dist = [
|
||||
{ name = "chevron-blue", specifier = ">=0.2.1" },
|
||||
|
|
@ -168,7 +168,7 @@ fn packse_add_remove_one_package() {
|
|||
{ name = "pytest", specifier = ">=7.4.3" },
|
||||
{ name = "syrupy", specifier = ">=4.6.0" },
|
||||
]
|
||||
@@ -600,29 +598,20 @@
|
||||
@@ -601,29 +599,20 @@
|
||||
{ name = "readme-renderer" },
|
||||
{ name = "requests" },
|
||||
{ name = "requests-toolbelt" },
|
||||
|
|
@ -277,10 +277,10 @@ fn packse_promote_transitive_to_direct_then_remove() {
|
|||
insta::with_settings!({
|
||||
filters => context.filters(),
|
||||
}, {
|
||||
assert_snapshot!(diff, @r###"
|
||||
assert_snapshot!(diff, @r#"
|
||||
--- old
|
||||
+++ new
|
||||
@@ -306,20 +306,21 @@
|
||||
@@ -307,20 +307,21 @@
|
||||
[[package]]
|
||||
name = "packse"
|
||||
version = "0.0.0"
|
||||
|
|
@ -302,7 +302,7 @@ fn packse_promote_transitive_to_direct_then_remove() {
|
|||
serve = [
|
||||
{ name = "pypiserver" },
|
||||
{ name = "watchfiles" },
|
||||
@@ -334,20 +335,21 @@
|
||||
@@ -335,20 +336,21 @@
|
||||
|
||||
[package.metadata]
|
||||
requires-dist = [
|
||||
|
|
@ -324,7 +324,7 @@ fn packse_promote_transitive_to_direct_then_remove() {
|
|||
{ name = "psutil", specifier = ">=5.9.7" },
|
||||
{ name = "pytest", specifier = ">=7.4.3" },
|
||||
{ name = "syrupy", specifier = ">=4.6.0" },
|
||||
"###);
|
||||
"#);
|
||||
});
|
||||
|
||||
let diff = context.diff_lock(|context| {
|
||||
|
|
@ -335,10 +335,10 @@ fn packse_promote_transitive_to_direct_then_remove() {
|
|||
insta::with_settings!({
|
||||
filters => context.filters(),
|
||||
}, {
|
||||
assert_snapshot!(diff, @r###"
|
||||
assert_snapshot!(diff, @r#"
|
||||
--- old
|
||||
+++ new
|
||||
@@ -306,21 +306,20 @@
|
||||
@@ -307,21 +307,20 @@
|
||||
[[package]]
|
||||
name = "packse"
|
||||
version = "0.0.0"
|
||||
|
|
@ -360,7 +360,7 @@ fn packse_promote_transitive_to_direct_then_remove() {
|
|||
serve = [
|
||||
{ name = "pypiserver" },
|
||||
{ name = "watchfiles" },
|
||||
@@ -335,21 +334,20 @@
|
||||
@@ -336,21 +335,20 @@
|
||||
|
||||
[package.metadata]
|
||||
requires-dist = [
|
||||
|
|
@ -382,7 +382,7 @@ fn packse_promote_transitive_to_direct_then_remove() {
|
|||
{ name = "psutil", specifier = ">=5.9.7" },
|
||||
{ name = "pytest", specifier = ">=7.4.3" },
|
||||
{ name = "syrupy", specifier = ">=4.6.0" },
|
||||
"###);
|
||||
"#);
|
||||
});
|
||||
|
||||
// Back to where we started.
|
||||
|
|
@ -437,7 +437,7 @@ fn jax_instability() -> Result<()> {
|
|||
assert_snapshot!(diff, @r#"
|
||||
--- old
|
||||
+++ new
|
||||
@@ -9,21 +9,21 @@
|
||||
@@ -10,21 +10,21 @@
|
||||
]
|
||||
|
||||
[options]
|
||||
|
|
@ -460,7 +460,7 @@ fn jax_instability() -> Result<()> {
|
|||
name = "jax"
|
||||
version = "0.4.17"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
@@ -150,28 +150,41 @@
|
||||
@@ -151,28 +151,41 @@
|
||||
{ url = "https://files.pythonhosted.org/packages/f3/31/91a2a3c5eb85d2bfa86d7c98f2df5d77dcdefb3d80ca9f9037ad04393acf/scipy-1.12.0-cp312-cp312-win_amd64.whl", hash = "sha256:e646d8571804a304e1da01040d21577685ce8e2db08ac58e543eaca063453e1c", size = 45816713, upload-time = "2024-01-20T21:12:26.619Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/ed/be/49a3f999dc91f1a653847f38c34763dcdeaa8a327f3665bdfe9bf5555109/scipy-1.12.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:913d6e7956c3a671de3b05ccb66b11bc293f56bfdef040583a7221d9e22a2e35", size = 38929252, upload-time = "2024-01-20T21:12:33.197Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/32/48/f605bad3e610efe05a51b56698578f7a98f900513a4bad2c9f12df845cd6/scipy-1.12.0-cp39-cp39-macosx_12_0_arm64.whl", hash = "sha256:bba1b0c7256ad75401c73e4b3cf09d1f176e9bd4248f0d3112170fb2ec4db067", size = 31356374, upload-time = "2024-01-20T21:12:39.176Z" },
|
||||
|
|
@ -517,7 +517,7 @@ fn jax_instability() -> Result<()> {
|
|||
assert_snapshot!(diff, @r#"
|
||||
--- old
|
||||
+++ new
|
||||
@@ -150,41 +150,28 @@
|
||||
@@ -151,41 +151,28 @@
|
||||
{ url = "https://files.pythonhosted.org/packages/f3/31/91a2a3c5eb85d2bfa86d7c98f2df5d77dcdefb3d80ca9f9037ad04393acf/scipy-1.12.0-cp312-cp312-win_amd64.whl", hash = "sha256:e646d8571804a304e1da01040d21577685ce8e2db08ac58e543eaca063453e1c", size = 45816713, upload-time = "2024-01-20T21:12:26.619Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/ed/be/49a3f999dc91f1a653847f38c34763dcdeaa8a327f3665bdfe9bf5555109/scipy-1.12.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:913d6e7956c3a671de3b05ccb66b11bc293f56bfdef040583a7221d9e22a2e35", size = 38929252, upload-time = "2024-01-20T21:12:33.197Z" },
|
||||
{ url = "https://files.pythonhosted.org/packages/32/48/f605bad3e610efe05a51b56698578f7a98f900513a4bad2c9f12df845cd6/scipy-1.12.0-cp39-cp39-macosx_12_0_arm64.whl", hash = "sha256:bba1b0c7256ad75401c73e4b3cf09d1f176e9bd4248f0d3112170fb2ec4db067", size = 31356374, upload-time = "2024-01-20T21:12:39.176Z" },
|
||||
|
|
@ -578,7 +578,7 @@ fn jax_instability() -> Result<()> {
|
|||
assert_snapshot!(diff, @r#"
|
||||
--- old
|
||||
+++ new
|
||||
@@ -9,21 +9,21 @@
|
||||
@@ -10,21 +10,21 @@
|
||||
]
|
||||
|
||||
[options]
|
||||
|
|
|
|||
|
|
@ -1225,6 +1225,7 @@ fn workspace_inherit_sources() -> Result<()> {
|
|||
}, {
|
||||
assert_snapshot!(
|
||||
lock, @r#"
|
||||
# This file was @generated by uv. Do not edit by hand.
|
||||
version = 1
|
||||
revision = 3
|
||||
requires-python = ">=3.12"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue