From b2fc3d9e859a40c8b09c8417b2c56772949bf1fe Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 04:14:14 +0000 Subject: [PATCH] Bump ruff_python_parser from v0.4.5 to 0.8.4 Bumps [ruff_python_parser](https://github.com/astral-sh/ruff) from v0.4.5 to 0.8.4. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/550aa871d32b53a2f042fb0e7fea1080eadfa11d...3bb0dac23569fb607e781ca8e401c6eba71b14dd) --- updated-dependencies: - dependency-name: ruff_python_parser dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Cargo.lock | 123 +++++++++++++++++++++++++++++++++++++++++++---------- Cargo.toml | 2 +- 2 files changed, 102 insertions(+), 23 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e4e8cee2..7f9f227c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -72,12 +72,6 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "038dfcf04a5feb68e9c60b21c9625a54c2c0616e79b72b0fd87075a056ae1d1b" -[[package]] -name = "anyhow" -version = "1.0.86" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" - [[package]] name = "arrayvec" version = "0.7.4" @@ -189,6 +183,15 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" +[[package]] +name = "castaway" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0abae9be0aaf9ea96a3b1b8b1b55c602ca751eba1b1500220cea4ecbafe7c0d5" +dependencies = [ + "rustversion", +] + [[package]] name = "cc" version = "1.0.106" @@ -259,6 +262,20 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4b82cf0babdbd58558212896d1a4272303a57bdb245c2bf1147185fb45640e70" +[[package]] +name = "compact_str" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6050c3a16ddab2e412160b31f2c871015704239bca62f72f6e5f0be631d3f644" +dependencies = [ + "castaway", + "cfg-if", + "itoa", + "rustversion", + "ryu", + "static_assertions", +] + [[package]] name = "cpp_demangle" version = "0.4.3" @@ -790,6 +807,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.11" @@ -1427,6 +1453,23 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "ruff_python_ast" +version = "0.0.0" +source = "git+https://github.com/astral-sh/ruff.git?tag=0.8.4#3bb0dac23569fb607e781ca8e401c6eba71b14dd" +dependencies = [ + "aho-corasick", + "bitflags 2.6.0", + "compact_str", + "is-macro", + "itertools 0.13.0", + "memchr", + "ruff_python_trivia 0.0.0 (git+https://github.com/astral-sh/ruff.git?tag=0.8.4)", + "ruff_source_file 0.0.0 (git+https://github.com/astral-sh/ruff.git?tag=0.8.4)", + "ruff_text_size 0.0.0 (git+https://github.com/astral-sh/ruff.git?tag=0.8.4)", + "rustc-hash 2.1.0", +] + [[package]] name = "ruff_python_ast" version = "0.0.0" @@ -1437,43 +1480,62 @@ dependencies = [ "is-macro", "itertools 0.12.1", "once_cell", - "ruff_python_trivia", - "ruff_source_file", - "ruff_text_size", - "rustc-hash", + "ruff_python_trivia 0.0.0 (git+https://github.com/astral-sh/ruff.git?tag=v0.4.5)", + "ruff_source_file 0.0.0 (git+https://github.com/astral-sh/ruff.git?tag=v0.4.5)", + "ruff_text_size 0.0.0 (git+https://github.com/astral-sh/ruff.git?tag=v0.4.5)", + "rustc-hash 1.1.0", ] [[package]] name = "ruff_python_parser" version = "0.0.0" -source = "git+https://github.com/astral-sh/ruff.git?tag=v0.4.5#550aa871d32b53a2f042fb0e7fea1080eadfa11d" +source = "git+https://github.com/astral-sh/ruff.git?tag=0.8.4#3bb0dac23569fb607e781ca8e401c6eba71b14dd" dependencies = [ - "anyhow", "bitflags 2.6.0", "bstr", - "is-macro", - "itertools 0.12.1", + "compact_str", "memchr", - "ruff_python_ast", - "ruff_text_size", - "rustc-hash", + "ruff_python_ast 0.0.0 (git+https://github.com/astral-sh/ruff.git?tag=0.8.4)", + "ruff_python_trivia 0.0.0 (git+https://github.com/astral-sh/ruff.git?tag=0.8.4)", + "ruff_text_size 0.0.0 (git+https://github.com/astral-sh/ruff.git?tag=0.8.4)", + "rustc-hash 2.1.0", "static_assertions", "unicode-ident", "unicode-normalization", "unicode_names2", ] +[[package]] +name = "ruff_python_trivia" +version = "0.0.0" +source = "git+https://github.com/astral-sh/ruff.git?tag=0.8.4#3bb0dac23569fb607e781ca8e401c6eba71b14dd" +dependencies = [ + "itertools 0.13.0", + "ruff_source_file 0.0.0 (git+https://github.com/astral-sh/ruff.git?tag=0.8.4)", + "ruff_text_size 0.0.0 (git+https://github.com/astral-sh/ruff.git?tag=0.8.4)", + "unicode-ident", +] + [[package]] name = "ruff_python_trivia" version = "0.0.0" source = "git+https://github.com/astral-sh/ruff.git?tag=v0.4.5#550aa871d32b53a2f042fb0e7fea1080eadfa11d" dependencies = [ "itertools 0.12.1", - "ruff_source_file", - "ruff_text_size", + "ruff_source_file 0.0.0 (git+https://github.com/astral-sh/ruff.git?tag=v0.4.5)", + "ruff_text_size 0.0.0 (git+https://github.com/astral-sh/ruff.git?tag=v0.4.5)", "unicode-ident", ] +[[package]] +name = "ruff_source_file" +version = "0.0.0" +source = "git+https://github.com/astral-sh/ruff.git?tag=0.8.4#3bb0dac23569fb607e781ca8e401c6eba71b14dd" +dependencies = [ + "memchr", + "ruff_text_size 0.0.0 (git+https://github.com/astral-sh/ruff.git?tag=0.8.4)", +] + [[package]] name = "ruff_source_file" version = "0.0.0" @@ -1481,9 +1543,14 @@ source = "git+https://github.com/astral-sh/ruff.git?tag=v0.4.5#550aa871d32b53a2f dependencies = [ "memchr", "once_cell", - "ruff_text_size", + "ruff_text_size 0.0.0 (git+https://github.com/astral-sh/ruff.git?tag=v0.4.5)", ] +[[package]] +name = "ruff_text_size" +version = "0.0.0" +source = "git+https://github.com/astral-sh/ruff.git?tag=0.8.4#3bb0dac23569fb607e781ca8e401c6eba71b14dd" + [[package]] name = "ruff_text_size" version = "0.0.0" @@ -1501,6 +1568,12 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" +[[package]] +name = "rustc-hash" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497" + [[package]] name = "rustc_version" version = "0.4.1" @@ -1523,6 +1596,12 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "rustversion" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248" + [[package]] name = "ryu" version = "1.0.18" @@ -1715,9 +1794,9 @@ dependencies = [ "pyo3", "regex", "rstest", - "ruff_python_ast", + "ruff_python_ast 0.0.0 (git+https://github.com/astral-sh/ruff.git?tag=v0.4.5)", "ruff_python_parser", - "ruff_source_file", + "ruff_source_file 0.0.0 (git+https://github.com/astral-sh/ruff.git?tag=v0.4.5)", "serde", "serde_json", "tempfile", diff --git a/Cargo.toml b/Cargo.toml index 1b7d66e6..72fc203e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ regex = "1.11.1" once_cell = "1.20.2" walkdir = "2.5.0" ruff_python_ast = { git = "https://github.com/astral-sh/ruff.git", tag = "v0.4.5" } -ruff_python_parser = { git = "https://github.com/astral-sh/ruff.git", tag = "v0.4.5" } +ruff_python_parser = { git = "https://github.com/astral-sh/ruff.git", tag = "0.8.4" } ruff_source_file = { git = "https://github.com/astral-sh/ruff.git", tag = "v0.4.5" } cached = { version = "0.54.0", features = ["disk_store"] } globset = "0.4.15"