From 7950c0e81b00a53675425964cb21953dfbdd2043 Mon Sep 17 00:00:00 2001 From: konstin Date: Wed, 7 Aug 2024 20:10:12 +0200 Subject: [PATCH] Introduce `default-source` to slim lockfile Currently, we're repeating the same `source` line for every package, so the lockfiles have a lot of: ```toml source = { registry = "https://pypi.org/simple" } ``` This PR introduces a top level `default-source` entry set to the default index URL, if any. When the source matches, we don't repeat the `source` entry. This reduces the number of lines in `uv.lock` noticeably across the board: * A small data science project: 421 -> 394 * A small bot: 455 -> 426 * Transformers: 5683 -> 5419 * Warehouse: 4632 -> 4306 * Airflow: 2709 -> 2576 Caveat: We don't have good multi-index coverage (#5882). 3/3 for #4893 --- crates/uv-resolver/src/lock.rs | 184 ++++-- ...r__lock__tests__hash_optional_missing.snap | 1 + ...r__lock__tests__hash_optional_present.snap | 1 + ...r__lock__tests__hash_required_present.snap | 1 + ...__missing_dependency_source_ambiguous.snap | 2 +- ...missing_dependency_source_unambiguous.snap | 1 + ...dependency_source_version_unambiguous.snap | 1 + ...issing_dependency_version_unambiguous.snap | 1 + ...lock__tests__source_direct_has_subdir.snap | 1 + ..._lock__tests__source_direct_no_subdir.snap | 1 + ...solver__lock__tests__source_directory.snap | 1 + ...esolver__lock__tests__source_editable.snap | 1 + crates/uv/src/commands/project/lock.rs | 5 +- crates/uv/tests/branching_urls.rs | 30 +- crates/uv/tests/edit.rs | 43 +- crates/uv/tests/lock.rs | 528 ++++++++---------- crates/uv/tests/lock_scenarios.rs | 149 ++--- 17 files changed, 472 insertions(+), 479 deletions(-) diff --git a/crates/uv-resolver/src/lock.rs b/crates/uv-resolver/src/lock.rs index 61606c79bbe6..2c8eb9f6a9a5 100644 --- a/crates/uv-resolver/src/lock.rs +++ b/crates/uv-resolver/src/lock.rs @@ -59,6 +59,8 @@ pub struct Lock { fork_markers: Option>, /// The range of supported Python versions. requires_python: Option, + /// The main index, which is used as source if no other source is configured. + default_source: Option, /// The [`ResolutionMode`] used to generate this lock. resolution_mode: ResolutionMode, /// The [`PrereleaseMode`] used to generate this lock. @@ -83,7 +85,10 @@ pub struct Lock { impl Lock { /// Initialize a [`Lock`] from a [`ResolutionGraph`]. - pub fn from_resolution_graph(graph: &ResolutionGraph) -> Result { + pub fn from_resolution_graph( + graph: &ResolutionGraph, + default_index: Option<&IndexUrl>, + ) -> Result { let mut locked_dists = BTreeMap::new(); // Lock all base packages. @@ -161,11 +166,14 @@ impl Lock { let distributions = locked_dists.into_values().collect(); let requires_python = graph.requires_python.clone(); + let default_source = + default_index.map(|index| Source::Registry(UrlString::from(index.url()))); let options = graph.options; let lock = Self::new( VERSION, distributions, requires_python, + default_source, options.resolution_mode, options.prerelease_mode, options.exclude_newer, @@ -179,6 +187,7 @@ impl Lock { version: u32, mut distributions: Vec, requires_python: Option, + default_source: Option, resolution_mode: ResolutionMode, prerelease_mode: PrereleaseMode, exclude_newer: Option, @@ -338,6 +347,7 @@ impl Lock { version, fork_markers, requires_python, + default_source, resolution_mode, prerelease_mode, exclude_newer, @@ -479,6 +489,9 @@ impl Lock { let mut doc = toml_edit::DocumentMut::new(); doc.insert("version", value(i64::from(self.version))); + if let Some(ref default_source) = self.default_source { + doc.insert("default-source", value(default_source.to_toml())); + } if let Some(ref requires_python) = self.requires_python { doc.insert("requires-python", value(requires_python.to_string())); } @@ -512,7 +525,7 @@ impl Lock { let mut distributions = ArrayOfTables::new(); for dist in &self.distributions { - distributions.push(dist.to_toml(&dist_count_by_name)?); + distributions.push(dist.to_toml(&dist_count_by_name, self.default_source.as_ref())?); } doc.insert("distribution", Item::ArrayOfTables(distributions)); @@ -614,6 +627,8 @@ struct LockWire { #[serde(rename = "environment-markers")] fork_markers: Option>, #[serde(default)] + default_source: Option, + #[serde(default)] resolution_mode: ResolutionMode, #[serde(default)] prerelease_mode: PrereleaseMode, @@ -628,6 +643,7 @@ impl From for LockWire { LockWire { version: lock.version, requires_python: lock.requires_python, + default_source: lock.default_source, fork_markers: lock.fork_markers, resolution_mode: lock.resolution_mode, prerelease_mode: lock.prerelease_mode, @@ -659,18 +675,24 @@ impl TryFrom for Lock { ambiguous.insert(dist.id.name.clone()); continue; } - unambiguous_dist_ids.insert(dist.id.name.clone(), dist.id.clone()); + unambiguous_dist_ids.insert( + dist.id.name.clone(), + dist.id + .clone() + .into_distribution_id(wire.default_source.as_ref())?, + ); } let distributions = wire .distributions .into_iter() - .map(|dist| dist.unwire(&unambiguous_dist_ids)) + .map(|dist| dist.unwire(&unambiguous_dist_ids, wire.default_source.as_ref())) .collect::, _>>()?; Lock::new( wire.version, distributions, wire.requires_python, + wire.default_source, wire.resolution_mode, wire.prerelease_mode, wire.exclude_newer, @@ -1054,10 +1076,14 @@ impl Distribution { }) } - fn to_toml(&self, dist_count_by_name: &FxHashMap) -> anyhow::Result { + fn to_toml( + &self, + dist_count_by_name: &FxHashMap, + default_source: Option<&Source>, + ) -> anyhow::Result
{ let mut table = Table::new(); - self.id.to_toml(None, &mut table); + self.id.to_toml(None, &mut table, default_source); if let Some(ref fork_markers) = self.fork_markers { let wheels = @@ -1066,21 +1092,20 @@ impl Distribution { } if !self.dependencies.is_empty() { - let deps = each_element_on_its_line_array( - self.dependencies - .iter() - .map(|dep| dep.to_toml(dist_count_by_name).into_inline_table()), - ); + let deps = each_element_on_its_line_array(self.dependencies.iter().map(|dep| { + dep.to_toml(dist_count_by_name, default_source) + .into_inline_table() + })); table.insert("dependencies", value(deps)); } if !self.optional_dependencies.is_empty() { let mut optional_deps = Table::new(); for (extra, deps) in &self.optional_dependencies { - let deps = each_element_on_its_line_array( - deps.iter() - .map(|dep| dep.to_toml(dist_count_by_name).into_inline_table()), - ); + let deps = each_element_on_its_line_array(deps.iter().map(|dep| { + dep.to_toml(dist_count_by_name, default_source) + .into_inline_table() + })); optional_deps.insert(extra.as_ref(), value(deps)); } table.insert("optional-dependencies", Item::Table(optional_deps)); @@ -1089,10 +1114,10 @@ impl Distribution { if !self.dev_dependencies.is_empty() { let mut dev_dependencies = Table::new(); for (extra, deps) in &self.dev_dependencies { - let deps = each_element_on_its_line_array( - deps.iter() - .map(|dep| dep.to_toml(dist_count_by_name).into_inline_table()), - ); + let deps = each_element_on_its_line_array(deps.iter().map(|dep| { + dep.to_toml(dist_count_by_name, default_source) + .into_inline_table() + })); dev_dependencies.insert(extra.as_ref(), value(deps)); } table.insert("dev-dependencies", Item::Table(dev_dependencies)); @@ -1200,11 +1225,52 @@ fn verbatim_url(path: PathBuf, id: &DistributionId) -> Result, +} + +impl From for DistributionIdWire { + fn from(dist_id: DistributionId) -> Self { + Self { + name: dist_id.name, + version: dist_id.version, + source: Some(dist_id.source), + } + } +} + +impl DistributionIdWire { + fn into_distribution_id( + self, + default_source: Option<&Source>, + ) -> Result { + let source = match self.source { + None => default_source + .ok_or_else(|| LockErrorKind::MissingSource { + name: self.name.clone(), + version: self.version.clone(), + })? + .clone(), + Some(source) => source, + }; + Ok(DistributionId { + name: self.name, + version: self.version, + source, + }) + } +} + #[derive(Clone, Debug, serde::Deserialize)] #[serde(rename_all = "kebab-case")] struct DistributionWire { #[serde(flatten)] - id: DistributionId, + id: DistributionIdWire, #[serde(default)] sdist: Option, #[serde(default)] @@ -1223,14 +1289,15 @@ impl DistributionWire { fn unwire( self, unambiguous_dist_ids: &FxHashMap, + default_source: Option<&Source>, ) -> Result { let unwire_deps = |deps: Vec| -> Result, LockError> { deps.into_iter() - .map(|dep| dep.unwire(unambiguous_dist_ids)) + .map(|dep| dep.unwire(unambiguous_dist_ids, default_source)) .collect() }; Ok(Distribution { - id: self.id, + id: self.id.into_distribution_id(default_source)?, sdist: self.sdist, wheels: self.wheels, fork_markers: (!self.fork_markers.is_empty()).then_some(self.fork_markers), @@ -1255,7 +1322,7 @@ impl From for DistributionWire { deps.into_iter().map(DependencyWire::from).collect() }; DistributionWire { - id: dist.id, + id: DistributionIdWire::from(dist.id), sdist: dist.sdist, wheels: dist.wheels, fork_markers: dist.fork_markers.unwrap_or_default(), @@ -1288,6 +1355,7 @@ impl DistributionId { let name = annotated_dist.metadata.name.clone(); let version = annotated_dist.metadata.version.clone(); let source = Source::from_resolved_dist(&annotated_dist.dist); + DistributionId { name, version, @@ -1301,12 +1369,19 @@ impl DistributionId { /// (i.e., it has a count of 1 in the map), then the `version` and `source` /// fields are omitted. In all other cases, including when a map is not /// given, the `version` and `source` fields are written. - fn to_toml(&self, dist_count_by_name: Option<&FxHashMap>, table: &mut Table) { + fn to_toml( + &self, + dist_count_by_name: Option<&FxHashMap>, + table: &mut Table, + default_source: Option<&Source>, + ) { let count = dist_count_by_name.and_then(|map| map.get(&self.name).copied()); table.insert("name", value(self.name.to_string())); if count.map(|count| count > 1).unwrap_or(true) { table.insert("version", value(self.version.to_string())); - self.source.to_toml(table); + if !self.source.is_default_source(default_source) { + table.insert("source", value(self.source.to_toml())); + } } } } @@ -1328,6 +1403,7 @@ impl DistributionIdForDependency { fn unwire( self, unambiguous_dist_ids: &FxHashMap, + default_source: Option<&Source>, ) -> Result { let unambiguous_dist_id = unambiguous_dist_ids.get(&self.name); let version = self.version.map(Ok::<_, LockError>).unwrap_or_else(|| { @@ -1339,15 +1415,20 @@ impl DistributionIdForDependency { }; Ok(dist_id.version.clone()) })?; - let source = self.source.map(Ok::<_, LockError>).unwrap_or_else(|| { - let Some(dist_id) = unambiguous_dist_id else { - return Err(LockErrorKind::MissingDependencySource { - name: self.name.clone(), - } - .into()); - }; - Ok(dist_id.source.clone()) - })?; + + // If we have an explicit source use that. If the source is elided, there can be two + // reasons: The source is unambiguous, or we're using the default source. + let Some(source) = self + .source + .clone() + .or_else(|| unambiguous_dist_id.map(|dist_id| dist_id.source.clone())) + .or_else(|| default_source.cloned()) + else { + return Err(LockErrorKind::MissingDependencySource { + name: self.name.clone(), + } + .into()); + }; Ok(DistributionId { name: self.name, version, @@ -1502,7 +1583,12 @@ impl Source { ) } - fn to_toml(&self, table: &mut Table) { + /// Whether this source equals the default index and should be omitted. + fn is_default_source(&self, default_source: Option<&Source>) -> bool { + default_source.is_some_and(|default_source| default_source == self) + } + + fn to_toml(&self) -> InlineTable { let mut source_table = InlineTable::new(); match *self { Source::Registry(ref url) => { @@ -1533,7 +1619,7 @@ impl Source { ); } } - table.insert("source", value(source_table)); + source_table } } @@ -2259,10 +2345,14 @@ impl Dependency { } /// Returns the TOML representation of this dependency. - fn to_toml(&self, dist_count_by_name: &FxHashMap) -> Table { + fn to_toml( + &self, + dist_count_by_name: &FxHashMap, + default_source: Option<&Source>, + ) -> Table { let mut table = Table::new(); self.distribution_id - .to_toml(Some(dist_count_by_name), &mut table); + .to_toml(Some(dist_count_by_name), &mut table, default_source); if !self.extra.is_empty() { let extra_array = self .extra @@ -2316,9 +2406,12 @@ impl DependencyWire { fn unwire( self, unambiguous_dist_ids: &FxHashMap, + default_source: Option<&Source>, ) -> Result { Ok(Dependency { - distribution_id: self.distribution_id.unwire(unambiguous_dist_ids)?, + distribution_id: self + .distribution_id + .unwire(unambiguous_dist_ids, default_source)?, extra: self.extra, marker: self.marker, }) @@ -2522,6 +2615,17 @@ enum LockErrorKind { /// The ID of the distribution that is missing a URL. id: DistributionId, }, + /// An error that occurs when a distribution does not declare a source but there is also no + /// top level `index` entry. + #[error( + "found registry distribution {name}=={version} without a source, and no top level `index` is declared." + )] + MissingSource { + /// The name of the distribution that is missing a source. + name: PackageName, + /// The version of the distribution that is missing a source. + version: Version, + }, /// An error that occurs when a distribution indicates that it is sourced from a registry, but /// is missing a filename. #[error("found registry distribution {id} without a valid filename")] @@ -2558,7 +2662,7 @@ enum LockErrorKind { /// An error that occurs when an ambiguous `distribution.dependency` is /// missing a `source` field. #[error( - "dependency {name} has missing `source` \ + "dependency {name} has no `source` and no `default-source` is defined \ field but has more than one matching distribution" )] MissingDependencySource { diff --git a/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__hash_optional_missing.snap b/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__hash_optional_missing.snap index bc5bfe507de4..c825e6292132 100644 --- a/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__hash_optional_missing.snap +++ b/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__hash_optional_missing.snap @@ -7,6 +7,7 @@ Ok( version: 1, fork_markers: None, requires_python: None, + default_source: None, resolution_mode: Highest, prerelease_mode: IfNecessaryOrExplicit, exclude_newer: None, diff --git a/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__hash_optional_present.snap b/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__hash_optional_present.snap index bd0581d79423..758a665fcb31 100644 --- a/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__hash_optional_present.snap +++ b/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__hash_optional_present.snap @@ -7,6 +7,7 @@ Ok( version: 1, fork_markers: None, requires_python: None, + default_source: None, resolution_mode: Highest, prerelease_mode: IfNecessaryOrExplicit, exclude_newer: None, diff --git a/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__hash_required_present.snap b/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__hash_required_present.snap index 95f2a9993cbc..f3dda006e7c1 100644 --- a/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__hash_required_present.snap +++ b/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__hash_required_present.snap @@ -7,6 +7,7 @@ Ok( version: 1, fork_markers: None, requires_python: None, + default_source: None, resolution_mode: Highest, prerelease_mode: IfNecessaryOrExplicit, exclude_newer: None, diff --git a/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__missing_dependency_source_ambiguous.snap b/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__missing_dependency_source_ambiguous.snap index e7b0acc3d849..d2ddfbcad6e7 100644 --- a/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__missing_dependency_source_ambiguous.snap +++ b/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__missing_dependency_source_ambiguous.snap @@ -6,7 +6,7 @@ Err( Error { inner: Error { inner: TomlError { - message: "dependency a has missing `source` field but has more than one matching distribution", + message: "dependency a has no `source` and no `default-source` is defined field but has more than one matching distribution", raw: None, keys: [], span: None, diff --git a/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__missing_dependency_source_unambiguous.snap b/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__missing_dependency_source_unambiguous.snap index cd6bc6db2305..1c602aa933b0 100644 --- a/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__missing_dependency_source_unambiguous.snap +++ b/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__missing_dependency_source_unambiguous.snap @@ -7,6 +7,7 @@ Ok( version: 1, fork_markers: None, requires_python: None, + default_source: None, resolution_mode: Highest, prerelease_mode: IfNecessaryOrExplicit, exclude_newer: None, diff --git a/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__missing_dependency_source_version_unambiguous.snap b/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__missing_dependency_source_version_unambiguous.snap index cd6bc6db2305..1c602aa933b0 100644 --- a/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__missing_dependency_source_version_unambiguous.snap +++ b/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__missing_dependency_source_version_unambiguous.snap @@ -7,6 +7,7 @@ Ok( version: 1, fork_markers: None, requires_python: None, + default_source: None, resolution_mode: Highest, prerelease_mode: IfNecessaryOrExplicit, exclude_newer: None, diff --git a/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__missing_dependency_version_unambiguous.snap b/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__missing_dependency_version_unambiguous.snap index cd6bc6db2305..1c602aa933b0 100644 --- a/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__missing_dependency_version_unambiguous.snap +++ b/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__missing_dependency_version_unambiguous.snap @@ -7,6 +7,7 @@ Ok( version: 1, fork_markers: None, requires_python: None, + default_source: None, resolution_mode: Highest, prerelease_mode: IfNecessaryOrExplicit, exclude_newer: None, diff --git a/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__source_direct_has_subdir.snap b/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__source_direct_has_subdir.snap index a80bda2fa5d9..bf987443e8bd 100644 --- a/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__source_direct_has_subdir.snap +++ b/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__source_direct_has_subdir.snap @@ -7,6 +7,7 @@ Ok( version: 1, fork_markers: None, requires_python: None, + default_source: None, resolution_mode: Highest, prerelease_mode: IfNecessaryOrExplicit, exclude_newer: None, diff --git a/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__source_direct_no_subdir.snap b/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__source_direct_no_subdir.snap index 746b0c8b520f..955fe633ba5c 100644 --- a/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__source_direct_no_subdir.snap +++ b/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__source_direct_no_subdir.snap @@ -7,6 +7,7 @@ Ok( version: 1, fork_markers: None, requires_python: None, + default_source: None, resolution_mode: Highest, prerelease_mode: IfNecessaryOrExplicit, exclude_newer: None, diff --git a/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__source_directory.snap b/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__source_directory.snap index 2d196221e16b..8d11ac6ed556 100644 --- a/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__source_directory.snap +++ b/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__source_directory.snap @@ -7,6 +7,7 @@ Ok( version: 1, fork_markers: None, requires_python: None, + default_source: None, resolution_mode: Highest, prerelease_mode: IfNecessaryOrExplicit, exclude_newer: None, diff --git a/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__source_editable.snap b/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__source_editable.snap index 26fe7527ad76..18d61a4b7fbf 100644 --- a/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__source_editable.snap +++ b/crates/uv-resolver/src/snapshots/uv_resolver__lock__tests__source_editable.snap @@ -7,6 +7,7 @@ Ok( version: 1, fork_markers: None, requires_python: None, + default_source: None, resolution_mode: Highest, prerelease_mode: IfNecessaryOrExplicit, exclude_newer: None, diff --git a/crates/uv/src/commands/project/lock.rs b/crates/uv/src/commands/project/lock.rs index 567168cc7a03..f6d0a5d46da3 100644 --- a/crates/uv/src/commands/project/lock.rs +++ b/crates/uv/src/commands/project/lock.rs @@ -561,7 +561,10 @@ async fn do_lock( // Notify the user of any resolution diagnostics. pip::operations::diagnose_resolution(resolution.diagnostics(), printer)?; - Ok(Lock::from_resolution_graph(&resolution)?) + Ok(Lock::from_resolution_graph( + &resolution, + index_locations.index(), + )?) } /// Write the lockfile to disk. diff --git a/crates/uv/tests/branching_urls.rs b/crates/uv/tests/branching_urls.rs index 665b66aab4e4..9a8ddec98453 100644 --- a/crates/uv/tests/branching_urls.rs +++ b/crates/uv/tests/branching_urls.rs @@ -207,6 +207,7 @@ fn root_package_splits_transitive_too() -> Result<()> { assert_snapshot!(fs_err::read_to_string(context.temp_dir.join("uv.lock"))?, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.11, <3.13" environment-markers = [ "python_version < '3.12'", @@ -219,15 +220,14 @@ fn root_package_splits_transitive_too() -> Result<()> { version = "0.1.0" source = { editable = "." } dependencies = [ - { name = "anyio", version = "4.2.0", source = { registry = "https://pypi.org/simple" }, marker = "python_version < '3.12'" }, - { name = "anyio", version = "4.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_version >= '3.12'" }, + { name = "anyio", version = "4.2.0", marker = "python_version < '3.12'" }, + { name = "anyio", version = "4.3.0", marker = "python_version >= '3.12'" }, { name = "b" }, ] [[distribution]] name = "anyio" version = "4.2.0" - source = { registry = "https://pypi.org/simple" } environment-markers = [ "python_version < '3.12'", ] @@ -243,7 +243,6 @@ fn root_package_splits_transitive_too() -> Result<()> { [[distribution]] name = "anyio" version = "4.3.0" - source = { registry = "https://pypi.org/simple" } environment-markers = [ "python_version >= '3.12'", ] @@ -284,7 +283,6 @@ fn root_package_splits_transitive_too() -> Result<()> { [[distribution]] name = "idna" version = "3.6" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/bf/3f/ea4b9117521a1e9c50344b909be7886dd00a519552724809bb1f486986c2/idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca", size = 175426 } wheels = [ { url = "https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f", size = 61567 }, @@ -315,7 +313,6 @@ fn root_package_splits_transitive_too() -> Result<()> { [[distribution]] name = "sniffio" version = "1.3.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372 } wheels = [ { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235 }, @@ -381,6 +378,7 @@ fn root_package_splits_other_dependencies_too() -> Result<()> { assert_snapshot!(fs_err::read_to_string(context.temp_dir.join("uv.lock"))?, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.11, <3.13" environment-markers = [ "python_version < '3.12'", @@ -393,8 +391,8 @@ fn root_package_splits_other_dependencies_too() -> Result<()> { version = "0.1.0" source = { editable = "." } dependencies = [ - { name = "anyio", version = "4.2.0", source = { registry = "https://pypi.org/simple" }, marker = "python_version < '3.12'" }, - { name = "anyio", version = "4.3.0", source = { registry = "https://pypi.org/simple" }, marker = "python_version >= '3.12'" }, + { name = "anyio", version = "4.2.0", marker = "python_version < '3.12'" }, + { name = "anyio", version = "4.3.0", marker = "python_version >= '3.12'" }, { name = "b1", marker = "python_version < '3.12'" }, { name = "b2", marker = "python_version >= '3.12'" }, ] @@ -402,7 +400,6 @@ fn root_package_splits_other_dependencies_too() -> Result<()> { [[distribution]] name = "anyio" version = "4.2.0" - source = { registry = "https://pypi.org/simple" } environment-markers = [ "python_version < '3.12'", ] @@ -418,7 +415,6 @@ fn root_package_splits_other_dependencies_too() -> Result<()> { [[distribution]] name = "anyio" version = "4.3.0" - source = { registry = "https://pypi.org/simple" } environment-markers = [ "python_version >= '3.12'", ] @@ -436,7 +432,7 @@ fn root_package_splits_other_dependencies_too() -> Result<()> { version = "0.1.0" source = { directory = "b1" } dependencies = [ - { name = "iniconfig", version = "1.1.1", source = { registry = "https://pypi.org/simple" }, marker = "python_version < '3.12'" }, + { name = "iniconfig", version = "1.1.1", marker = "python_version < '3.12'" }, ] [[distribution]] @@ -444,13 +440,12 @@ fn root_package_splits_other_dependencies_too() -> Result<()> { version = "0.1.0" source = { directory = "b2" } dependencies = [ - { name = "iniconfig", version = "2.0.0", source = { registry = "https://pypi.org/simple" }, marker = "python_version >= '3.12'" }, + { name = "iniconfig", version = "2.0.0", marker = "python_version >= '3.12'" }, ] [[distribution]] name = "idna" version = "3.6" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/bf/3f/ea4b9117521a1e9c50344b909be7886dd00a519552724809bb1f486986c2/idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca", size = 175426 } wheels = [ { url = "https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f", size = 61567 }, @@ -459,7 +454,6 @@ fn root_package_splits_other_dependencies_too() -> Result<()> { [[distribution]] name = "iniconfig" version = "1.1.1" - source = { registry = "https://pypi.org/simple" } environment-markers = [ "python_version < '3.12'", ] @@ -471,7 +465,6 @@ fn root_package_splits_other_dependencies_too() -> Result<()> { [[distribution]] name = "iniconfig" version = "2.0.0" - source = { registry = "https://pypi.org/simple" } environment-markers = [ "python_version >= '3.12'", ] @@ -483,7 +476,6 @@ fn root_package_splits_other_dependencies_too() -> Result<()> { [[distribution]] name = "sniffio" version = "1.3.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372 } wheels = [ { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235 }, @@ -526,6 +518,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!(fs_err::read_to_string(context.temp_dir.join("uv.lock"))?, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.11, <3.13" environment-markers = [ "python_version < '3.12'", @@ -538,14 +531,13 @@ fn branching_between_registry_and_direct_url() -> Result<()> { version = "0.1.0" source = { editable = "." } dependencies = [ - { name = "iniconfig", version = "1.1.1", source = { registry = "https://pypi.org/simple" }, marker = "python_version < '3.12'" }, + { name = "iniconfig", version = "1.1.1", marker = "python_version < '3.12'" }, { name = "iniconfig", version = "2.0.0", source = { url = "https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl" }, marker = "python_version >= '3.12'" }, ] [[distribution]] name = "iniconfig" version = "1.1.1" - source = { registry = "https://pypi.org/simple" } environment-markers = [ "python_version < '3.12'", ] @@ -603,6 +595,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!(fs_err::read_to_string(context.temp_dir.join("uv.lock"))?, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.11, <3.13" environment-markers = [ "python_version < '3.12'", @@ -722,6 +715,7 @@ fn dont_pre_visit_url_packages() -> Result<()> { assert_snapshot!(fs_err::read_to_string(context.temp_dir.join("uv.lock"))?, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.11, <3.13" exclude-newer = "2024-03-25 00:00:00 UTC" diff --git a/crates/uv/tests/edit.rs b/crates/uv/tests/edit.rs index 3236d76a0af7..8312910cf2ff 100644 --- a/crates/uv/tests/edit.rs +++ b/crates/uv/tests/edit.rs @@ -68,13 +68,13 @@ fn add_registry() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "anyio" version = "3.7.0" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "idna" }, { name = "sniffio" }, @@ -87,7 +87,6 @@ fn add_registry() -> Result<()> { [[distribution]] name = "idna" version = "3.6" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/bf/3f/ea4b9117521a1e9c50344b909be7886dd00a519552724809bb1f486986c2/idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca", size = 175426 } wheels = [ { url = "https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f", size = 61567 }, @@ -104,7 +103,6 @@ fn add_registry() -> Result<()> { [[distribution]] name = "sniffio" version = "1.3.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372 } wheels = [ { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235 }, @@ -221,13 +219,13 @@ fn add_git() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "anyio" version = "3.7.0" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "idna" }, { name = "sniffio" }, @@ -240,7 +238,6 @@ fn add_git() -> Result<()> { [[distribution]] name = "idna" version = "3.6" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/bf/3f/ea4b9117521a1e9c50344b909be7886dd00a519552724809bb1f486986c2/idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca", size = 175426 } wheels = [ { url = "https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f", size = 61567 }, @@ -258,7 +255,6 @@ fn add_git() -> Result<()> { [[distribution]] name = "sniffio" version = "1.3.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372 } wheels = [ { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235 }, @@ -426,13 +422,13 @@ fn add_git_raw() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "anyio" version = "3.7.0" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "idna" }, { name = "sniffio" }, @@ -445,7 +441,6 @@ fn add_git_raw() -> Result<()> { [[distribution]] name = "idna" version = "3.6" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/bf/3f/ea4b9117521a1e9c50344b909be7886dd00a519552724809bb1f486986c2/idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca", size = 175426 } wheels = [ { url = "https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f", size = 61567 }, @@ -463,7 +458,6 @@ fn add_git_raw() -> Result<()> { [[distribution]] name = "sniffio" version = "1.3.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372 } wheels = [ { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235 }, @@ -580,6 +574,7 @@ fn add_unnamed() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" @@ -673,13 +668,13 @@ fn add_remove_dev() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "anyio" version = "3.7.0" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "idna" }, { name = "sniffio" }, @@ -692,7 +687,6 @@ fn add_remove_dev() -> Result<()> { [[distribution]] name = "idna" version = "3.6" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/bf/3f/ea4b9117521a1e9c50344b909be7886dd00a519552724809bb1f486986c2/idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca", size = 175426 } wheels = [ { url = "https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f", size = 61567 }, @@ -711,7 +705,6 @@ fn add_remove_dev() -> Result<()> { [[distribution]] name = "sniffio" version = "1.3.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372 } wheels = [ { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235 }, @@ -789,6 +782,7 @@ fn add_remove_dev() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" @@ -874,13 +868,13 @@ fn add_remove_optional() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "anyio" version = "3.7.0" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "idna" }, { name = "sniffio" }, @@ -893,7 +887,6 @@ fn add_remove_optional() -> Result<()> { [[distribution]] name = "idna" version = "3.6" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/bf/3f/ea4b9117521a1e9c50344b909be7886dd00a519552724809bb1f486986c2/idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca", size = 175426 } wheels = [ { url = "https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f", size = 61567 }, @@ -912,7 +905,6 @@ fn add_remove_optional() -> Result<()> { [[distribution]] name = "sniffio" version = "1.3.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372 } wheels = [ { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235 }, @@ -991,6 +983,7 @@ fn add_remove_optional() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" @@ -1115,6 +1108,7 @@ fn add_remove_workspace() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" @@ -1188,6 +1182,7 @@ fn add_remove_workspace() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" @@ -1297,6 +1292,7 @@ fn add_workspace_editable() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" @@ -1492,13 +1488,13 @@ fn update() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "certifi" version = "2024.2.2" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/71/da/e94e26401b62acd6d91df2b52954aceb7f561743aa5ccc32152886c76c96/certifi-2024.2.2.tar.gz", hash = "sha256:0569859f95fc761b18b45ef421b1290a0f65f147e92a1e5eb3e635f9a5e4e66f", size = 164886 } wheels = [ { url = "https://files.pythonhosted.org/packages/ba/06/a07f096c664aeb9f01624f858c3add0a4e913d6c96257acb4fce61e7de14/certifi-2024.2.2-py3-none-any.whl", hash = "sha256:dc383c07b76109f368f6106eee2b593b04a011ea4d55f652c6ca24a754d1cdd1", size = 163774 }, @@ -1507,7 +1503,6 @@ fn update() -> Result<()> { [[distribution]] name = "chardet" version = "5.2.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/f3/0d/f7b6ab21ec75897ed80c17d79b15951a719226b9fababf1e40ea74d69079/chardet-5.2.0.tar.gz", hash = "sha256:1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7", size = 2069618 } wheels = [ { url = "https://files.pythonhosted.org/packages/38/6f/f5fbc992a329ee4e0f288c1fe0e2ad9485ed064cac731ed2fe47dcc38cbf/chardet-5.2.0-py3-none-any.whl", hash = "sha256:e1cf59446890a00105fe7b7912492ea04b6e6f06d4b742b2c788469e34c82970", size = 199385 }, @@ -1516,7 +1511,6 @@ fn update() -> Result<()> { [[distribution]] name = "charset-normalizer" version = "3.3.2" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/63/09/c1bc53dab74b1816a00d8d030de5bf98f724c52c1635e07681d312f20be8/charset-normalizer-3.3.2.tar.gz", hash = "sha256:f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5", size = 104809 } wheels = [ { url = "https://files.pythonhosted.org/packages/d1/b2/fcedc8255ec42afee97f9e6f0145c734bbe104aac28300214593eb326f1d/charset_normalizer-3.3.2-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:0b2b64d2bb6d3fb9112bafa732def486049e63de9618b5843bcdd081d8144cd8", size = 192892 }, @@ -1540,7 +1534,6 @@ fn update() -> Result<()> { [[distribution]] name = "idna" version = "3.6" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/bf/3f/ea4b9117521a1e9c50344b909be7886dd00a519552724809bb1f486986c2/idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca", size = 175426 } wheels = [ { url = "https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f", size = 61567 }, @@ -1557,7 +1550,6 @@ fn update() -> Result<()> { [[distribution]] name = "pysocks" version = "1.7.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/bd/11/293dd436aea955d45fc4e8a35b6ae7270f5b8e00b53cf6c024c83b657a11/PySocks-1.7.1.tar.gz", hash = "sha256:3f8804571ebe159c380ac6de37643bb4685970655d3bba243530d6558b799aa0", size = 284429 } wheels = [ { url = "https://files.pythonhosted.org/packages/8d/59/b4572118e098ac8e46e399a1dd0f2d85403ce8bbaad9ec79373ed6badaf9/PySocks-1.7.1-py3-none-any.whl", hash = "sha256:2725bd0a9925919b9b51739eea5f9e2bae91e83288108a9ad338b2e3a4435ee5", size = 16725 }, @@ -1585,7 +1577,6 @@ fn update() -> Result<()> { [[distribution]] name = "urllib3" version = "2.2.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/7a/50/7fd50a27caa0652cd4caf224aa87741ea41d3265ad13f010886167cfcc79/urllib3-2.2.1.tar.gz", hash = "sha256:d0570876c61ab9e520d776c38acbbb5b05a776d3f9ff98a5c8fd5162a444cf19", size = 291020 } wheels = [ { url = "https://files.pythonhosted.org/packages/a2/73/a68704750a7679d0b6d3ad7aa8d4da8e14e151ae82e6fee774e6e0d05ec8/urllib3-2.2.1-py3-none-any.whl", hash = "sha256:450b20ec296a467077128bff42b73080516e71b56ff59a60a02bef2232c4fa9d", size = 121067 }, @@ -1759,13 +1750,13 @@ fn add_no_clean() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "iniconfig" version = "2.0.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/d7/4b/cbd8e699e64a6f16ca3a8220661b5f83792b3017d0f79807cb8708d33913/iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3", size = 4646 } wheels = [ { url = "https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374", size = 5892 }, @@ -1891,6 +1882,7 @@ fn remove_registry() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" @@ -2461,13 +2453,13 @@ fn add_lower_bound_optional() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "anyio" version = "4.3.0" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "idna" }, { name = "sniffio" }, @@ -2480,7 +2472,6 @@ fn add_lower_bound_optional() -> Result<()> { [[distribution]] name = "idna" version = "3.6" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/bf/3f/ea4b9117521a1e9c50344b909be7886dd00a519552724809bb1f486986c2/idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca", size = 175426 } wheels = [ { url = "https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f", size = 61567 }, @@ -2499,7 +2490,6 @@ fn add_lower_bound_optional() -> Result<()> { [[distribution]] name = "sniffio" version = "1.3.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372 } wheels = [ { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235 }, @@ -2566,6 +2556,7 @@ fn add_lower_bound_local() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" [[distribution]] @@ -2666,13 +2657,13 @@ fn add_virtual() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "iniconfig" version = "2.0.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/d7/4b/cbd8e699e64a6f16ca3a8220661b5f83792b3017d0f79807cb8708d33913/iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3", size = 4646 } wheels = [ { url = "https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374", size = 5892 }, diff --git a/crates/uv/tests/lock.rs b/crates/uv/tests/lock.rs index c5ae85c65d5a..ba65c1c761f7 100644 --- a/crates/uv/tests/lock.rs +++ b/crates/uv/tests/lock.rs @@ -65,13 +65,13 @@ fn lock_wheel_registry() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "anyio" version = "3.7.0" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "idna" }, { name = "sniffio" }, @@ -84,7 +84,6 @@ fn lock_wheel_registry() -> Result<()> { [[distribution]] name = "idna" version = "3.6" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/bf/3f/ea4b9117521a1e9c50344b909be7886dd00a519552724809bb1f486986c2/idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca", size = 175426 } wheels = [ { url = "https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f", size = 61567 }, @@ -101,7 +100,6 @@ fn lock_wheel_registry() -> Result<()> { [[distribution]] name = "sniffio" version = "1.3.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372 } wheels = [ { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235 }, @@ -165,6 +163,7 @@ fn lock_sdist_registry() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" [[distribution]] @@ -178,7 +177,6 @@ fn lock_sdist_registry() -> Result<()> { [[distribution]] name = "source-distribution" version = "0.0.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/10/1f/57aa4cce1b1abf6b433106676e15f9fa2c92ed2bd4cf77c3b50a9e9ac773/source_distribution-0.0.1.tar.gz", hash = "sha256:1f83ed7498336c7f2ab9b002cf22583d91115ebc624053dc4eb3a45694490106", size = 2157 } "### ); @@ -241,6 +239,7 @@ fn lock_sdist_git() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" @@ -310,6 +309,7 @@ fn lock_sdist_git() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" @@ -365,6 +365,7 @@ fn lock_sdist_git() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" @@ -420,6 +421,7 @@ fn lock_sdist_git() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" @@ -477,23 +479,24 @@ fn lock_sdist_git_pep508() -> Result<()> { }, { assert_snapshot!( lock, @r###" - version = 1 - requires-python = ">=3.12" - exclude-newer = "2024-03-25 00:00:00 UTC" + version = 1 + default-source = { registry = "https://pypi.org/simple" } + requires-python = ">=3.12" + exclude-newer = "2024-03-25 00:00:00 UTC" - [[distribution]] - name = "project" - version = "0.1.0" - source = { editable = "." } - dependencies = [ - { name = "uv-public-pypackage" }, - ] + [[distribution]] + name = "project" + version = "0.1.0" + source = { editable = "." } + dependencies = [ + { name = "uv-public-pypackage" }, + ] - [[distribution]] - name = "uv-public-pypackage" - version = "0.1.0" - source = { git = "https://github.com/astral-test/uv-public-pypackage.git?rev=0.0.1#0dacfd662c64cb4ceb16e6cf65a157a8b715b979" } - "### + [[distribution]] + name = "uv-public-pypackage" + version = "0.1.0" + source = { git = "https://github.com/astral-test/uv-public-pypackage.git?rev=0.0.1#0dacfd662c64cb4ceb16e6cf65a157a8b715b979" } + "### ); }); // } @@ -528,23 +531,24 @@ fn lock_sdist_git_pep508() -> Result<()> { }, { assert_snapshot!( lock, @r###" - version = 1 - requires-python = ">=3.12" - exclude-newer = "2024-03-25 00:00:00 UTC" + version = 1 + default-source = { registry = "https://pypi.org/simple" } + requires-python = ">=3.12" + exclude-newer = "2024-03-25 00:00:00 UTC" - [[distribution]] - name = "project" - version = "0.1.0" - source = { editable = "." } - dependencies = [ - { name = "uv-public-pypackage" }, - ] + [[distribution]] + name = "project" + version = "0.1.0" + source = { editable = "." } + dependencies = [ + { name = "uv-public-pypackage" }, + ] - [[distribution]] - name = "uv-public-pypackage" - version = "0.1.0" - source = { git = "https://github.com/astral-test/uv-public-pypackage.git?rev=0dacfd662c64cb4ceb16e6cf65a157a8b715b979#0dacfd662c64cb4ceb16e6cf65a157a8b715b979" } - "### + [[distribution]] + name = "uv-public-pypackage" + version = "0.1.0" + source = { git = "https://github.com/astral-test/uv-public-pypackage.git?rev=0dacfd662c64cb4ceb16e6cf65a157a8b715b979#0dacfd662c64cb4ceb16e6cf65a157a8b715b979" } + "### ); }); // } @@ -579,23 +583,24 @@ fn lock_sdist_git_pep508() -> Result<()> { }, { assert_snapshot!( lock, @r###" - version = 1 - requires-python = ">=3.12" - exclude-newer = "2024-03-25 00:00:00 UTC" + version = 1 + default-source = { registry = "https://pypi.org/simple" } + requires-python = ">=3.12" + exclude-newer = "2024-03-25 00:00:00 UTC" - [[distribution]] - name = "project" - version = "0.1.0" - source = { editable = "." } - dependencies = [ - { name = "uv-public-pypackage" }, - ] + [[distribution]] + name = "project" + version = "0.1.0" + source = { editable = "." } + dependencies = [ + { name = "uv-public-pypackage" }, + ] - [[distribution]] - name = "uv-public-pypackage" - version = "0.1.0" - source = { git = "https://github.com/astral-test/uv-public-pypackage.git?rev=b270df1a2fb5d012294e9aaf05e7e0bab1e6a389#b270df1a2fb5d012294e9aaf05e7e0bab1e6a389" } - "### + [[distribution]] + name = "uv-public-pypackage" + version = "0.1.0" + source = { git = "https://github.com/astral-test/uv-public-pypackage.git?rev=b270df1a2fb5d012294e9aaf05e7e0bab1e6a389#b270df1a2fb5d012294e9aaf05e7e0bab1e6a389" } + "### ); }); // } @@ -630,23 +635,24 @@ fn lock_sdist_git_pep508() -> Result<()> { }, { assert_snapshot!( lock, @r###" - version = 1 - requires-python = ">=3.12" - exclude-newer = "2024-03-25 00:00:00 UTC" + version = 1 + default-source = { registry = "https://pypi.org/simple" } + requires-python = ">=3.12" + exclude-newer = "2024-03-25 00:00:00 UTC" - [[distribution]] - name = "project" - version = "0.1.0" - source = { editable = "." } - dependencies = [ - { name = "uv-public-pypackage" }, - ] + [[distribution]] + name = "project" + version = "0.1.0" + source = { editable = "." } + dependencies = [ + { name = "uv-public-pypackage" }, + ] - [[distribution]] - name = "uv-public-pypackage" - version = "0.1.0" - source = { git = "https://github.com/astral-test/uv-public-pypackage.git?rev=0.0.2#b270df1a2fb5d012294e9aaf05e7e0bab1e6a389" } - "### + [[distribution]] + name = "uv-public-pypackage" + version = "0.1.0" + source = { git = "https://github.com/astral-test/uv-public-pypackage.git?rev=0.0.2#b270df1a2fb5d012294e9aaf05e7e0bab1e6a389" } + "### ); }); // } @@ -689,6 +695,7 @@ fn lock_wheel_url() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" @@ -707,7 +714,6 @@ fn lock_wheel_url() -> Result<()> { [[distribution]] name = "idna" version = "3.6" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/bf/3f/ea4b9117521a1e9c50344b909be7886dd00a519552724809bb1f486986c2/idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca", size = 175426 } wheels = [ { url = "https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f", size = 61567 }, @@ -724,7 +730,6 @@ fn lock_wheel_url() -> Result<()> { [[distribution]] name = "sniffio" version = "1.3.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372 } wheels = [ { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235 }, @@ -788,6 +793,7 @@ fn lock_sdist_url() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" @@ -804,7 +810,6 @@ fn lock_sdist_url() -> Result<()> { [[distribution]] name = "idna" version = "3.6" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/bf/3f/ea4b9117521a1e9c50344b909be7886dd00a519552724809bb1f486986c2/idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca", size = 175426 } wheels = [ { url = "https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f", size = 61567 }, @@ -821,7 +826,6 @@ fn lock_sdist_url() -> Result<()> { [[distribution]] name = "sniffio" version = "1.3.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372 } wheels = [ { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235 }, @@ -888,13 +892,13 @@ fn lock_project_extra() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "anyio" version = "3.7.0" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "idna" }, { name = "sniffio" }, @@ -907,7 +911,6 @@ fn lock_project_extra() -> Result<()> { [[distribution]] name = "idna" version = "3.6" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/bf/3f/ea4b9117521a1e9c50344b909be7886dd00a519552724809bb1f486986c2/idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca", size = 175426 } wheels = [ { url = "https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f", size = 61567 }, @@ -916,7 +919,6 @@ fn lock_project_extra() -> Result<()> { [[distribution]] name = "iniconfig" version = "2.0.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/d7/4b/cbd8e699e64a6f16ca3a8220661b5f83792b3017d0f79807cb8708d33913/iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3", size = 4646 } wheels = [ { url = "https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374", size = 5892 }, @@ -938,7 +940,6 @@ fn lock_project_extra() -> Result<()> { [[distribution]] name = "sniffio" version = "1.3.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372 } wheels = [ { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235 }, @@ -1114,13 +1115,13 @@ fn lock_dependency_extra() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "blinker" version = "1.7.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/a1/13/6df5fc090ff4e5d246baf1f45fe9e5623aa8565757dfa5bd243f6a545f9e/blinker-1.7.0.tar.gz", hash = "sha256:e6820ff6fa4e4d1d8e2747c2283749c3f547e4fee112b98555cdcdae32996182", size = 28134 } wheels = [ { url = "https://files.pythonhosted.org/packages/fa/2a/7f3714cbc6356a0efec525ce7a0613d581072ed6eb53eb7b9754f33db807/blinker-1.7.0-py3-none-any.whl", hash = "sha256:c3f865d4d54db7abc53758a01601cf343fe55b84c1de4e3fa910e420b438d5b9", size = 13068 }, @@ -1129,7 +1130,6 @@ fn lock_dependency_extra() -> Result<()> { [[distribution]] name = "click" version = "8.1.7" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "colorama", marker = "platform_system == 'Windows'" }, ] @@ -1141,7 +1141,6 @@ fn lock_dependency_extra() -> Result<()> { [[distribution]] name = "colorama" version = "0.4.6" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697 } wheels = [ { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335 }, @@ -1150,7 +1149,6 @@ fn lock_dependency_extra() -> Result<()> { [[distribution]] name = "flask" version = "3.0.2" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "blinker" }, { name = "click" }, @@ -1171,7 +1169,6 @@ fn lock_dependency_extra() -> Result<()> { [[distribution]] name = "itsdangerous" version = "2.1.2" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/7f/a1/d3fb83e7a61fa0c0d3d08ad0a94ddbeff3731c05212617dff3a94e097f08/itsdangerous-2.1.2.tar.gz", hash = "sha256:5dbbc68b317e5e42f327f9021763545dc3fc3bfe22e6deb96aaf1fc38874156a", size = 56143 } wheels = [ { url = "https://files.pythonhosted.org/packages/68/5f/447e04e828f47465eeab35b5d408b7ebaaaee207f48b7136c5a7267a30ae/itsdangerous-2.1.2-py3-none-any.whl", hash = "sha256:2c2349112351b88699d8d4b6b075022c0808887cb7ad10069318a8b0bc88db44", size = 15749 }, @@ -1180,7 +1177,6 @@ fn lock_dependency_extra() -> Result<()> { [[distribution]] name = "jinja2" version = "3.1.3" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "markupsafe" }, ] @@ -1192,7 +1188,6 @@ fn lock_dependency_extra() -> Result<()> { [[distribution]] name = "markupsafe" version = "2.1.5" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/87/5b/aae44c6655f3801e81aa3eef09dbbf012431987ba564d7231722f68df02d/MarkupSafe-2.1.5.tar.gz", hash = "sha256:d283d37a890ba4c1ae73ffadf8046435c76e7bc2247bbb63c00bd1a709c6544b", size = 19384 } wheels = [ { url = "https://files.pythonhosted.org/packages/53/bd/583bf3e4c8d6a321938c13f49d44024dbe5ed63e0a7ba127e454a66da974/MarkupSafe-2.1.5-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:8dec4936e9c3100156f8a2dc89c4b88d5c435175ff03413b443469c7c8c5f4d1", size = 18215 }, @@ -1218,7 +1213,6 @@ fn lock_dependency_extra() -> Result<()> { [[distribution]] name = "python-dotenv" version = "1.0.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/bc/57/e84d88dfe0aec03b7a2d4327012c1627ab5f03652216c63d49846d7a6c58/python-dotenv-1.0.1.tar.gz", hash = "sha256:e324ee90a023d808f1959c46bcbc04446a10ced277783dc6ee09987c37ec10ca", size = 39115 } wheels = [ { url = "https://files.pythonhosted.org/packages/6a/3e/b68c118422ec867fa7ab88444e1274aa40681c606d59ac27de5a5588f082/python_dotenv-1.0.1-py3-none-any.whl", hash = "sha256:f7b63ef50f1b690dddf550d03497b66d609393b40b564ed0d674909a68ebf16a", size = 19863 }, @@ -1227,7 +1221,6 @@ fn lock_dependency_extra() -> Result<()> { [[distribution]] name = "werkzeug" version = "3.0.1" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "markupsafe" }, ] @@ -1301,13 +1294,13 @@ fn lock_conditional_dependency_extra() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.7" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "certifi" version = "2024.2.2" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/71/da/e94e26401b62acd6d91df2b52954aceb7f561743aa5ccc32152886c76c96/certifi-2024.2.2.tar.gz", hash = "sha256:0569859f95fc761b18b45ef421b1290a0f65f147e92a1e5eb3e635f9a5e4e66f", size = 164886 } wheels = [ { url = "https://files.pythonhosted.org/packages/ba/06/a07f096c664aeb9f01624f858c3add0a4e913d6c96257acb4fce61e7de14/certifi-2024.2.2-py3-none-any.whl", hash = "sha256:dc383c07b76109f368f6106eee2b593b04a011ea4d55f652c6ca24a754d1cdd1", size = 163774 }, @@ -1316,7 +1309,6 @@ fn lock_conditional_dependency_extra() -> Result<()> { [[distribution]] name = "charset-normalizer" version = "3.3.2" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/63/09/c1bc53dab74b1816a00d8d030de5bf98f724c52c1635e07681d312f20be8/charset-normalizer-3.3.2.tar.gz", hash = "sha256:f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5", size = 104809 } wheels = [ { url = "https://files.pythonhosted.org/packages/2b/61/095a0aa1a84d1481998b534177c8566fdc50bb1233ea9a0478cd3cc075bd/charset_normalizer-3.3.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:25baf083bf6f6b341f4121c2f3c548875ee6f5339300e08be3f2b2ba1721cdd3", size = 194219 }, @@ -1413,7 +1405,6 @@ fn lock_conditional_dependency_extra() -> Result<()> { [[distribution]] name = "idna" version = "3.6" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/bf/3f/ea4b9117521a1e9c50344b909be7886dd00a519552724809bb1f486986c2/idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca", size = 175426 } wheels = [ { url = "https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f", size = 61567 }, @@ -1431,7 +1422,6 @@ fn lock_conditional_dependency_extra() -> Result<()> { [[distribution]] name = "pysocks" version = "1.7.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/bd/11/293dd436aea955d45fc4e8a35b6ae7270f5b8e00b53cf6c024c83b657a11/PySocks-1.7.1.tar.gz", hash = "sha256:3f8804571ebe159c380ac6de37643bb4685970655d3bba243530d6558b799aa0", size = 284429 } wheels = [ { url = "https://files.pythonhosted.org/packages/8d/59/b4572118e098ac8e46e399a1dd0f2d85403ce8bbaad9ec79373ed6badaf9/PySocks-1.7.1-py3-none-any.whl", hash = "sha256:2725bd0a9925919b9b51739eea5f9e2bae91e83288108a9ad338b2e3a4435ee5", size = 16725 }, @@ -1440,7 +1430,6 @@ fn lock_conditional_dependency_extra() -> Result<()> { [[distribution]] name = "requests" version = "2.31.0" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "certifi" }, { name = "charset-normalizer" }, @@ -1460,7 +1449,6 @@ fn lock_conditional_dependency_extra() -> Result<()> { [[distribution]] name = "urllib3" version = "2.0.7" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/af/47/b215df9f71b4fdba1025fc05a77db2ad243fa0926755a52c5e71659f4e3c/urllib3-2.0.7.tar.gz", hash = "sha256:c97dfde1f7bd43a71c8d2a58e369e9b2bf692d1334ea9f9cae55add7d0dd0f84", size = 282546 } wheels = [ { url = "https://files.pythonhosted.org/packages/d2/b2/b157855192a68541a91ba7b2bbcb91f1b4faa51f8bae38d8005c034be524/urllib3-2.0.7-py3-none-any.whl", hash = "sha256:fdb6d215c776278489906c2f8916e6e7d4f5a9b602ccbcfdf7f016fc8da0596e", size = 124213 }, @@ -1552,13 +1540,13 @@ fn lock_dependency_non_existent_extra() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "blinker" version = "1.7.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/a1/13/6df5fc090ff4e5d246baf1f45fe9e5623aa8565757dfa5bd243f6a545f9e/blinker-1.7.0.tar.gz", hash = "sha256:e6820ff6fa4e4d1d8e2747c2283749c3f547e4fee112b98555cdcdae32996182", size = 28134 } wheels = [ { url = "https://files.pythonhosted.org/packages/fa/2a/7f3714cbc6356a0efec525ce7a0613d581072ed6eb53eb7b9754f33db807/blinker-1.7.0-py3-none-any.whl", hash = "sha256:c3f865d4d54db7abc53758a01601cf343fe55b84c1de4e3fa910e420b438d5b9", size = 13068 }, @@ -1567,7 +1555,6 @@ fn lock_dependency_non_existent_extra() -> Result<()> { [[distribution]] name = "click" version = "8.1.7" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "colorama", marker = "platform_system == 'Windows'" }, ] @@ -1579,7 +1566,6 @@ fn lock_dependency_non_existent_extra() -> Result<()> { [[distribution]] name = "colorama" version = "0.4.6" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697 } wheels = [ { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335 }, @@ -1588,7 +1574,6 @@ fn lock_dependency_non_existent_extra() -> Result<()> { [[distribution]] name = "flask" version = "3.0.2" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "blinker" }, { name = "click" }, @@ -1604,7 +1589,6 @@ fn lock_dependency_non_existent_extra() -> Result<()> { [[distribution]] name = "itsdangerous" version = "2.1.2" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/7f/a1/d3fb83e7a61fa0c0d3d08ad0a94ddbeff3731c05212617dff3a94e097f08/itsdangerous-2.1.2.tar.gz", hash = "sha256:5dbbc68b317e5e42f327f9021763545dc3fc3bfe22e6deb96aaf1fc38874156a", size = 56143 } wheels = [ { url = "https://files.pythonhosted.org/packages/68/5f/447e04e828f47465eeab35b5d408b7ebaaaee207f48b7136c5a7267a30ae/itsdangerous-2.1.2-py3-none-any.whl", hash = "sha256:2c2349112351b88699d8d4b6b075022c0808887cb7ad10069318a8b0bc88db44", size = 15749 }, @@ -1613,7 +1597,6 @@ fn lock_dependency_non_existent_extra() -> Result<()> { [[distribution]] name = "jinja2" version = "3.1.3" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "markupsafe" }, ] @@ -1625,7 +1608,6 @@ fn lock_dependency_non_existent_extra() -> Result<()> { [[distribution]] name = "markupsafe" version = "2.1.5" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/87/5b/aae44c6655f3801e81aa3eef09dbbf012431987ba564d7231722f68df02d/MarkupSafe-2.1.5.tar.gz", hash = "sha256:d283d37a890ba4c1ae73ffadf8046435c76e7bc2247bbb63c00bd1a709c6544b", size = 19384 } wheels = [ { url = "https://files.pythonhosted.org/packages/53/bd/583bf3e4c8d6a321938c13f49d44024dbe5ed63e0a7ba127e454a66da974/MarkupSafe-2.1.5-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:8dec4936e9c3100156f8a2dc89c4b88d5c435175ff03413b443469c7c8c5f4d1", size = 18215 }, @@ -1651,7 +1633,6 @@ fn lock_dependency_non_existent_extra() -> Result<()> { [[distribution]] name = "werkzeug" version = "3.0.1" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "markupsafe" }, ] @@ -1722,13 +1703,13 @@ fn lock_upgrade_log() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "iniconfig" version = "2.0.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/d7/4b/cbd8e699e64a6f16ca3a8220661b5f83792b3017d0f79807cb8708d33913/iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3", size = 4646 } wheels = [ { url = "https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374", size = 5892 }, @@ -1737,7 +1718,6 @@ fn lock_upgrade_log() -> Result<()> { [[distribution]] name = "markupsafe" version = "1.1.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/b9/2e/64db92e53b86efccfaea71321f597fa2e1b2bd3853d8ce658568f7a13094/MarkupSafe-1.1.1.tar.gz", hash = "sha256:29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b", size = 19151 } [[distribution]] @@ -1798,13 +1778,13 @@ fn lock_upgrade_log() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "markupsafe" version = "2.1.5" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/87/5b/aae44c6655f3801e81aa3eef09dbbf012431987ba564d7231722f68df02d/MarkupSafe-2.1.5.tar.gz", hash = "sha256:d283d37a890ba4c1ae73ffadf8046435c76e7bc2247bbb63c00bd1a709c6544b", size = 19384 } wheels = [ { url = "https://files.pythonhosted.org/packages/53/bd/583bf3e4c8d6a321938c13f49d44024dbe5ed63e0a7ba127e454a66da974/MarkupSafe-2.1.5-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:8dec4936e9c3100156f8a2dc89c4b88d5c435175ff03413b443469c7c8c5f4d1", size = 18215 }, @@ -1831,7 +1811,6 @@ fn lock_upgrade_log() -> Result<()> { [[distribution]] name = "typing-extensions" version = "4.10.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/16/3a/0d26ce356c7465a19c9ea8814b960f8a36c3b0d07c323176620b7b483e44/typing_extensions-4.10.0.tar.gz", hash = "sha256:b0abd7c89e8fb96f98db18d86106ff1d90ab692004eb746cf6eda2682f91b3cb", size = 77558 } wheels = [ { url = "https://files.pythonhosted.org/packages/f9/de/dc04a3ea60b22624b51c703a84bbe0184abcd1d0b9bc8074b5d6b7ab90bb/typing_extensions-4.10.0-py3-none-any.whl", hash = "sha256:69b1a937c3a517342112fb4c6df7e72fc39a38e7891a5730ed4985b5214b5475", size = 33926 }, @@ -1879,6 +1858,7 @@ fn lock_upgrade_log_multi_version() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" environment-markers = [ "sys_platform == 'win32'", @@ -1889,7 +1869,6 @@ fn lock_upgrade_log_multi_version() -> Result<()> { [[distribution]] name = "markupsafe" version = "1.1.1" - source = { registry = "https://pypi.org/simple" } environment-markers = [ "sys_platform != 'win32'", ] @@ -1898,7 +1877,6 @@ fn lock_upgrade_log_multi_version() -> Result<()> { [[distribution]] name = "markupsafe" version = "2.0.0" - source = { registry = "https://pypi.org/simple" } environment-markers = [ "sys_platform == 'win32'", ] @@ -1909,8 +1887,8 @@ fn lock_upgrade_log_multi_version() -> Result<()> { version = "0.1.0" source = { editable = "." } dependencies = [ - { name = "markupsafe", version = "1.1.1", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'win32'" }, - { name = "markupsafe", version = "2.0.0", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform == 'win32'" }, + { name = "markupsafe", version = "1.1.1", marker = "sys_platform != 'win32'" }, + { name = "markupsafe", version = "2.0.0", marker = "sys_platform == 'win32'" }, ] "### ); @@ -1959,6 +1937,7 @@ fn lock_upgrade_log_multi_version() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" environment-markers = [ "sys_platform == 'win32'", @@ -1969,7 +1948,6 @@ fn lock_upgrade_log_multi_version() -> Result<()> { [[distribution]] name = "markupsafe" version = "2.1.5" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/87/5b/aae44c6655f3801e81aa3eef09dbbf012431987ba564d7231722f68df02d/MarkupSafe-2.1.5.tar.gz", hash = "sha256:d283d37a890ba4c1ae73ffadf8046435c76e7bc2247bbb63c00bd1a709c6544b", size = 19384 } wheels = [ { url = "https://files.pythonhosted.org/packages/53/bd/583bf3e4c8d6a321938c13f49d44024dbe5ed63e0a7ba127e454a66da974/MarkupSafe-2.1.5-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:8dec4936e9c3100156f8a2dc89c4b88d5c435175ff03413b443469c7c8c5f4d1", size = 18215 }, @@ -2033,13 +2011,13 @@ fn lock_preference() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "iniconfig" version = "1.1.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/23/a2/97899f6bd0e873fed3a7e67ae8d3a08b21799430fb4da15cfedf10d6e2c2/iniconfig-1.1.1.tar.gz", hash = "sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32", size = 8104 } wheels = [ { url = "https://files.pythonhosted.org/packages/9b/dd/b3c12c6d707058fa947864b67f0c4e0c39ef8610988d7baea9578f3c48f3/iniconfig-1.1.1-py2.py3-none-any.whl", hash = "sha256:011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3", size = 4990 }, @@ -2089,13 +2067,13 @@ fn lock_preference() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "iniconfig" version = "1.1.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/23/a2/97899f6bd0e873fed3a7e67ae8d3a08b21799430fb4da15cfedf10d6e2c2/iniconfig-1.1.1.tar.gz", hash = "sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32", size = 8104 } wheels = [ { url = "https://files.pythonhosted.org/packages/9b/dd/b3c12c6d707058fa947864b67f0c4e0c39ef8610988d7baea9578f3c48f3/iniconfig-1.1.1-py2.py3-none-any.whl", hash = "sha256:011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3", size = 4990 }, @@ -2131,13 +2109,13 @@ fn lock_preference() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "iniconfig" version = "2.0.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/d7/4b/cbd8e699e64a6f16ca3a8220661b5f83792b3017d0f79807cb8708d33913/iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3", size = 4646 } wheels = [ { url = "https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374", size = 5892 }, @@ -2193,6 +2171,7 @@ fn lock_git_sha() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" @@ -2250,6 +2229,7 @@ fn lock_git_sha() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" @@ -2291,6 +2271,7 @@ fn lock_git_sha() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" @@ -2390,13 +2371,13 @@ fn lock_requires_python() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.7" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "attrs" version = "23.2.0" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "importlib-metadata", marker = "python_version < '3.8'" }, ] @@ -2408,7 +2389,6 @@ fn lock_requires_python() -> Result<()> { [[distribution]] name = "cattrs" version = "23.1.2" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "attrs" }, { name = "exceptiongroup", marker = "python_version < '3.11'" }, @@ -2422,7 +2402,6 @@ fn lock_requires_python() -> Result<()> { [[distribution]] name = "exceptiongroup" version = "1.2.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/8e/1c/beef724eaf5b01bb44b6338c8c3494eff7cab376fab4904cfbbc3585dc79/exceptiongroup-1.2.0.tar.gz", hash = "sha256:91f5c769735f051a4290d52edd0858999b57e5876e9f85937691bd4c9fa3ed68", size = 26264 } wheels = [ { url = "https://files.pythonhosted.org/packages/b8/9a/5028fd52db10e600f1c4674441b968cf2ea4959085bfb5b99fb1250e5f68/exceptiongroup-1.2.0-py3-none-any.whl", hash = "sha256:4bfd3996ac73b41e9b9628b04e079f193850720ea5945fc96a08633c66912f14", size = 16210 }, @@ -2431,7 +2410,6 @@ fn lock_requires_python() -> Result<()> { [[distribution]] name = "importlib-metadata" version = "6.7.0" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "typing-extensions", marker = "python_version < '3.8'" }, { name = "zipp" }, @@ -2444,7 +2422,6 @@ fn lock_requires_python() -> Result<()> { [[distribution]] name = "lsprotocol" version = "2023.0.1" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "attrs" }, { name = "cattrs" }, @@ -2465,7 +2442,6 @@ fn lock_requires_python() -> Result<()> { [[distribution]] name = "pygls" version = "1.0.1" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "lsprotocol" }, { name = "typeguard" }, @@ -2478,7 +2454,6 @@ fn lock_requires_python() -> Result<()> { [[distribution]] name = "typeguard" version = "2.13.3" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/3a/38/c61bfcf62a7b572b5e9363a802ff92559cb427ee963048e1442e3aef7490/typeguard-2.13.3.tar.gz", hash = "sha256:00edaa8da3a133674796cf5ea87d9f4b4c367d77476e185e80251cc13dfbb8c4", size = 40604 } wheels = [ { url = "https://files.pythonhosted.org/packages/9a/bb/d43e5c75054e53efce310e79d63df0ac3f25e34c926be5dffb7d283fb2a8/typeguard-2.13.3-py3-none-any.whl", hash = "sha256:5e3e3be01e887e7eafae5af63d1f36c849aaa94e3a0112097312aabfa16284f1", size = 17605 }, @@ -2487,7 +2462,6 @@ fn lock_requires_python() -> Result<()> { [[distribution]] name = "typing-extensions" version = "4.7.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/3c/8b/0111dd7d6c1478bf83baa1cab85c686426c7a6274119aceb2bd9d35395ad/typing_extensions-4.7.1.tar.gz", hash = "sha256:b75ddc264f0ba5615db7ba217daeb99701ad295353c45f9e95963337ceeeffb2", size = 72876 } wheels = [ { url = "https://files.pythonhosted.org/packages/ec/6b/63cc3df74987c36fe26157ee12e09e8f9db4de771e0f3404263117e75b95/typing_extensions-4.7.1-py3-none-any.whl", hash = "sha256:440d5dd3af93b060174bf433bccd69b0babc3b15b1a8dca43789fd7f61514b36", size = 33232 }, @@ -2496,7 +2470,6 @@ fn lock_requires_python() -> Result<()> { [[distribution]] name = "zipp" version = "3.15.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/00/27/f0ac6b846684cecce1ee93d32450c45ab607f65c2e0255f0092032d91f07/zipp-3.15.0.tar.gz", hash = "sha256:112929ad649da941c23de50f356a2b5570c954b65150642bccdd66bf194d224b", size = 18454 } wheels = [ { url = "https://files.pythonhosted.org/packages/5b/fa/c9e82bbe1af6266adf08afb563905eb87cab83fde00a0a08963510621047/zipp-3.15.0-py3-none-any.whl", hash = "sha256:48904fc76a60e542af151aded95726c1a5c34ed43ab4134b597665c86d7ad556", size = 6758 }, @@ -2539,13 +2512,13 @@ fn lock_requires_python() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.7.9" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "attrs" version = "23.2.0" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "importlib-metadata", marker = "python_version < '3.8'" }, ] @@ -2557,7 +2530,6 @@ fn lock_requires_python() -> Result<()> { [[distribution]] name = "cattrs" version = "23.1.2" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "attrs" }, { name = "exceptiongroup", marker = "python_version < '3.11'" }, @@ -2571,7 +2543,6 @@ fn lock_requires_python() -> Result<()> { [[distribution]] name = "exceptiongroup" version = "1.2.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/8e/1c/beef724eaf5b01bb44b6338c8c3494eff7cab376fab4904cfbbc3585dc79/exceptiongroup-1.2.0.tar.gz", hash = "sha256:91f5c769735f051a4290d52edd0858999b57e5876e9f85937691bd4c9fa3ed68", size = 26264 } wheels = [ { url = "https://files.pythonhosted.org/packages/b8/9a/5028fd52db10e600f1c4674441b968cf2ea4959085bfb5b99fb1250e5f68/exceptiongroup-1.2.0-py3-none-any.whl", hash = "sha256:4bfd3996ac73b41e9b9628b04e079f193850720ea5945fc96a08633c66912f14", size = 16210 }, @@ -2580,7 +2551,6 @@ fn lock_requires_python() -> Result<()> { [[distribution]] name = "importlib-metadata" version = "6.7.0" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "typing-extensions", marker = "python_version < '3.8'" }, { name = "zipp" }, @@ -2593,7 +2563,6 @@ fn lock_requires_python() -> Result<()> { [[distribution]] name = "lsprotocol" version = "2023.0.0" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "attrs" }, { name = "cattrs" }, @@ -2614,7 +2583,6 @@ fn lock_requires_python() -> Result<()> { [[distribution]] name = "pygls" version = "1.2.1" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "lsprotocol" }, ] @@ -2626,7 +2594,6 @@ fn lock_requires_python() -> Result<()> { [[distribution]] name = "typing-extensions" version = "4.7.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/3c/8b/0111dd7d6c1478bf83baa1cab85c686426c7a6274119aceb2bd9d35395ad/typing_extensions-4.7.1.tar.gz", hash = "sha256:b75ddc264f0ba5615db7ba217daeb99701ad295353c45f9e95963337ceeeffb2", size = 72876 } wheels = [ { url = "https://files.pythonhosted.org/packages/ec/6b/63cc3df74987c36fe26157ee12e09e8f9db4de771e0f3404263117e75b95/typing_extensions-4.7.1-py3-none-any.whl", hash = "sha256:440d5dd3af93b060174bf433bccd69b0babc3b15b1a8dca43789fd7f61514b36", size = 33232 }, @@ -2635,7 +2602,6 @@ fn lock_requires_python() -> Result<()> { [[distribution]] name = "zipp" version = "3.15.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/00/27/f0ac6b846684cecce1ee93d32450c45ab607f65c2e0255f0092032d91f07/zipp-3.15.0.tar.gz", hash = "sha256:112929ad649da941c23de50f356a2b5570c954b65150642bccdd66bf194d224b", size = 18454 } wheels = [ { url = "https://files.pythonhosted.org/packages/5b/fa/c9e82bbe1af6266adf08afb563905eb87cab83fde00a0a08963510621047/zipp-3.15.0-py3-none-any.whl", hash = "sha256:48904fc76a60e542af151aded95726c1a5c34ed43ab4134b597665c86d7ad556", size = 6758 }, @@ -2678,13 +2644,13 @@ fn lock_requires_python() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "attrs" version = "23.2.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/e3/fc/f800d51204003fa8ae392c4e8278f256206e7a919b708eef054f5f4b650d/attrs-23.2.0.tar.gz", hash = "sha256:935dc3b529c262f6cf76e50877d35a4bd3c1de194fd41f47a2b7ae8f19971f30", size = 780820 } wheels = [ { url = "https://files.pythonhosted.org/packages/e0/44/827b2a91a5816512fcaf3cc4ebc465ccd5d598c45cefa6703fcf4a79018f/attrs-23.2.0-py3-none-any.whl", hash = "sha256:99b87a485a5820b23b879f04c2305b44b951b502fd64be915879d77a7e8fc6f1", size = 60752 }, @@ -2693,7 +2659,6 @@ fn lock_requires_python() -> Result<()> { [[distribution]] name = "cattrs" version = "23.2.3" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "attrs" }, ] @@ -2705,7 +2670,6 @@ fn lock_requires_python() -> Result<()> { [[distribution]] name = "lsprotocol" version = "2023.0.1" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "attrs" }, { name = "cattrs" }, @@ -2726,7 +2690,6 @@ fn lock_requires_python() -> Result<()> { [[distribution]] name = "pygls" version = "1.3.0" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "cattrs" }, { name = "lsprotocol" }, @@ -2808,13 +2771,13 @@ fn lock_requires_python_wheels() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12, <3.13" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "frozenlist" version = "1.4.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/cf/3d/2102257e7acad73efc4a0c306ad3953f68c504c16982bbdfee3ad75d8085/frozenlist-1.4.1.tar.gz", hash = "sha256:c037a86e8513059a2613aaba4d817bb90b9d9b6b69aace3ce9c877e8c8ed402b", size = 37820 } wheels = [ { url = "https://files.pythonhosted.org/packages/b4/db/4cf37556a735bcdb2582f2c3fa286aefde2322f92d3141e087b8aeb27177/frozenlist-1.4.1-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:1979bc0aeb89b33b588c51c54ab0161791149f2461ea7c7c946d95d5f93b56ae", size = 93937 }, @@ -2878,13 +2841,13 @@ fn lock_requires_python_wheels() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.11, <3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "frozenlist" version = "1.4.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/cf/3d/2102257e7acad73efc4a0c306ad3953f68c504c16982bbdfee3ad75d8085/frozenlist-1.4.1.tar.gz", hash = "sha256:c037a86e8513059a2613aaba4d817bb90b9d9b6b69aace3ce9c877e8c8ed402b", size = 37820 } wheels = [ { url = "https://files.pythonhosted.org/packages/01/bc/8d33f2d84b9368da83e69e42720cff01c5e199b5a868ba4486189a4d8fa9/frozenlist-1.4.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:a0cb6f11204443f27a1628b0e460f37fb30f624be6051d490fa7d7e26d4af3d0", size = 97060 }, @@ -2973,13 +2936,13 @@ fn lock_requires_python_star() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.11, <3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "attrs" version = "23.2.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/e3/fc/f800d51204003fa8ae392c4e8278f256206e7a919b708eef054f5f4b650d/attrs-23.2.0.tar.gz", hash = "sha256:935dc3b529c262f6cf76e50877d35a4bd3c1de194fd41f47a2b7ae8f19971f30", size = 780820 } wheels = [ { url = "https://files.pythonhosted.org/packages/e0/44/827b2a91a5816512fcaf3cc4ebc465ccd5d598c45cefa6703fcf4a79018f/attrs-23.2.0-py3-none-any.whl", hash = "sha256:99b87a485a5820b23b879f04c2305b44b951b502fd64be915879d77a7e8fc6f1", size = 60752 }, @@ -2988,7 +2951,6 @@ fn lock_requires_python_star() -> Result<()> { [[distribution]] name = "cattrs" version = "23.2.3" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "attrs" }, ] @@ -3000,7 +2962,6 @@ fn lock_requires_python_star() -> Result<()> { [[distribution]] name = "linehaul" version = "1.0.1" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "cattrs" }, { name = "packaging" }, @@ -3014,7 +2975,6 @@ fn lock_requires_python_star() -> Result<()> { [[distribution]] name = "packaging" version = "24.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/ee/b5/b43a27ac7472e1818c4bafd44430e69605baefe1f34440593e0332ec8b4d/packaging-24.0.tar.gz", hash = "sha256:eb82c5e3e56209074766e6885bb04b8c38a0c015d0a30036ebe7ece34c9989e9", size = 147882 } wheels = [ { url = "https://files.pythonhosted.org/packages/49/df/1fceb2f8900f8639e278b056416d49134fb8d84c5942ffaa01ad34782422/packaging-24.0-py3-none-any.whl", hash = "sha256:2ddfb553fdf02fb784c234c7ba6ccc288296ceabec964ad2eae3777778130bc5", size = 53488 }, @@ -3031,7 +2991,6 @@ fn lock_requires_python_star() -> Result<()> { [[distribution]] name = "pyparsing" version = "3.1.2" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/46/3a/31fd28064d016a2182584d579e033ec95b809d8e220e74c4af6f0f2e8842/pyparsing-3.1.2.tar.gz", hash = "sha256:a1bac0ce561155ecc3ed78ca94d3c9378656ad4c94c1270de543f621420f94ad", size = 889571 } wheels = [ { url = "https://files.pythonhosted.org/packages/9d/ea/6d76df31432a0e6fdf81681a895f009a4bb47b3c39036db3e1b528191d52/pyparsing-3.1.2-py3-none-any.whl", hash = "sha256:f9db75911801ed778fe61bb643079ff86601aca99fcae6345aa67292038fb742", size = 103245 }, @@ -3083,13 +3042,13 @@ fn lock_requires_python_pre() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.11" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "attrs" version = "23.2.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/e3/fc/f800d51204003fa8ae392c4e8278f256206e7a919b708eef054f5f4b650d/attrs-23.2.0.tar.gz", hash = "sha256:935dc3b529c262f6cf76e50877d35a4bd3c1de194fd41f47a2b7ae8f19971f30", size = 780820 } wheels = [ { url = "https://files.pythonhosted.org/packages/e0/44/827b2a91a5816512fcaf3cc4ebc465ccd5d598c45cefa6703fcf4a79018f/attrs-23.2.0-py3-none-any.whl", hash = "sha256:99b87a485a5820b23b879f04c2305b44b951b502fd64be915879d77a7e8fc6f1", size = 60752 }, @@ -3098,7 +3057,6 @@ fn lock_requires_python_pre() -> Result<()> { [[distribution]] name = "cattrs" version = "23.2.3" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "attrs" }, ] @@ -3110,7 +3068,6 @@ fn lock_requires_python_pre() -> Result<()> { [[distribution]] name = "linehaul" version = "1.0.1" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "cattrs" }, { name = "packaging" }, @@ -3124,7 +3081,6 @@ fn lock_requires_python_pre() -> Result<()> { [[distribution]] name = "packaging" version = "24.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/ee/b5/b43a27ac7472e1818c4bafd44430e69605baefe1f34440593e0332ec8b4d/packaging-24.0.tar.gz", hash = "sha256:eb82c5e3e56209074766e6885bb04b8c38a0c015d0a30036ebe7ece34c9989e9", size = 147882 } wheels = [ { url = "https://files.pythonhosted.org/packages/49/df/1fceb2f8900f8639e278b056416d49134fb8d84c5942ffaa01ad34782422/packaging-24.0-py3-none-any.whl", hash = "sha256:2ddfb553fdf02fb784c234c7ba6ccc288296ceabec964ad2eae3777778130bc5", size = 53488 }, @@ -3141,7 +3097,6 @@ fn lock_requires_python_pre() -> Result<()> { [[distribution]] name = "pyparsing" version = "3.1.2" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/46/3a/31fd28064d016a2182584d579e033ec95b809d8e220e74c4af6f0f2e8842/pyparsing-3.1.2.tar.gz", hash = "sha256:a1bac0ce561155ecc3ed78ca94d3c9378656ad4c94c1270de543f621420f94ad", size = 889571 } wheels = [ { url = "https://files.pythonhosted.org/packages/9d/ea/6d76df31432a0e6fdf81681a895f009a4bb47b3c39036db3e1b528191d52/pyparsing-3.1.2-py3-none-any.whl", hash = "sha256:f9db75911801ed778fe61bb643079ff86601aca99fcae6345aa67292038fb742", size = 103245 }, @@ -3192,13 +3147,13 @@ fn lock_requires_python_unbounded() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = "<=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "iniconfig" version = "1.1.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/23/a2/97899f6bd0e873fed3a7e67ae8d3a08b21799430fb4da15cfedf10d6e2c2/iniconfig-1.1.1.tar.gz", hash = "sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32", size = 8104 } wheels = [ { url = "https://files.pythonhosted.org/packages/9b/dd/b3c12c6d707058fa947864b67f0c4e0c39ef8610988d7baea9578f3c48f3/iniconfig-1.1.1-py2.py3-none-any.whl", hash = "sha256:011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3", size = 4990 }, @@ -3269,6 +3224,7 @@ fn lock_python_version_marker_complement() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.8" environment-markers = [ "python_full_version <= '3.10' and python_version == '3.10'", @@ -3285,7 +3241,6 @@ fn lock_python_version_marker_complement() -> Result<()> { [[distribution]] name = "attrs" version = "23.2.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/e3/fc/f800d51204003fa8ae392c4e8278f256206e7a919b708eef054f5f4b650d/attrs-23.2.0.tar.gz", hash = "sha256:935dc3b529c262f6cf76e50877d35a4bd3c1de194fd41f47a2b7ae8f19971f30", size = 780820 } wheels = [ { url = "https://files.pythonhosted.org/packages/e0/44/827b2a91a5816512fcaf3cc4ebc465ccd5d598c45cefa6703fcf4a79018f/attrs-23.2.0-py3-none-any.whl", hash = "sha256:99b87a485a5820b23b879f04c2305b44b951b502fd64be915879d77a7e8fc6f1", size = 60752 }, @@ -3294,7 +3249,6 @@ fn lock_python_version_marker_complement() -> Result<()> { [[distribution]] name = "iniconfig" version = "2.0.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/d7/4b/cbd8e699e64a6f16ca3a8220661b5f83792b3017d0f79807cb8708d33913/iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3", size = 4646 } wheels = [ { url = "https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374", size = 5892 }, @@ -3313,7 +3267,6 @@ fn lock_python_version_marker_complement() -> Result<()> { [[distribution]] name = "typing-extensions" version = "4.10.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/16/3a/0d26ce356c7465a19c9ea8814b960f8a36c3b0d07c323176620b7b483e44/typing_extensions-4.10.0.tar.gz", hash = "sha256:b0abd7c89e8fb96f98db18d86106ff1d90ab692004eb746cf6eda2682f91b3cb", size = 77558 } wheels = [ { url = "https://files.pythonhosted.org/packages/f9/de/dc04a3ea60b22624b51c703a84bbe0184abcd1d0b9bc8074b5d6b7ab90bb/typing_extensions-4.10.0-py3-none-any.whl", hash = "sha256:69b1a937c3a517342112fb4c6df7e72fc39a38e7891a5730ed4985b5214b5475", size = 33926 }, @@ -3364,13 +3317,13 @@ fn lock_dev() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "iniconfig" version = "2.0.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/d7/4b/cbd8e699e64a6f16ca3a8220661b5f83792b3017d0f79807cb8708d33913/iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3", size = 4646 } wheels = [ { url = "https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374", size = 5892 }, @@ -3465,13 +3418,13 @@ fn lock_conditional_unconditional() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "iniconfig" version = "2.0.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/d7/4b/cbd8e699e64a6f16ca3a8220661b5f83792b3017d0f79807cb8708d33913/iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3", size = 4646 } wheels = [ { url = "https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374", size = 5892 }, @@ -3527,13 +3480,13 @@ fn lock_multiple_markers() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "iniconfig" version = "2.0.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/d7/4b/cbd8e699e64a6f16ca3a8220661b5f83792b3017d0f79807cb8708d33913/iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3", size = 4646 } wheels = [ { url = "https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374", size = 5892 }, @@ -3629,6 +3582,7 @@ fn relative_and_absolute_paths() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.11, <3.13" exclude-newer = "2024-03-25 00:00:00 UTC" @@ -3693,13 +3647,13 @@ fn lock_cycles() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "argparse" version = "1.4.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/18/dd/e617cfc3f6210ae183374cd9f6a26b20514bbb5a792af97949c5aacddf0f/argparse-1.4.0.tar.gz", hash = "sha256:62b089a55be1d8949cd2bc7e0df0bddb9e028faefc8c32038cc84862aefdd6e4", size = 70508 } wheels = [ { url = "https://files.pythonhosted.org/packages/f2/94/3af39d34be01a24a6e65433d19e107099374224905f1e0cc6bbe1fd22a2f/argparse-1.4.0-py2.py3-none-any.whl", hash = "sha256:c31647edb69fd3d465a847ea3157d37bed1f95f19760b11a47aa91c04b666314", size = 23000 }, @@ -3708,7 +3662,6 @@ fn lock_cycles() -> Result<()> { [[distribution]] name = "extras" version = "1.0.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/be/18/0b7283f0ebf6ad4bb6b9937538495eadf05ef097b102946b9445c4242636/extras-1.0.0.tar.gz", hash = "sha256:132e36de10b9c91d5d4cc620160a476e0468a88f16c9431817a6729611a81b4e", size = 6759 } wheels = [ { url = "https://files.pythonhosted.org/packages/03/e9/e915af1f97914cd0bc021e125fd1bfd4106de614a275e4b6866dd9a209ac/extras-1.0.0-py2.py3-none-any.whl", hash = "sha256:f689f08df47e2decf76aa6208c081306e7bd472630eb1ec8a875c67de2366e87", size = 7279 }, @@ -3717,7 +3670,6 @@ fn lock_cycles() -> Result<()> { [[distribution]] name = "fixtures" version = "3.0.0" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "pbr" }, { name = "six" }, @@ -3731,7 +3683,6 @@ fn lock_cycles() -> Result<()> { [[distribution]] name = "linecache2" version = "1.0.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/44/b0/963c352372c242f9e40db02bbc6a39ae51bde15dddee8523fe4aca94a97e/linecache2-1.0.0.tar.gz", hash = "sha256:4b26ff4e7110db76eeb6f5a7b64a82623839d595c2038eeda662f2a2db78e97c", size = 11013 } wheels = [ { url = "https://files.pythonhosted.org/packages/c7/a3/c5da2a44c85bfbb6eebcfc1dde24933f8704441b98fdde6528f4831757a6/linecache2-1.0.0-py2.py3-none-any.whl", hash = "sha256:e78be9c0a0dfcbac712fe04fbf92b96cddae80b1b842f24248214c8496f006ef", size = 12967 }, @@ -3740,7 +3691,6 @@ fn lock_cycles() -> Result<()> { [[distribution]] name = "pbr" version = "6.0.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/8d/c2/ee43b3b11bf2b40e56536183fc9f22afbb04e882720332b6276ee2454c24/pbr-6.0.0.tar.gz", hash = "sha256:d1377122a5a00e2f940ee482999518efe16d745d423a670c27773dfbc3c9a7d9", size = 123150 } wheels = [ { url = "https://files.pythonhosted.org/packages/64/dd/171c9fb653591cf265bcc89c436eec75c9bde3dec921cc236fa71e5698df/pbr-6.0.0-py2.py3-none-any.whl", hash = "sha256:4a7317d5e3b17a3dccb6a8cfe67dab65b20551404c52c8ed41279fa4f0cb4cda", size = 107506 }, @@ -3758,7 +3708,6 @@ fn lock_cycles() -> Result<()> { [[distribution]] name = "python-mimeparse" version = "1.6.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/0f/40/ac5f9e44a55b678c3cd881b4c3376e5b002677dbeab6fb3a50bac5d50d29/python-mimeparse-1.6.0.tar.gz", hash = "sha256:76e4b03d700a641fd7761d3cd4fdbbdcd787eade1ebfac43f877016328334f78", size = 6541 } wheels = [ { url = "https://files.pythonhosted.org/packages/26/2e/03bce213a9bf02a2750dcb04e761785e9c763fc11071edc4b447eacbb842/python_mimeparse-1.6.0-py2.py3-none-any.whl", hash = "sha256:a295f03ff20341491bfe4717a39cd0a8cc9afad619ba44b77e86b0ab8a2b8282", size = 6057 }, @@ -3767,7 +3716,6 @@ fn lock_cycles() -> Result<()> { [[distribution]] name = "six" version = "1.16.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/71/39/171f1c67cd00715f190ba0b100d606d440a28c93c7714febeca8b79af85e/six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926", size = 34041 } wheels = [ { url = "https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254", size = 11053 }, @@ -3776,7 +3724,6 @@ fn lock_cycles() -> Result<()> { [[distribution]] name = "testtools" version = "2.3.0" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "extras" }, { name = "fixtures" }, @@ -3794,7 +3741,6 @@ fn lock_cycles() -> Result<()> { [[distribution]] name = "traceback2" version = "1.4.0" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "linecache2" }, ] @@ -3806,7 +3752,6 @@ fn lock_cycles() -> Result<()> { [[distribution]] name = "unittest2" version = "1.1.0" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "argparse" }, { name = "six" }, @@ -3881,13 +3826,13 @@ fn lock_new_extras() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "certifi" version = "2024.2.2" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/71/da/e94e26401b62acd6d91df2b52954aceb7f561743aa5ccc32152886c76c96/certifi-2024.2.2.tar.gz", hash = "sha256:0569859f95fc761b18b45ef421b1290a0f65f147e92a1e5eb3e635f9a5e4e66f", size = 164886 } wheels = [ { url = "https://files.pythonhosted.org/packages/ba/06/a07f096c664aeb9f01624f858c3add0a4e913d6c96257acb4fce61e7de14/certifi-2024.2.2-py3-none-any.whl", hash = "sha256:dc383c07b76109f368f6106eee2b593b04a011ea4d55f652c6ca24a754d1cdd1", size = 163774 }, @@ -3896,7 +3841,6 @@ fn lock_new_extras() -> Result<()> { [[distribution]] name = "charset-normalizer" version = "3.3.2" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/63/09/c1bc53dab74b1816a00d8d030de5bf98f724c52c1635e07681d312f20be8/charset-normalizer-3.3.2.tar.gz", hash = "sha256:f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5", size = 104809 } wheels = [ { url = "https://files.pythonhosted.org/packages/d1/b2/fcedc8255ec42afee97f9e6f0145c734bbe104aac28300214593eb326f1d/charset_normalizer-3.3.2-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:0b2b64d2bb6d3fb9112bafa732def486049e63de9618b5843bcdd081d8144cd8", size = 192892 }, @@ -3920,7 +3864,6 @@ fn lock_new_extras() -> Result<()> { [[distribution]] name = "idna" version = "3.6" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/bf/3f/ea4b9117521a1e9c50344b909be7886dd00a519552724809bb1f486986c2/idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca", size = 175426 } wheels = [ { url = "https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f", size = 61567 }, @@ -3937,7 +3880,6 @@ fn lock_new_extras() -> Result<()> { [[distribution]] name = "requests" version = "2.31.0" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "certifi" }, { name = "charset-normalizer" }, @@ -3952,7 +3894,6 @@ fn lock_new_extras() -> Result<()> { [[distribution]] name = "urllib3" version = "2.2.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/7a/50/7fd50a27caa0652cd4caf224aa87741ea41d3265ad13f010886167cfcc79/urllib3-2.2.1.tar.gz", hash = "sha256:d0570876c61ab9e520d776c38acbbb5b05a776d3f9ff98a5c8fd5162a444cf19", size = 291020 } wheels = [ { url = "https://files.pythonhosted.org/packages/a2/73/a68704750a7679d0b6d3ad7aa8d4da8e14e151ae82e6fee774e6e0d05ec8/urllib3-2.2.1-py3-none-any.whl", hash = "sha256:450b20ec296a467077128bff42b73080516e71b56ff59a60a02bef2232c4fa9d", size = 121067 }, @@ -3990,98 +3931,93 @@ fn lock_new_extras() -> Result<()> { }, { assert_snapshot!( lock, @r###" - version = 1 - requires-python = ">=3.12" - exclude-newer = "2024-03-25 00:00:00 UTC" + version = 1 + default-source = { registry = "https://pypi.org/simple" } + requires-python = ">=3.12" + exclude-newer = "2024-03-25 00:00:00 UTC" - [[distribution]] - name = "certifi" - version = "2024.2.2" - source = { registry = "https://pypi.org/simple" } - sdist = { url = "https://files.pythonhosted.org/packages/71/da/e94e26401b62acd6d91df2b52954aceb7f561743aa5ccc32152886c76c96/certifi-2024.2.2.tar.gz", hash = "sha256:0569859f95fc761b18b45ef421b1290a0f65f147e92a1e5eb3e635f9a5e4e66f", size = 164886 } - wheels = [ - { url = "https://files.pythonhosted.org/packages/ba/06/a07f096c664aeb9f01624f858c3add0a4e913d6c96257acb4fce61e7de14/certifi-2024.2.2-py3-none-any.whl", hash = "sha256:dc383c07b76109f368f6106eee2b593b04a011ea4d55f652c6ca24a754d1cdd1", size = 163774 }, - ] + [[distribution]] + name = "certifi" + version = "2024.2.2" + sdist = { url = "https://files.pythonhosted.org/packages/71/da/e94e26401b62acd6d91df2b52954aceb7f561743aa5ccc32152886c76c96/certifi-2024.2.2.tar.gz", hash = "sha256:0569859f95fc761b18b45ef421b1290a0f65f147e92a1e5eb3e635f9a5e4e66f", size = 164886 } + wheels = [ + { url = "https://files.pythonhosted.org/packages/ba/06/a07f096c664aeb9f01624f858c3add0a4e913d6c96257acb4fce61e7de14/certifi-2024.2.2-py3-none-any.whl", hash = "sha256:dc383c07b76109f368f6106eee2b593b04a011ea4d55f652c6ca24a754d1cdd1", size = 163774 }, + ] - [[distribution]] - name = "charset-normalizer" - version = "3.3.2" - source = { registry = "https://pypi.org/simple" } - sdist = { url = "https://files.pythonhosted.org/packages/63/09/c1bc53dab74b1816a00d8d030de5bf98f724c52c1635e07681d312f20be8/charset-normalizer-3.3.2.tar.gz", hash = "sha256:f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5", size = 104809 } - wheels = [ - { url = "https://files.pythonhosted.org/packages/d1/b2/fcedc8255ec42afee97f9e6f0145c734bbe104aac28300214593eb326f1d/charset_normalizer-3.3.2-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:0b2b64d2bb6d3fb9112bafa732def486049e63de9618b5843bcdd081d8144cd8", size = 192892 }, - { url = "https://files.pythonhosted.org/packages/2e/7d/2259318c202f3d17f3fe6438149b3b9e706d1070fe3fcbb28049730bb25c/charset_normalizer-3.3.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:ddbb2551d7e0102e7252db79ba445cdab71b26640817ab1e3e3648dad515003b", size = 122213 }, - { url = "https://files.pythonhosted.org/packages/3a/52/9f9d17c3b54dc238de384c4cb5a2ef0e27985b42a0e5cc8e8a31d918d48d/charset_normalizer-3.3.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:55086ee1064215781fff39a1af09518bc9255b50d6333f2e4c74ca09fac6a8f6", size = 119404 }, - { url = "https://files.pythonhosted.org/packages/99/b0/9c365f6d79a9f0f3c379ddb40a256a67aa69c59609608fe7feb6235896e1/charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8f4a014bc36d3c57402e2977dada34f9c12300af536839dc38c0beab8878f38a", size = 137275 }, - { url = "https://files.pythonhosted.org/packages/91/33/749df346e93d7a30cdcb90cbfdd41a06026317bfbfb62cd68307c1a3c543/charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a10af20b82360ab00827f916a6058451b723b4e65030c5a18577c8b2de5b3389", size = 147518 }, - { url = "https://files.pythonhosted.org/packages/72/1a/641d5c9f59e6af4c7b53da463d07600a695b9824e20849cb6eea8a627761/charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8d756e44e94489e49571086ef83b2bb8ce311e730092d2c34ca8f7d925cb20aa", size = 140182 }, - { url = "https://files.pythonhosted.org/packages/ee/fb/14d30eb4956408ee3ae09ad34299131fb383c47df355ddb428a7331cfa1e/charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:90d558489962fd4918143277a773316e56c72da56ec7aa3dc3dbbe20fdfed15b", size = 141869 }, - { url = "https://files.pythonhosted.org/packages/df/3e/a06b18788ca2eb6695c9b22325b6fde7dde0f1d1838b1792a0076f58fe9d/charset_normalizer-3.3.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6ac7ffc7ad6d040517be39eb591cac5ff87416c2537df6ba3cba3bae290c0fed", size = 144042 }, - { url = "https://files.pythonhosted.org/packages/45/59/3d27019d3b447a88fe7e7d004a1e04be220227760264cc41b405e863891b/charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:7ed9e526742851e8d5cc9e6cf41427dfc6068d4f5a3bb03659444b4cabf6bc26", size = 138275 }, - { url = "https://files.pythonhosted.org/packages/7b/ef/5eb105530b4da8ae37d506ccfa25057961b7b63d581def6f99165ea89c7e/charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:8bdb58ff7ba23002a4c5808d608e4e6c687175724f54a5dade5fa8c67b604e4d", size = 144819 }, - { url = "https://files.pythonhosted.org/packages/a2/51/e5023f937d7f307c948ed3e5c29c4b7a3e42ed2ee0b8cdf8f3a706089bf0/charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:6b3251890fff30ee142c44144871185dbe13b11bab478a88887a639655be1068", size = 149415 }, - { url = "https://files.pythonhosted.org/packages/24/9d/2e3ef673dfd5be0154b20363c5cdcc5606f35666544381bee15af3778239/charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:b4a23f61ce87adf89be746c8a8974fe1c823c891d8f86eb218bb957c924bb143", size = 141212 }, - { url = "https://files.pythonhosted.org/packages/5b/ae/ce2c12fcac59cb3860b2e2d76dc405253a4475436b1861d95fe75bdea520/charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:efcb3f6676480691518c177e3b465bcddf57cea040302f9f4e6e191af91174d4", size = 142167 }, - { url = "https://files.pythonhosted.org/packages/ed/3a/a448bf035dce5da359daf9ae8a16b8a39623cc395a2ffb1620aa1bce62b0/charset_normalizer-3.3.2-cp312-cp312-win32.whl", hash = "sha256:d965bba47ddeec8cd560687584e88cf699fd28f192ceb452d1d7ee807c5597b7", size = 93041 }, - { url = "https://files.pythonhosted.org/packages/b6/7c/8debebb4f90174074b827c63242c23851bdf00a532489fba57fef3416e40/charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl", hash = "sha256:96b02a3dc4381e5494fad39be677abcb5e6634bf7b4fa83a6dd3112607547001", size = 100397 }, - { url = "https://files.pythonhosted.org/packages/28/76/e6222113b83e3622caa4bb41032d0b1bf785250607392e1b778aca0b8a7d/charset_normalizer-3.3.2-py3-none-any.whl", hash = "sha256:3e4d1f6587322d2788836a99c69062fbb091331ec940e02d12d179c1d53e25fc", size = 48543 }, - ] + [[distribution]] + name = "charset-normalizer" + version = "3.3.2" + sdist = { url = "https://files.pythonhosted.org/packages/63/09/c1bc53dab74b1816a00d8d030de5bf98f724c52c1635e07681d312f20be8/charset-normalizer-3.3.2.tar.gz", hash = "sha256:f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5", size = 104809 } + wheels = [ + { url = "https://files.pythonhosted.org/packages/d1/b2/fcedc8255ec42afee97f9e6f0145c734bbe104aac28300214593eb326f1d/charset_normalizer-3.3.2-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:0b2b64d2bb6d3fb9112bafa732def486049e63de9618b5843bcdd081d8144cd8", size = 192892 }, + { url = "https://files.pythonhosted.org/packages/2e/7d/2259318c202f3d17f3fe6438149b3b9e706d1070fe3fcbb28049730bb25c/charset_normalizer-3.3.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:ddbb2551d7e0102e7252db79ba445cdab71b26640817ab1e3e3648dad515003b", size = 122213 }, + { url = "https://files.pythonhosted.org/packages/3a/52/9f9d17c3b54dc238de384c4cb5a2ef0e27985b42a0e5cc8e8a31d918d48d/charset_normalizer-3.3.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:55086ee1064215781fff39a1af09518bc9255b50d6333f2e4c74ca09fac6a8f6", size = 119404 }, + { url = "https://files.pythonhosted.org/packages/99/b0/9c365f6d79a9f0f3c379ddb40a256a67aa69c59609608fe7feb6235896e1/charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8f4a014bc36d3c57402e2977dada34f9c12300af536839dc38c0beab8878f38a", size = 137275 }, + { url = "https://files.pythonhosted.org/packages/91/33/749df346e93d7a30cdcb90cbfdd41a06026317bfbfb62cd68307c1a3c543/charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a10af20b82360ab00827f916a6058451b723b4e65030c5a18577c8b2de5b3389", size = 147518 }, + { url = "https://files.pythonhosted.org/packages/72/1a/641d5c9f59e6af4c7b53da463d07600a695b9824e20849cb6eea8a627761/charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8d756e44e94489e49571086ef83b2bb8ce311e730092d2c34ca8f7d925cb20aa", size = 140182 }, + { url = "https://files.pythonhosted.org/packages/ee/fb/14d30eb4956408ee3ae09ad34299131fb383c47df355ddb428a7331cfa1e/charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:90d558489962fd4918143277a773316e56c72da56ec7aa3dc3dbbe20fdfed15b", size = 141869 }, + { url = "https://files.pythonhosted.org/packages/df/3e/a06b18788ca2eb6695c9b22325b6fde7dde0f1d1838b1792a0076f58fe9d/charset_normalizer-3.3.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6ac7ffc7ad6d040517be39eb591cac5ff87416c2537df6ba3cba3bae290c0fed", size = 144042 }, + { url = "https://files.pythonhosted.org/packages/45/59/3d27019d3b447a88fe7e7d004a1e04be220227760264cc41b405e863891b/charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:7ed9e526742851e8d5cc9e6cf41427dfc6068d4f5a3bb03659444b4cabf6bc26", size = 138275 }, + { url = "https://files.pythonhosted.org/packages/7b/ef/5eb105530b4da8ae37d506ccfa25057961b7b63d581def6f99165ea89c7e/charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:8bdb58ff7ba23002a4c5808d608e4e6c687175724f54a5dade5fa8c67b604e4d", size = 144819 }, + { url = "https://files.pythonhosted.org/packages/a2/51/e5023f937d7f307c948ed3e5c29c4b7a3e42ed2ee0b8cdf8f3a706089bf0/charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:6b3251890fff30ee142c44144871185dbe13b11bab478a88887a639655be1068", size = 149415 }, + { url = "https://files.pythonhosted.org/packages/24/9d/2e3ef673dfd5be0154b20363c5cdcc5606f35666544381bee15af3778239/charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:b4a23f61ce87adf89be746c8a8974fe1c823c891d8f86eb218bb957c924bb143", size = 141212 }, + { url = "https://files.pythonhosted.org/packages/5b/ae/ce2c12fcac59cb3860b2e2d76dc405253a4475436b1861d95fe75bdea520/charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:efcb3f6676480691518c177e3b465bcddf57cea040302f9f4e6e191af91174d4", size = 142167 }, + { url = "https://files.pythonhosted.org/packages/ed/3a/a448bf035dce5da359daf9ae8a16b8a39623cc395a2ffb1620aa1bce62b0/charset_normalizer-3.3.2-cp312-cp312-win32.whl", hash = "sha256:d965bba47ddeec8cd560687584e88cf699fd28f192ceb452d1d7ee807c5597b7", size = 93041 }, + { url = "https://files.pythonhosted.org/packages/b6/7c/8debebb4f90174074b827c63242c23851bdf00a532489fba57fef3416e40/charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl", hash = "sha256:96b02a3dc4381e5494fad39be677abcb5e6634bf7b4fa83a6dd3112607547001", size = 100397 }, + { url = "https://files.pythonhosted.org/packages/28/76/e6222113b83e3622caa4bb41032d0b1bf785250607392e1b778aca0b8a7d/charset_normalizer-3.3.2-py3-none-any.whl", hash = "sha256:3e4d1f6587322d2788836a99c69062fbb091331ec940e02d12d179c1d53e25fc", size = 48543 }, + ] - [[distribution]] - name = "idna" - version = "3.6" - source = { registry = "https://pypi.org/simple" } - sdist = { url = "https://files.pythonhosted.org/packages/bf/3f/ea4b9117521a1e9c50344b909be7886dd00a519552724809bb1f486986c2/idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca", size = 175426 } - wheels = [ - { url = "https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f", size = 61567 }, - ] + [[distribution]] + name = "idna" + version = "3.6" + sdist = { url = "https://files.pythonhosted.org/packages/bf/3f/ea4b9117521a1e9c50344b909be7886dd00a519552724809bb1f486986c2/idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca", size = 175426 } + wheels = [ + { url = "https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f", size = 61567 }, + ] - [[distribution]] - name = "project" - version = "0.1.0" - source = { editable = "." } - dependencies = [ - { name = "requests", extra = ["socks"] }, - ] + [[distribution]] + name = "project" + version = "0.1.0" + source = { editable = "." } + dependencies = [ + { name = "requests", extra = ["socks"] }, + ] - [[distribution]] - name = "pysocks" - version = "1.7.1" - source = { registry = "https://pypi.org/simple" } - sdist = { url = "https://files.pythonhosted.org/packages/bd/11/293dd436aea955d45fc4e8a35b6ae7270f5b8e00b53cf6c024c83b657a11/PySocks-1.7.1.tar.gz", hash = "sha256:3f8804571ebe159c380ac6de37643bb4685970655d3bba243530d6558b799aa0", size = 284429 } - wheels = [ - { url = "https://files.pythonhosted.org/packages/8d/59/b4572118e098ac8e46e399a1dd0f2d85403ce8bbaad9ec79373ed6badaf9/PySocks-1.7.1-py3-none-any.whl", hash = "sha256:2725bd0a9925919b9b51739eea5f9e2bae91e83288108a9ad338b2e3a4435ee5", size = 16725 }, - ] + [[distribution]] + name = "pysocks" + version = "1.7.1" + sdist = { url = "https://files.pythonhosted.org/packages/bd/11/293dd436aea955d45fc4e8a35b6ae7270f5b8e00b53cf6c024c83b657a11/PySocks-1.7.1.tar.gz", hash = "sha256:3f8804571ebe159c380ac6de37643bb4685970655d3bba243530d6558b799aa0", size = 284429 } + wheels = [ + { url = "https://files.pythonhosted.org/packages/8d/59/b4572118e098ac8e46e399a1dd0f2d85403ce8bbaad9ec79373ed6badaf9/PySocks-1.7.1-py3-none-any.whl", hash = "sha256:2725bd0a9925919b9b51739eea5f9e2bae91e83288108a9ad338b2e3a4435ee5", size = 16725 }, + ] - [[distribution]] - name = "requests" - version = "2.31.0" - source = { registry = "https://pypi.org/simple" } - dependencies = [ - { name = "certifi" }, - { name = "charset-normalizer" }, - { name = "idna" }, - { name = "urllib3" }, - ] - sdist = { url = "https://files.pythonhosted.org/packages/9d/be/10918a2eac4ae9f02f6cfe6414b7a155ccd8f7f9d4380d62fd5b955065c3/requests-2.31.0.tar.gz", hash = "sha256:942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1", size = 110794 } - wheels = [ - { url = "https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl", hash = "sha256:58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f", size = 62574 }, - ] + [[distribution]] + name = "requests" + version = "2.31.0" + dependencies = [ + { name = "certifi" }, + { name = "charset-normalizer" }, + { name = "idna" }, + { name = "urllib3" }, + ] + sdist = { url = "https://files.pythonhosted.org/packages/9d/be/10918a2eac4ae9f02f6cfe6414b7a155ccd8f7f9d4380d62fd5b955065c3/requests-2.31.0.tar.gz", hash = "sha256:942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1", size = 110794 } + wheels = [ + { url = "https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl", hash = "sha256:58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f", size = 62574 }, + ] - [distribution.optional-dependencies] - socks = [ - { name = "pysocks" }, - ] + [distribution.optional-dependencies] + socks = [ + { name = "pysocks" }, + ] - [[distribution]] - name = "urllib3" - version = "2.2.1" - source = { registry = "https://pypi.org/simple" } - sdist = { url = "https://files.pythonhosted.org/packages/7a/50/7fd50a27caa0652cd4caf224aa87741ea41d3265ad13f010886167cfcc79/urllib3-2.2.1.tar.gz", hash = "sha256:d0570876c61ab9e520d776c38acbbb5b05a776d3f9ff98a5c8fd5162a444cf19", size = 291020 } - wheels = [ - { url = "https://files.pythonhosted.org/packages/a2/73/a68704750a7679d0b6d3ad7aa8d4da8e14e151ae82e6fee774e6e0d05ec8/urllib3-2.2.1-py3-none-any.whl", hash = "sha256:450b20ec296a467077128bff42b73080516e71b56ff59a60a02bef2232c4fa9d", size = 121067 }, - ] - "### + [[distribution]] + name = "urllib3" + version = "2.2.1" + sdist = { url = "https://files.pythonhosted.org/packages/7a/50/7fd50a27caa0652cd4caf224aa87741ea41d3265ad13f010886167cfcc79/urllib3-2.2.1.tar.gz", hash = "sha256:d0570876c61ab9e520d776c38acbbb5b05a776d3f9ff98a5c8fd5162a444cf19", size = 291020 } + wheels = [ + { url = "https://files.pythonhosted.org/packages/a2/73/a68704750a7679d0b6d3ad7aa8d4da8e14e151ae82e6fee774e6e0d05ec8/urllib3-2.2.1-py3-none-any.whl", hash = "sha256:450b20ec296a467077128bff42b73080516e71b56ff59a60a02bef2232c4fa9d", size = 121067 }, + ] + "### ); }); @@ -4207,49 +4143,47 @@ fn lock_resolution_mode() -> Result<()> { }, { assert_snapshot!( lock, @r###" - version = 1 - requires-python = ">=3.12" - exclude-newer = "2024-03-25 00:00:00 UTC" + version = 1 + default-source = { registry = "https://pypi.org/simple" } + requires-python = ">=3.12" + exclude-newer = "2024-03-25 00:00:00 UTC" - [[distribution]] - name = "anyio" - version = "4.3.0" - source = { registry = "https://pypi.org/simple" } - dependencies = [ - { name = "idna" }, - { name = "sniffio" }, - ] - sdist = { url = "https://files.pythonhosted.org/packages/db/4d/3970183622f0330d3c23d9b8a5f52e365e50381fd484d08e3285104333d3/anyio-4.3.0.tar.gz", hash = "sha256:f75253795a87df48568485fd18cdd2a3fa5c4f7c5be8e5e36637733fce06fed6", size = 159642 } - wheels = [ - { url = "https://files.pythonhosted.org/packages/14/fd/2f20c40b45e4fb4324834aea24bd4afdf1143390242c0b33774da0e2e34f/anyio-4.3.0-py3-none-any.whl", hash = "sha256:048e05d0f6caeed70d731f3db756d35dcc1f35747c8c403364a8332c630441b8", size = 85584 }, - ] + [[distribution]] + name = "anyio" + version = "4.3.0" + dependencies = [ + { name = "idna" }, + { name = "sniffio" }, + ] + sdist = { url = "https://files.pythonhosted.org/packages/db/4d/3970183622f0330d3c23d9b8a5f52e365e50381fd484d08e3285104333d3/anyio-4.3.0.tar.gz", hash = "sha256:f75253795a87df48568485fd18cdd2a3fa5c4f7c5be8e5e36637733fce06fed6", size = 159642 } + wheels = [ + { url = "https://files.pythonhosted.org/packages/14/fd/2f20c40b45e4fb4324834aea24bd4afdf1143390242c0b33774da0e2e34f/anyio-4.3.0-py3-none-any.whl", hash = "sha256:048e05d0f6caeed70d731f3db756d35dcc1f35747c8c403364a8332c630441b8", size = 85584 }, + ] - [[distribution]] - name = "idna" - version = "3.6" - source = { registry = "https://pypi.org/simple" } - sdist = { url = "https://files.pythonhosted.org/packages/bf/3f/ea4b9117521a1e9c50344b909be7886dd00a519552724809bb1f486986c2/idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca", size = 175426 } - wheels = [ - { url = "https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f", size = 61567 }, - ] + [[distribution]] + name = "idna" + version = "3.6" + sdist = { url = "https://files.pythonhosted.org/packages/bf/3f/ea4b9117521a1e9c50344b909be7886dd00a519552724809bb1f486986c2/idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca", size = 175426 } + wheels = [ + { url = "https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f", size = 61567 }, + ] - [[distribution]] - name = "project" - version = "0.1.0" - source = { editable = "." } - dependencies = [ - { name = "anyio" }, - ] + [[distribution]] + name = "project" + version = "0.1.0" + source = { editable = "." } + dependencies = [ + { name = "anyio" }, + ] - [[distribution]] - name = "sniffio" - version = "1.3.1" - source = { registry = "https://pypi.org/simple" } - sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372 } - wheels = [ - { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235 }, - ] - "### + [[distribution]] + name = "sniffio" + version = "1.3.1" + sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372 } + wheels = [ + { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235 }, + ] + "### ); }); @@ -4285,6 +4219,7 @@ fn lock_resolution_mode() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" resolution-mode = "lowest-direct" exclude-newer = "2024-03-25 00:00:00 UTC" @@ -4292,7 +4227,6 @@ fn lock_resolution_mode() -> Result<()> { [[distribution]] name = "anyio" version = "3.0.0" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "idna" }, { name = "sniffio" }, @@ -4305,7 +4239,6 @@ fn lock_resolution_mode() -> Result<()> { [[distribution]] name = "idna" version = "3.6" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/bf/3f/ea4b9117521a1e9c50344b909be7886dd00a519552724809bb1f486986c2/idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca", size = 175426 } wheels = [ { url = "https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f", size = 61567 }, @@ -4322,7 +4255,6 @@ fn lock_resolution_mode() -> Result<()> { [[distribution]] name = "sniffio" version = "1.3.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372 } wheels = [ { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235 }, @@ -4432,6 +4364,7 @@ fn lock_same_version_multiple_urls() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" environment-markers = [ "sys_platform == 'darwin'", @@ -4442,7 +4375,6 @@ fn lock_same_version_multiple_urls() -> Result<()> { [[distribution]] name = "anyio" version = "3.0.0" - source = { registry = "https://pypi.org/simple" } environment-markers = [ "sys_platform != 'darwin'", ] @@ -4458,7 +4390,6 @@ fn lock_same_version_multiple_urls() -> Result<()> { [[distribution]] name = "anyio" version = "3.7.0" - source = { registry = "https://pypi.org/simple" } environment-markers = [ "sys_platform == 'darwin'", ] @@ -4479,7 +4410,7 @@ fn lock_same_version_multiple_urls() -> Result<()> { "sys_platform == 'darwin'", ] dependencies = [ - { name = "anyio", version = "3.7.0", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform == 'darwin'" }, + { name = "anyio", version = "3.7.0", marker = "sys_platform == 'darwin'" }, ] [[distribution]] @@ -4490,13 +4421,12 @@ fn lock_same_version_multiple_urls() -> Result<()> { "sys_platform != 'darwin'", ] dependencies = [ - { name = "anyio", version = "3.0.0", source = { registry = "https://pypi.org/simple" }, marker = "sys_platform != 'darwin'" }, + { name = "anyio", version = "3.0.0", marker = "sys_platform != 'darwin'" }, ] [[distribution]] name = "idna" version = "3.6" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/bf/3f/ea4b9117521a1e9c50344b909be7886dd00a519552724809bb1f486986c2/idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca", size = 175426 } wheels = [ { url = "https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f", size = 61567 }, @@ -4514,7 +4444,6 @@ fn lock_same_version_multiple_urls() -> Result<()> { [[distribution]] name = "sniffio" version = "1.3.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372 } wheels = [ { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235 }, @@ -4617,6 +4546,7 @@ fn lock_exclusion() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" @@ -4720,6 +4650,7 @@ fn lock_dev_transitive() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" @@ -4751,7 +4682,6 @@ fn lock_dev_transitive() -> Result<()> { [[distribution]] name = "iniconfig" version = "2.0.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/d7/4b/cbd8e699e64a6f16ca3a8220661b5f83792b3017d0f79807cb8708d33913/iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3", size = 4646 } wheels = [ { url = "https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374", size = 5892 }, @@ -4760,7 +4690,6 @@ fn lock_dev_transitive() -> Result<()> { [[distribution]] name = "typing-extensions" version = "4.10.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/16/3a/0d26ce356c7465a19c9ea8814b960f8a36c3b0d07c323176620b7b483e44/typing_extensions-4.10.0.tar.gz", hash = "sha256:b0abd7c89e8fb96f98db18d86106ff1d90ab692004eb746cf6eda2682f91b3cb", size = 77558 } wheels = [ { url = "https://files.pythonhosted.org/packages/f9/de/dc04a3ea60b22624b51c703a84bbe0184abcd1d0b9bc8074b5d6b7ab90bb/typing_extensions-4.10.0-py3-none-any.whl", hash = "sha256:69b1a937c3a517342112fb4c6df7e72fc39a38e7891a5730ed4985b5214b5475", size = 33926 }, @@ -4807,6 +4736,7 @@ fn lock_redact() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://public:heron@pypi-proxy.fly.dev/basic-auth/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" @@ -4925,6 +4855,7 @@ fn lock_no_sources() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" @@ -4939,7 +4870,6 @@ fn lock_no_sources() -> Result<()> { [[distribution]] name = "iniconfig" version = "2.0.0" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/d7/4b/cbd8e699e64a6f16ca3a8220661b5f83792b3017d0f79807cb8708d33913/iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3", size = 4646 } wheels = [ { url = "https://files.pythonhosted.org/packages/ef/a6/62565a6e1cf69e10f5727360368e451d4b7f58beeac6173dc9db836a5b46/iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374", size = 5892 }, @@ -4979,13 +4909,13 @@ fn lock_no_sources() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://pypi.org/simple" } requires-python = ">=3.12" exclude-newer = "2024-03-25 00:00:00 UTC" [[distribution]] name = "anyio" version = "4.3.0" - source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "idna" }, { name = "sniffio" }, @@ -4998,7 +4928,6 @@ fn lock_no_sources() -> Result<()> { [[distribution]] name = "idna" version = "3.6" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/bf/3f/ea4b9117521a1e9c50344b909be7886dd00a519552724809bb1f486986c2/idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca", size = 175426 } wheels = [ { url = "https://files.pythonhosted.org/packages/c2/e7/a82b05cf63a603df6e68d59ae6a68bf5064484a0718ea5033660af4b54a9/idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f", size = 61567 }, @@ -5015,7 +4944,6 @@ fn lock_no_sources() -> Result<()> { [[distribution]] name = "sniffio" version = "1.3.1" - source = { registry = "https://pypi.org/simple" } sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372 } wheels = [ { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235 }, diff --git a/crates/uv/tests/lock_scenarios.rs b/crates/uv/tests/lock_scenarios.rs index 7ade9837cf4c..d8361a17ad5c 100644 --- a/crates/uv/tests/lock_scenarios.rs +++ b/crates/uv/tests/lock_scenarios.rs @@ -82,6 +82,7 @@ fn fork_allows_non_conflicting_non_overlapping_dependencies() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } requires-python = ">=3.8" environment-markers = [ "sys_platform == 'darwin'", @@ -92,7 +93,6 @@ fn fork_allows_non_conflicting_non_overlapping_dependencies() -> Result<()> { [[distribution]] name = "package-a" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } sdist = { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_allows_non_conflicting_non_overlapping_dependencies_a-1.0.0.tar.gz", hash = "sha256:dd40a6bd59fbeefbf9f4936aec3df6fb6017e57d334f85f482ae5dd03ae353b9" } wheels = [ { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_allows_non_conflicting_non_overlapping_dependencies_a-1.0.0-py3-none-any.whl", hash = "sha256:8111e996c2a4e04c7a7cf91cf6f8338f5195c22ecf2303d899c4ef4e718a8175" }, @@ -193,12 +193,12 @@ fn fork_allows_non_conflicting_repeated_dependencies() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } requires-python = ">=3.8" [[distribution]] name = "package-a" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } sdist = { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_allows_non_conflicting_repeated_dependencies_a-1.0.0.tar.gz", hash = "sha256:45ca30f1f66eaf6790198fad279b6448719092f2128f23b99f2ede0d6dde613b" } wheels = [ { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_allows_non_conflicting_repeated_dependencies_a-1.0.0-py3-none-any.whl", hash = "sha256:fc3f6d2fab10d1bb4f52bd9a7de69dc97ed1792506706ca78bdc9e95d6641a6b" }, @@ -288,6 +288,7 @@ fn fork_basic() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } requires-python = ">=3.8" environment-markers = [ "sys_platform == 'darwin'", @@ -298,7 +299,6 @@ fn fork_basic() -> Result<()> { [[distribution]] name = "package-a" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "sys_platform == 'darwin'", ] @@ -310,7 +310,6 @@ fn fork_basic() -> Result<()> { [[distribution]] name = "package-a" version = "2.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "sys_platform == 'linux'", ] @@ -324,8 +323,8 @@ fn fork_basic() -> Result<()> { version = "0.1.0" source = { editable = "." } dependencies = [ - { name = "package-a", version = "1.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform == 'darwin'" }, - { name = "package-a", version = "2.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform == 'linux'" }, + { name = "package-a", version = "1.0.0", marker = "sys_platform == 'darwin'" }, + { name = "package-a", version = "2.0.0", marker = "sys_platform == 'linux'" }, ] "### ); @@ -568,6 +567,7 @@ fn fork_filter_sibling_dependencies() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } requires-python = ">=3.8" environment-markers = [ "sys_platform == 'darwin'", @@ -578,7 +578,6 @@ fn fork_filter_sibling_dependencies() -> Result<()> { [[distribution]] name = "package-a" version = "4.3.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "sys_platform == 'darwin'", ] @@ -590,7 +589,6 @@ fn fork_filter_sibling_dependencies() -> Result<()> { [[distribution]] name = "package-a" version = "4.4.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "sys_platform == 'linux'", ] @@ -602,9 +600,8 @@ fn fork_filter_sibling_dependencies() -> Result<()> { [[distribution]] name = "package-b" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } dependencies = [ - { name = "package-d", version = "1.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform == 'linux'" }, + { name = "package-d", version = "1.0.0", marker = "sys_platform == 'linux'" }, ] sdist = { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_filter_sibling_dependencies_b-1.0.0.tar.gz", hash = "sha256:af3f861d6df9a2bbad55bae02acf17384ea2efa1abbf19206ac56cb021814613" } wheels = [ @@ -614,9 +611,8 @@ fn fork_filter_sibling_dependencies() -> Result<()> { [[distribution]] name = "package-c" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } dependencies = [ - { name = "package-d", version = "2.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform == 'darwin'" }, + { name = "package-d", version = "2.0.0", marker = "sys_platform == 'darwin'" }, ] sdist = { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_filter_sibling_dependencies_c-1.0.0.tar.gz", hash = "sha256:c03742ca6e81c2a5d7d8cb72d1214bf03b2925e63858a19097f17d3e1a750192" } wheels = [ @@ -626,7 +622,6 @@ fn fork_filter_sibling_dependencies() -> Result<()> { [[distribution]] name = "package-d" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "sys_platform == 'linux'", ] @@ -638,7 +633,6 @@ fn fork_filter_sibling_dependencies() -> Result<()> { [[distribution]] name = "package-d" version = "2.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "sys_platform == 'darwin'", ] @@ -652,8 +646,8 @@ fn fork_filter_sibling_dependencies() -> Result<()> { version = "0.1.0" source = { editable = "." } dependencies = [ - { name = "package-a", version = "4.3.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform == 'darwin'" }, - { name = "package-a", version = "4.4.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform == 'linux'" }, + { name = "package-a", version = "4.3.0", marker = "sys_platform == 'darwin'" }, + { name = "package-a", version = "4.4.0", marker = "sys_platform == 'linux'" }, { name = "package-b", marker = "sys_platform == 'linux'" }, { name = "package-c", marker = "sys_platform == 'darwin'" }, ] @@ -746,6 +740,7 @@ fn fork_incomplete_markers() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } requires-python = ">=3.8" environment-markers = [ "python_version < '3.10'", @@ -756,7 +751,6 @@ fn fork_incomplete_markers() -> Result<()> { [[distribution]] name = "package-a" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "python_version < '3.10'", ] @@ -768,7 +762,6 @@ fn fork_incomplete_markers() -> Result<()> { [[distribution]] name = "package-a" version = "2.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "python_version >= '3.11'", ] @@ -780,7 +773,6 @@ fn fork_incomplete_markers() -> Result<()> { [[distribution]] name = "package-b" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } dependencies = [ { name = "package-c", marker = "python_version == '3.10'" }, ] @@ -792,7 +784,6 @@ fn fork_incomplete_markers() -> Result<()> { [[distribution]] name = "package-c" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } sdist = { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_incomplete_markers_c-1.0.0.tar.gz", hash = "sha256:ecc02ea1cc8d3b561c8dcb9d2ba1abcdae2dd32de608bf8e8ed2878118426022" } wheels = [ { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_incomplete_markers_c-1.0.0-py3-none-any.whl", hash = "sha256:03fa287aa4cb78457211cb3df7459b99ba1ee2259aae24bc745eaab45e7eaaee" }, @@ -803,8 +794,8 @@ fn fork_incomplete_markers() -> Result<()> { version = "0.1.0" source = { editable = "." } dependencies = [ - { name = "package-a", version = "1.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "python_version < '3.10'" }, - { name = "package-a", version = "2.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "python_version >= '3.11'" }, + { name = "package-a", version = "1.0.0", marker = "python_version < '3.10'" }, + { name = "package-a", version = "2.0.0", marker = "python_version >= '3.11'" }, { name = "package-b", marker = "python_version < '3.10' or python_version >= '3.11' or (python_version < '3.11' and python_version >= '3.10')" }, ] "### @@ -894,12 +885,12 @@ fn fork_marker_accrue() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } requires-python = ">=3.8" [[distribution]] name = "package-a" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } dependencies = [ { name = "package-c", marker = "sys_platform == 'linux'" }, ] @@ -911,7 +902,6 @@ fn fork_marker_accrue() -> Result<()> { [[distribution]] name = "package-b" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } dependencies = [ { name = "package-c", marker = "sys_platform == 'darwin'" }, ] @@ -923,7 +913,6 @@ fn fork_marker_accrue() -> Result<()> { [[distribution]] name = "package-c" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } sdist = { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_marker_accrue_c-1.0.0.tar.gz", hash = "sha256:a3e09ac3dc8e787a08ebe8d5d6072e09720c76cbbcb76a6645d6f59652742015" } wheels = [ { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_marker_accrue_c-1.0.0-py3-none-any.whl", hash = "sha256:b0c8719d38c91b2a8548bd065b1d2153fbe031b37775ed244e76fe5bdfbb502e" }, @@ -1092,6 +1081,7 @@ fn fork_marker_inherit_combined_allowed() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } requires-python = ">=3.8" environment-markers = [ "sys_platform == 'linux'", @@ -1104,15 +1094,14 @@ fn fork_marker_inherit_combined_allowed() -> Result<()> { [[distribution]] name = "package-a" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "implementation_name == 'cpython' and sys_platform == 'darwin'", "implementation_name == 'pypy' and sys_platform == 'darwin'", "implementation_name != 'cpython' and implementation_name != 'pypy' and sys_platform == 'darwin'", ] dependencies = [ - { name = "package-b", version = "1.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "implementation_name == 'pypy'" }, - { name = "package-b", version = "2.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "implementation_name == 'cpython'" }, + { name = "package-b", version = "1.0.0", marker = "implementation_name == 'pypy'" }, + { name = "package-b", version = "2.0.0", marker = "implementation_name == 'cpython'" }, ] sdist = { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_marker_inherit_combined_allowed_a-1.0.0.tar.gz", hash = "sha256:c7232306e8597d46c3fe53a3b1472f99b8ff36b3169f335ba0a5b625e193f7d4" } wheels = [ @@ -1122,7 +1111,6 @@ fn fork_marker_inherit_combined_allowed() -> Result<()> { [[distribution]] name = "package-a" version = "2.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "sys_platform == 'linux'", ] @@ -1134,7 +1122,6 @@ fn fork_marker_inherit_combined_allowed() -> Result<()> { [[distribution]] name = "package-b" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "implementation_name == 'pypy' and sys_platform == 'darwin'", ] @@ -1149,7 +1136,6 @@ fn fork_marker_inherit_combined_allowed() -> Result<()> { [[distribution]] name = "package-b" version = "2.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "implementation_name == 'cpython' and sys_platform == 'darwin'", ] @@ -1161,7 +1147,6 @@ fn fork_marker_inherit_combined_allowed() -> Result<()> { [[distribution]] name = "package-c" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } sdist = { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_marker_inherit_combined_allowed_c-1.0.0.tar.gz", hash = "sha256:7ce8efca029cfa952e64f55c2d47fe33975c7f77ec689384bda11cbc3b7ef1db" } wheels = [ { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_marker_inherit_combined_allowed_c-1.0.0-py3-none-any.whl", hash = "sha256:6a6b776dedabceb6a6c4f54a5d932076fa3fed1380310491999ca2d31e13b41c" }, @@ -1172,8 +1157,8 @@ fn fork_marker_inherit_combined_allowed() -> Result<()> { version = "0.1.0" source = { editable = "." } dependencies = [ - { name = "package-a", version = "1.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform == 'darwin'" }, - { name = "package-a", version = "2.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform == 'linux'" }, + { name = "package-a", version = "1.0.0", marker = "sys_platform == 'darwin'" }, + { name = "package-a", version = "2.0.0", marker = "sys_platform == 'linux'" }, ] "### ); @@ -1267,6 +1252,7 @@ fn fork_marker_inherit_combined_disallowed() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } requires-python = ">=3.8" environment-markers = [ "sys_platform == 'linux'", @@ -1279,15 +1265,14 @@ fn fork_marker_inherit_combined_disallowed() -> Result<()> { [[distribution]] name = "package-a" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "implementation_name == 'cpython' and sys_platform == 'darwin'", "implementation_name == 'pypy' and sys_platform == 'darwin'", "implementation_name != 'cpython' and implementation_name != 'pypy' and sys_platform == 'darwin'", ] dependencies = [ - { name = "package-b", version = "1.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "implementation_name == 'pypy'" }, - { name = "package-b", version = "2.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "implementation_name == 'cpython'" }, + { name = "package-b", version = "1.0.0", marker = "implementation_name == 'pypy'" }, + { name = "package-b", version = "2.0.0", marker = "implementation_name == 'cpython'" }, ] sdist = { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_marker_inherit_combined_disallowed_a-1.0.0.tar.gz", hash = "sha256:92081d91570582f3a94ed156f203de53baca5b3fdc350aa1c831c7c42723e798" } wheels = [ @@ -1297,7 +1282,6 @@ fn fork_marker_inherit_combined_disallowed() -> Result<()> { [[distribution]] name = "package-a" version = "2.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "sys_platform == 'linux'", ] @@ -1309,7 +1293,6 @@ fn fork_marker_inherit_combined_disallowed() -> Result<()> { [[distribution]] name = "package-b" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "implementation_name == 'pypy' and sys_platform == 'darwin'", ] @@ -1321,7 +1304,6 @@ fn fork_marker_inherit_combined_disallowed() -> Result<()> { [[distribution]] name = "package-b" version = "2.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "implementation_name == 'cpython' and sys_platform == 'darwin'", ] @@ -1335,8 +1317,8 @@ fn fork_marker_inherit_combined_disallowed() -> Result<()> { version = "0.1.0" source = { editable = "." } dependencies = [ - { name = "package-a", version = "1.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform == 'darwin'" }, - { name = "package-a", version = "2.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform == 'linux'" }, + { name = "package-a", version = "1.0.0", marker = "sys_platform == 'darwin'" }, + { name = "package-a", version = "2.0.0", marker = "sys_platform == 'linux'" }, ] "### ); @@ -1431,6 +1413,7 @@ fn fork_marker_inherit_combined() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } requires-python = ">=3.8" environment-markers = [ "sys_platform == 'linux'", @@ -1443,15 +1426,14 @@ fn fork_marker_inherit_combined() -> Result<()> { [[distribution]] name = "package-a" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "implementation_name == 'cpython' and sys_platform == 'darwin'", "implementation_name == 'pypy' and sys_platform == 'darwin'", "implementation_name != 'cpython' and implementation_name != 'pypy' and sys_platform == 'darwin'", ] dependencies = [ - { name = "package-b", version = "1.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "implementation_name == 'pypy'" }, - { name = "package-b", version = "2.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "implementation_name == 'cpython'" }, + { name = "package-b", version = "1.0.0", marker = "implementation_name == 'pypy'" }, + { name = "package-b", version = "2.0.0", marker = "implementation_name == 'cpython'" }, ] sdist = { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_marker_inherit_combined_a-1.0.0.tar.gz", hash = "sha256:2ec4c9dbb7078227d996c344b9e0c1b365ed0000de9527b2ba5b616233636f07" } wheels = [ @@ -1461,7 +1443,6 @@ fn fork_marker_inherit_combined() -> Result<()> { [[distribution]] name = "package-a" version = "2.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "sys_platform == 'linux'", ] @@ -1473,7 +1454,6 @@ fn fork_marker_inherit_combined() -> Result<()> { [[distribution]] name = "package-b" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "implementation_name == 'pypy' and sys_platform == 'darwin'", ] @@ -1485,7 +1465,6 @@ fn fork_marker_inherit_combined() -> Result<()> { [[distribution]] name = "package-b" version = "2.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "implementation_name == 'cpython' and sys_platform == 'darwin'", ] @@ -1499,8 +1478,8 @@ fn fork_marker_inherit_combined() -> Result<()> { version = "0.1.0" source = { editable = "." } dependencies = [ - { name = "package-a", version = "1.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform == 'darwin'" }, - { name = "package-a", version = "2.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform == 'linux'" }, + { name = "package-a", version = "1.0.0", marker = "sys_platform == 'darwin'" }, + { name = "package-a", version = "2.0.0", marker = "sys_platform == 'linux'" }, ] "### ); @@ -1589,6 +1568,7 @@ fn fork_marker_inherit_isolated() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } requires-python = ">=3.8" environment-markers = [ "sys_platform == 'darwin'", @@ -1599,7 +1579,6 @@ fn fork_marker_inherit_isolated() -> Result<()> { [[distribution]] name = "package-a" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "sys_platform == 'darwin'", ] @@ -1611,7 +1590,6 @@ fn fork_marker_inherit_isolated() -> Result<()> { [[distribution]] name = "package-a" version = "2.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "sys_platform == 'linux'", ] @@ -1626,7 +1604,6 @@ fn fork_marker_inherit_isolated() -> Result<()> { [[distribution]] name = "package-b" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } sdist = { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_marker_inherit_isolated_b-1.0.0.tar.gz", hash = "sha256:96f8c3cabc5795e08a064c89ec76a4bfba8afe3c13d647161b4a1568b4584ced" } wheels = [ { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_marker_inherit_isolated_b-1.0.0-py3-none-any.whl", hash = "sha256:c8affc2f13f9bcd08b3d1601a21a1781ea14d52a8cddc708b29428c9c3d53ea5" }, @@ -1637,8 +1614,8 @@ fn fork_marker_inherit_isolated() -> Result<()> { version = "0.1.0" source = { editable = "." } dependencies = [ - { name = "package-a", version = "1.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform == 'darwin'" }, - { name = "package-a", version = "2.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform == 'linux'" }, + { name = "package-a", version = "1.0.0", marker = "sys_platform == 'darwin'" }, + { name = "package-a", version = "2.0.0", marker = "sys_platform == 'linux'" }, ] "### ); @@ -1732,6 +1709,7 @@ fn fork_marker_inherit_transitive() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } requires-python = ">=3.8" environment-markers = [ "sys_platform == 'darwin'", @@ -1742,7 +1720,6 @@ fn fork_marker_inherit_transitive() -> Result<()> { [[distribution]] name = "package-a" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "sys_platform == 'darwin'", ] @@ -1757,7 +1734,6 @@ fn fork_marker_inherit_transitive() -> Result<()> { [[distribution]] name = "package-a" version = "2.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "sys_platform == 'linux'", ] @@ -1769,7 +1745,6 @@ fn fork_marker_inherit_transitive() -> Result<()> { [[distribution]] name = "package-b" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } dependencies = [ { name = "package-c", marker = "sys_platform == 'darwin'" }, ] @@ -1781,7 +1756,6 @@ fn fork_marker_inherit_transitive() -> Result<()> { [[distribution]] name = "package-c" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } sdist = { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_marker_inherit_transitive_c-1.0.0.tar.gz", hash = "sha256:58bb788896b2297f2948f51a27fc48cfe44057c687a3c0c4d686b107975f7f32" } wheels = [ { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_marker_inherit_transitive_c-1.0.0-py3-none-any.whl", hash = "sha256:ad2cbb0582ec6f4dc9549d1726d2aae66cd1fdf0e355acc70cd720cf65ae4d86" }, @@ -1792,8 +1766,8 @@ fn fork_marker_inherit_transitive() -> Result<()> { version = "0.1.0" source = { editable = "." } dependencies = [ - { name = "package-a", version = "1.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform == 'darwin'" }, - { name = "package-a", version = "2.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform == 'linux'" }, + { name = "package-a", version = "1.0.0", marker = "sys_platform == 'darwin'" }, + { name = "package-a", version = "2.0.0", marker = "sys_platform == 'linux'" }, ] "### ); @@ -1882,6 +1856,7 @@ fn fork_marker_inherit() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } requires-python = ">=3.8" environment-markers = [ "sys_platform == 'darwin'", @@ -1892,7 +1867,6 @@ fn fork_marker_inherit() -> Result<()> { [[distribution]] name = "package-a" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "sys_platform == 'darwin'", ] @@ -1904,7 +1878,6 @@ fn fork_marker_inherit() -> Result<()> { [[distribution]] name = "package-a" version = "2.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "sys_platform == 'linux'", ] @@ -1918,8 +1891,8 @@ fn fork_marker_inherit() -> Result<()> { version = "0.1.0" source = { editable = "." } dependencies = [ - { name = "package-a", version = "1.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform == 'darwin'" }, - { name = "package-a", version = "2.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform == 'linux'" }, + { name = "package-a", version = "1.0.0", marker = "sys_platform == 'darwin'" }, + { name = "package-a", version = "2.0.0", marker = "sys_platform == 'linux'" }, ] "### ); @@ -2013,6 +1986,7 @@ fn fork_marker_limited_inherit() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } requires-python = ">=3.8" environment-markers = [ "sys_platform == 'darwin'", @@ -2023,7 +1997,6 @@ fn fork_marker_limited_inherit() -> Result<()> { [[distribution]] name = "package-a" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "sys_platform == 'darwin'", ] @@ -2035,7 +2008,6 @@ fn fork_marker_limited_inherit() -> Result<()> { [[distribution]] name = "package-a" version = "2.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "sys_platform == 'linux'", ] @@ -2047,7 +2019,6 @@ fn fork_marker_limited_inherit() -> Result<()> { [[distribution]] name = "package-b" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } dependencies = [ { name = "package-c", marker = "sys_platform == 'linux'" }, ] @@ -2059,7 +2030,6 @@ fn fork_marker_limited_inherit() -> Result<()> { [[distribution]] name = "package-c" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } sdist = { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_marker_limited_inherit_c-1.0.0.tar.gz", hash = "sha256:8dcb05f5dff09fec52ab507b215ff367fe815848319a17929db997ad3afe88ae" } wheels = [ { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_marker_limited_inherit_c-1.0.0-py3-none-any.whl", hash = "sha256:877a87a4987ad795ddaded3e7266ed7defdd3cfbe07a29500cb6047637db4065" }, @@ -2070,8 +2040,8 @@ fn fork_marker_limited_inherit() -> Result<()> { version = "0.1.0" source = { editable = "." } dependencies = [ - { name = "package-a", version = "1.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform == 'darwin'" }, - { name = "package-a", version = "2.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform == 'linux'" }, + { name = "package-a", version = "1.0.0", marker = "sys_platform == 'darwin'" }, + { name = "package-a", version = "2.0.0", marker = "sys_platform == 'linux'" }, { name = "package-b", marker = "sys_platform == 'darwin' or sys_platform == 'linux' or (sys_platform != 'darwin' and sys_platform != 'linux')" }, ] "### @@ -2163,6 +2133,7 @@ fn fork_marker_selection() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } requires-python = ">=3.8" environment-markers = [ "sys_platform == 'darwin'", @@ -2173,7 +2144,6 @@ fn fork_marker_selection() -> Result<()> { [[distribution]] name = "package-a" version = "0.1.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } sdist = { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_marker_selection_a-0.1.0.tar.gz", hash = "sha256:ece83ba864a62d5d747439f79a0bf36aa4c18d15bca96aab855ffc2e94a8eef7" } wheels = [ { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_marker_selection_a-0.1.0-py3-none-any.whl", hash = "sha256:a3b9d6e46cc226d20994cc60653fd59d81d96527749f971a6f59ef8cbcbc7c01" }, @@ -2182,7 +2152,6 @@ fn fork_marker_selection() -> Result<()> { [[distribution]] name = "package-b" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "sys_platform == 'darwin'", ] @@ -2194,7 +2163,6 @@ fn fork_marker_selection() -> Result<()> { [[distribution]] name = "package-b" version = "2.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "sys_platform == 'linux'", ] @@ -2209,8 +2177,8 @@ fn fork_marker_selection() -> Result<()> { source = { editable = "." } dependencies = [ { name = "package-a", marker = "sys_platform == 'darwin' or sys_platform == 'linux' or (sys_platform != 'darwin' and sys_platform != 'linux')" }, - { name = "package-b", version = "1.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform == 'darwin'" }, - { name = "package-b", version = "2.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform == 'linux'" }, + { name = "package-b", version = "1.0.0", marker = "sys_platform == 'darwin'" }, + { name = "package-b", version = "2.0.0", marker = "sys_platform == 'linux'" }, ] "### ); @@ -2312,6 +2280,7 @@ fn fork_marker_track() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } requires-python = ">=3.8" environment-markers = [ "sys_platform == 'darwin'", @@ -2322,7 +2291,6 @@ fn fork_marker_track() -> Result<()> { [[distribution]] name = "package-a" version = "1.3.1" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } dependencies = [ { name = "package-c", marker = "implementation_name == 'iron'" }, ] @@ -2334,7 +2302,6 @@ fn fork_marker_track() -> Result<()> { [[distribution]] name = "package-b" version = "2.7" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "sys_platform == 'darwin'", ] @@ -2346,7 +2313,6 @@ fn fork_marker_track() -> Result<()> { [[distribution]] name = "package-b" version = "2.8" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "sys_platform == 'linux'", ] @@ -2358,7 +2324,6 @@ fn fork_marker_track() -> Result<()> { [[distribution]] name = "package-c" version = "1.10" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } sdist = { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_marker_track_c-1.10.tar.gz", hash = "sha256:c89006d893254790b0fcdd1b33520241c8ff66ab950c6752b745e006bdeff144" } wheels = [ { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_marker_track_c-1.10-py3-none-any.whl", hash = "sha256:cedcb8fbcdd9fbde4eea76612e57536c8b56507a9d7f7a92e483cb56b18c57a3" }, @@ -2370,8 +2335,8 @@ fn fork_marker_track() -> Result<()> { source = { editable = "." } dependencies = [ { name = "package-a", marker = "sys_platform == 'darwin' or sys_platform == 'linux' or (sys_platform != 'darwin' and sys_platform != 'linux')" }, - { name = "package-b", version = "2.7", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform == 'darwin'" }, - { name = "package-b", version = "2.8", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform == 'linux'" }, + { name = "package-b", version = "2.7", marker = "sys_platform == 'darwin'" }, + { name = "package-b", version = "2.8", marker = "sys_platform == 'linux'" }, ] "### ); @@ -2459,12 +2424,12 @@ fn fork_non_fork_marker_transitive() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } requires-python = ">=3.8" [[distribution]] name = "package-a" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } dependencies = [ { name = "package-c", marker = "sys_platform == 'linux'" }, ] @@ -2476,7 +2441,6 @@ fn fork_non_fork_marker_transitive() -> Result<()> { [[distribution]] name = "package-b" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } dependencies = [ { name = "package-c", marker = "sys_platform == 'darwin'" }, ] @@ -2488,7 +2452,6 @@ fn fork_non_fork_marker_transitive() -> Result<()> { [[distribution]] name = "package-c" version = "2.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } sdist = { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_non_fork_marker_transitive_c-2.0.0.tar.gz", hash = "sha256:ffab9124854f64c8b5059ccaed481547f54abac868ba98aa6a454c0163cdb1c7" } wheels = [ { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_non_fork_marker_transitive_c-2.0.0-py3-none-any.whl", hash = "sha256:2b72d6af81967e1c55f30d920d6a7b913fce6ad0a0658ec79972a3d1a054e85f" }, @@ -2866,6 +2829,7 @@ fn preferences_dependent_forking() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } requires-python = ">=3.8" environment-markers = [ "sys_platform == 'linux'", @@ -2875,7 +2839,6 @@ fn preferences_dependent_forking() -> Result<()> { [[distribution]] name = "package-bar" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } sdist = { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/preferences_dependent_forking_bar-1.0.0.tar.gz", hash = "sha256:7eef4e0c910b9e4cadf6c707e60a2151f7dc6407d815112ec93a467d76226f5e" } wheels = [ { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/preferences_dependent_forking_bar-1.0.0-py3-none-any.whl", hash = "sha256:3cdaac4b0ba330f902d0628c0b1d6e62692f52255d02718d04f46ade7c8ad6a6" }, @@ -2884,10 +2847,9 @@ fn preferences_dependent_forking() -> Result<()> { [[distribution]] name = "package-cleaver" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } dependencies = [ { name = "package-bar", marker = "sys_platform != 'linux'" }, - { name = "package-foo", version = "1.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform == 'linux'" }, + { name = "package-foo", version = "1.0.0", marker = "sys_platform == 'linux'" }, ] sdist = { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/preferences_dependent_forking_cleaver-1.0.0.tar.gz", hash = "sha256:0347b927fdf7731758ea53e1594309fc6311ca6983f36553bc11654a264062b2" } wheels = [ @@ -2897,7 +2859,6 @@ fn preferences_dependent_forking() -> Result<()> { [[distribution]] name = "package-foo" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "sys_platform == 'linux'", ] @@ -2909,7 +2870,6 @@ fn preferences_dependent_forking() -> Result<()> { [[distribution]] name = "package-foo" version = "2.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } environment-markers = [ "sys_platform != 'linux'", ] @@ -2925,8 +2885,8 @@ fn preferences_dependent_forking() -> Result<()> { dependencies = [ { name = "package-bar" }, { name = "package-cleaver" }, - { name = "package-foo", version = "1.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform == 'linux'" }, - { name = "package-foo", version = "2.0.0", source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" }, marker = "sys_platform != 'linux'" }, + { name = "package-foo", version = "1.0.0", marker = "sys_platform == 'linux'" }, + { name = "package-foo", version = "2.0.0", marker = "sys_platform != 'linux'" }, ] "### ); @@ -3003,6 +2963,7 @@ fn fork_requires_python_full_prerelease() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } requires-python = ">=3.10" [[distribution]] @@ -3085,6 +3046,7 @@ fn fork_requires_python_full() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } requires-python = ">=3.10" [[distribution]] @@ -3170,12 +3132,12 @@ fn fork_requires_python_patch_overlap() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } requires-python = ">=3.10.1" [[distribution]] name = "package-a" version = "1.0.0" - source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } sdist = { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_requires_python_patch_overlap_a-1.0.0.tar.gz", hash = "sha256:ac2820ee4808788674295192d79a709e3259aa4eef5b155e77f719ad4eaa324d" } wheels = [ { url = "https://astral-sh.github.io/packse/PACKSE_VERSION/files/fork_requires_python_patch_overlap_a-1.0.0-py3-none-any.whl", hash = "sha256:43a750ba4eaab749d608d70e94d3d51e083cc21f5a52ac99b5967b26486d5ef1" }, @@ -3262,6 +3224,7 @@ fn fork_requires_python() -> Result<()> { assert_snapshot!( lock, @r###" version = 1 + default-source = { registry = "https://astral-sh.github.io/packse/PACKSE_VERSION/simple-html/" } requires-python = ">=3.10" [[distribution]]