From f4cda31708f7e56420ad3d3999b2154e64f07902 Mon Sep 17 00:00:00 2001 From: konstin Date: Thu, 30 Mar 2023 14:47:07 +0200 Subject: [PATCH] Use crates.io version of pep440_rs (#3812) * Use crates.io version of pep440_rs * Update Cargo.lock --- Cargo.lock | 5 +++-- crates/ruff/Cargo.toml | 6 ++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9106ce0a71..c5297f4971 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1543,8 +1543,9 @@ checksum = "9fa00462b37ead6d11a82c9d568b26682d78e0477dc02d1966c013af80969739" [[package]] name = "pep440_rs" -version = "0.2.0" -source = "git+https://github.com/konstin/pep440-rs.git?rev=a8fef4ec47f4c25b070b39cdbe6a0b9847e49941#a8fef4ec47f4c25b070b39cdbe6a0b9847e49941" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d5daf676dd9ff1a39faf9c9da9c46f0dbb6211b21a1839a749f5510c24ceca3f" dependencies = [ "lazy_static", "regex", diff --git a/crates/ruff/Cargo.toml b/crates/ruff/Cargo.toml index 88279ae412..c407f931ec 100644 --- a/crates/ruff/Cargo.toml +++ b/crates/ruff/Cargo.toml @@ -46,9 +46,7 @@ path-absolutize = { workspace = true, features = [ "use_unix_paths_on_wasm", ] } pathdiff = { version = "0.2.1" } -pep440_rs = { git = "https://github.com/konstin/pep440-rs.git", features = [ - "serde", -], rev = "a8fef4ec47f4c25b070b39cdbe6a0b9847e49941" } +pep440_rs = { version = "0.3.1", features = ["serde"] } regex = { workspace = true } result-like = { version = "0.4.6" } rustc-hash = { workspace = true } @@ -66,7 +64,7 @@ textwrap = { workspace = true } thiserror = { version = "1.0.38" } toml = { workspace = true } typed-arena = { version = "2.0.2" } -unicode-width = {version ="0.1.10"} +unicode-width = { version = "0.1.10" } [dev-dependencies] insta = { workspace = true, features = ["yaml", "redactions"] }