Skip to content

Commit

Permalink
Remove all special-casing for local version identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Nov 4, 2024
1 parent e3eefcc commit eec586a
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 396 deletions.
2 changes: 1 addition & 1 deletion crates/uv-requirements/src/lookahead.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use crate::{required_dist, Error};
/// A resolver for resolving lookahead requirements from direct URLs.
///
/// The resolver extends certain privileges to "first-party" requirements. For example, first-party
/// requirements are allowed to contain direct URL references, local version specifiers, and more.
/// requirements are allowed to contain direct URL references.
///
/// The lookahead resolver resolves requirements recursively for direct URLs, so that the resolver
/// can treat them as first-party dependencies for the purpose of analyzing their specifiers.
Expand Down
1 change: 0 additions & 1 deletion crates/uv-resolver/src/manifest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ impl Manifest {
/// - Determining which requirements should allow yanked versions.
/// - Determining which requirements should allow pre-release versions (e.g., `torch>=2.2.0a1`).
/// - Determining which requirements should allow direct URLs (e.g., `torch @ https://...`).
/// - Determining which requirements should allow local version specifiers (e.g., `torch==2.2.0+cpu`).
pub fn requirements<'a>(
&'a self,
env: &'a ResolverEnvironment,
Expand Down
201 changes: 0 additions & 201 deletions crates/uv-resolver/src/resolver/locals.rs

This file was deleted.

130 changes: 0 additions & 130 deletions crates/uv-resolver/src/resolver/locals/tests.rs

This file was deleted.

Loading

0 comments on commit eec586a

Please sign in to comment.