Skip to content

Commit

Permalink
chore(deps): update rust crate pep440_rs to 0.5.0 (#10703)
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] committed Apr 1, 2024
1 parent 2740fab commit a0e1544
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
26 changes: 22 additions & 4 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ num_cpus = { version = "1.16.0" }
once_cell = { version = "1.19.0" }
path-absolutize = { version = "3.1.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"
proc-macro2 = { version = "1.0.79" }
pyproject-toml = { version = "0.9.0" }
Expand Down
2 changes: 1 addition & 1 deletion crates/ruff_linter/src/settings/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ impl SerializationFormat {
pub struct RequiredVersion(VersionSpecifiers);

impl TryFrom<String> for RequiredVersion {
type Error = pep440_rs::Pep440Error;
type Error = pep440_rs::VersionSpecifiersParseError;

fn try_from(value: String) -> Result<Self, Self::Error> {
// Treat `0.3.1` as `==0.3.1`, for backwards compatibility.
Expand Down

0 comments on commit a0e1544

Please sign in to comment.