chore(deps): update rust crate pep440_rs to 0.5.0 (#10703)

This commit is contained in:
renovate[bot] 2024-04-01 16:02:18 +00:00 committed by GitHub
parent 2740fab7ad
commit a0e1544848
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 24 additions and 6 deletions

26
Cargo.lock generated
View File

@ -1642,6 +1642,18 @@ dependencies = [
"unicode-width", "unicode-width",
] ]
[[package]]
name = "pep440_rs"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "15efd4d885c29126cc93e12af3087896e2518bd5ca0fb328c19c4ef9cecfa8be"
dependencies = [
"once_cell",
"serde",
"unicode-width",
"unscanny",
]
[[package]] [[package]]
name = "pep508_rs" name = "pep508_rs"
version = "0.3.0" version = "0.3.0"
@ -1649,7 +1661,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "910c513bea0f4f833122321c0f20e8c704e01de98692f6989c2ec21f43d88b1e" checksum = "910c513bea0f4f833122321c0f20e8c704e01de98692f6989c2ec21f43d88b1e"
dependencies = [ dependencies = [
"once_cell", "once_cell",
"pep440_rs", "pep440_rs 0.4.0",
"regex", "regex",
"serde", "serde",
"thiserror", "thiserror",
@ -1782,7 +1794,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "95c3dd745f99aa3c554b7bb00859f7d18c2f1d6afd749ccc86d60b61e702abd9" checksum = "95c3dd745f99aa3c554b7bb00859f7d18c2f1d6afd749ccc86d60b61e702abd9"
dependencies = [ dependencies = [
"indexmap", "indexmap",
"pep440_rs", "pep440_rs 0.4.0",
"pep508_rs", "pep508_rs",
"serde", "serde",
"toml", "toml",
@ -2159,7 +2171,7 @@ dependencies = [
"once_cell", "once_cell",
"path-absolutize", "path-absolutize",
"pathdiff", "pathdiff",
"pep440_rs", "pep440_rs 0.5.0",
"pyproject-toml", "pyproject-toml",
"quick-junit", "quick-junit",
"regex", "regex",
@ -2481,7 +2493,7 @@ dependencies = [
"itertools 0.12.1", "itertools 0.12.1",
"log", "log",
"path-absolutize", "path-absolutize",
"pep440_rs", "pep440_rs 0.5.0",
"regex", "regex",
"ruff_cache", "ruff_cache",
"ruff_formatter", "ruff_formatter",
@ -3260,6 +3272,12 @@ dependencies = [
"rand", "rand",
] ]
[[package]]
name = "unscanny"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e9df2af067a7953e9c3831320f35c1cc0600c30d44d9f7a12b01db1cd88d6b47"
[[package]] [[package]]
name = "untrusted" name = "untrusted"
version = "0.9.0" version = "0.9.0"

View File

@ -67,7 +67,7 @@ num_cpus = { version = "1.16.0" }
once_cell = { version = "1.19.0" } once_cell = { version = "1.19.0" }
path-absolutize = { version = "3.1.1" } path-absolutize = { version = "3.1.1" }
pathdiff = { version = "0.2.1" } pathdiff = { version = "0.2.1" }
pep440_rs = { version = "0.4.0", features = ["serde"] } pep440_rs = { version = "0.5.0", features = ["serde"] }
pretty_assertions = "1.3.0" pretty_assertions = "1.3.0"
proc-macro2 = { version = "1.0.79" } proc-macro2 = { version = "1.0.79" }
pyproject-toml = { version = "0.9.0" } pyproject-toml = { version = "0.9.0" }

View File

@ -539,7 +539,7 @@ impl SerializationFormat {
pub struct RequiredVersion(VersionSpecifiers); pub struct RequiredVersion(VersionSpecifiers);
impl TryFrom<String> for RequiredVersion { impl TryFrom<String> for RequiredVersion {
type Error = pep440_rs::Pep440Error; type Error = pep440_rs::VersionSpecifiersParseError;
fn try_from(value: String) -> Result<Self, Self::Error> { fn try_from(value: String) -> Result<Self, Self::Error> {
// Treat `0.3.1` as `==0.3.1`, for backwards compatibility. // Treat `0.3.1` as `==0.3.1`, for backwards compatibility.