Skip to content

Commit

Permalink
Reverts
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Jan 10, 2025
1 parent a6c1acc commit c54e65e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 44 deletions.
37 changes: 0 additions & 37 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion crates/uv-pep508/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ tracing = { workspace = true, optional = true }
unicode-width = { workspace = true }
url = { workspace = true, features = ["serde"] }
version-ranges = { workspace = true }
compact_str = { version = "0.8.1" }

[dev-dependencies]
insta = { version = "1.40.0" }
Expand Down
10 changes: 5 additions & 5 deletions crates/uv-pep508/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -963,10 +963,10 @@ fn parse_pep508_requirement<T: Pep508Url>(
mod tests {
//! Half of these tests are copied from <https://github.com/pypa/packaging/pull/624>
use insta::assert_snapshot;
use std::env;
use std::str::FromStr;

use insta::assert_snapshot;
use std::sync::Arc;
use url::Url;

use uv_normalize::{ExtraName, InvalidNameError, PackageName};
Expand Down Expand Up @@ -1339,17 +1339,17 @@ mod tests {
let mut b = MarkerTree::expression(MarkerExpression::String {
key: MarkerValueString::SysPlatform,
operator: MarkerOperator::Equal,
value: "win32".to_string(),
value: Arc::from("win32"),
});
let mut c = MarkerTree::expression(MarkerExpression::String {
key: MarkerValueString::OsName,
operator: MarkerOperator::Equal,
value: "linux".to_string(),
value: Arc::from("linux"),
});
let d = MarkerTree::expression(MarkerExpression::String {
key: MarkerValueString::ImplementationName,
operator: MarkerOperator::Equal,
value: "cpython".to_string(),
value: Arc::from("cpython"),
});

c.and(d);
Expand Down
1 change: 0 additions & 1 deletion crates/uv-platform-tags/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ doctest = false
workspace = true

[dependencies]
compact_str = { version = "0.8.1" }
rustc-hash = { workspace = true }
serde = { workspace = true }
thiserror = { workspace = true }
Expand Down

0 comments on commit c54e65e

Please sign in to comment.