From c750ee7b0979302873bc93ad73705fffc103a929 Mon Sep 17 00:00:00 2001 From: Mathieu Kniewallner Date: Sun, 24 Mar 2024 10:49:46 +0100 Subject: [PATCH] chore(deps): bump Ruff AST parser to 0.3.4 --- Cargo.lock | 35 ++++++++++++++++++++++++++++++----- Cargo.toml | 8 ++++---- 2 files changed, 34 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5e087c99..4b53fc22 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -503,7 +503,7 @@ checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" [[package]] name = "ruff_python_ast" version = "0.0.0" -source = "git+https://github.com/astral-sh/ruff?tag=v0.3.3#608df9a1bc0e6025049add877d1d833f1739e966" +source = "git+https://github.com/astral-sh/ruff?tag=v0.3.4#5062572aca9413670aafd018cb65037bcb4d6acb" dependencies = [ "aho-corasick", "bitflags 2.5.0", @@ -519,7 +519,7 @@ dependencies = [ [[package]] name = "ruff_python_parser" version = "0.0.0" -source = "git+https://github.com/astral-sh/ruff?tag=v0.3.3#608df9a1bc0e6025049add877d1d833f1739e966" +source = "git+https://github.com/astral-sh/ruff?tag=v0.3.4#5062572aca9413670aafd018cb65037bcb4d6acb" dependencies = [ "anyhow", "bitflags 2.5.0", @@ -534,13 +534,14 @@ dependencies = [ "static_assertions", "tiny-keccak", "unicode-ident", + "unicode-normalization", "unicode_names2", ] [[package]] name = "ruff_python_trivia" version = "0.0.0" -source = "git+https://github.com/astral-sh/ruff?tag=v0.3.3#608df9a1bc0e6025049add877d1d833f1739e966" +source = "git+https://github.com/astral-sh/ruff?tag=v0.3.4#5062572aca9413670aafd018cb65037bcb4d6acb" dependencies = [ "itertools", "ruff_source_file", @@ -551,7 +552,7 @@ dependencies = [ [[package]] name = "ruff_source_file" version = "0.0.0" -source = "git+https://github.com/astral-sh/ruff?tag=v0.3.3#608df9a1bc0e6025049add877d1d833f1739e966" +source = "git+https://github.com/astral-sh/ruff?tag=v0.3.4#5062572aca9413670aafd018cb65037bcb4d6acb" dependencies = [ "memchr", "once_cell", @@ -561,7 +562,7 @@ dependencies = [ [[package]] name = "ruff_text_size" version = "0.0.0" -source = "git+https://github.com/astral-sh/ruff?tag=v0.3.3#608df9a1bc0e6025049add877d1d833f1739e966" +source = "git+https://github.com/astral-sh/ruff?tag=v0.3.4#5062572aca9413670aafd018cb65037bcb4d6acb" [[package]] name = "rustc-hash" @@ -656,12 +657,36 @@ dependencies = [ "crunchy", ] +[[package]] +name = "tinyvec" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" +dependencies = [ + "tinyvec_macros", +] + +[[package]] +name = "tinyvec_macros" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" + [[package]] name = "unicode-ident" version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" +[[package]] +name = "unicode-normalization" +version = "0.1.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5" +dependencies = [ + "tinyvec", +] + [[package]] name = "unicode-width" version = "0.1.11" diff --git a/Cargo.toml b/Cargo.toml index dd6e9501..5fa8723b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,10 +16,10 @@ pyo3 = { version = "0.20.3", features = ["abi3-py38"] } pyo3-log = "0.9.0" rayon = "1.9.0" regex = "1.10.3" -ruff_python_parser = { git = "https://github.com/astral-sh/ruff", tag = "v0.3.3" } -ruff_python_ast = { git = "https://github.com/astral-sh/ruff", tag = "v0.3.3" } -ruff_text_size = { git = "https://github.com/astral-sh/ruff", tag = "v0.3.3" } -ruff_source_file = { git = "https://github.com/astral-sh/ruff", tag = "v0.3.3" } +ruff_python_ast = { git = "https://github.com/astral-sh/ruff", tag = "v0.3.4" } +ruff_python_parser = { git = "https://github.com/astral-sh/ruff", tag = "v0.3.4" } +ruff_source_file = { git = "https://github.com/astral-sh/ruff", tag = "v0.3.4" } +ruff_text_size = { git = "https://github.com/astral-sh/ruff", tag = "v0.3.4" } serde_json = "1.0.114" [profile.release]