diff --git a/Cargo.lock b/Cargo.lock index 0a89d534..3d505455 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -546,7 +546,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "576ba56f6ca18ebb069d0d07260407171712aff4dfe15ee3f8982dc16a455bcf" dependencies = [ "castaway", - "get-size2 0.10.3", + "itoa", + "ryu", +] + +[[package]] +name = "char_str" +version = "0.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c9cba78a5abb515610e10af297615434b019755b5d7be14e559ff5340dff50c4" +dependencies = [ + "castaway", + "get-size2 0.11.0", "itoa", "ryu", ] @@ -639,7 +650,7 @@ checksum = "af491d569909a7e4dee0ad7db7f5341fef5c614d5b8ec8cf765732aba3cff681" dependencies = [ "serde", "termcolor", - "unicode-width 0.2.2", + "unicode-width 0.1.14", ] [[package]] @@ -1093,9 +1104,9 @@ dependencies = [ [[package]] name = "get-size-derive2" -version = "0.10.3" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c736d226c32e496b8377813b52269e11ad3a48d8373b68862d0364f04fd1229d" +checksum = "7efe46d2adb529015748742f1a38594039ce357dbb21e6d178de342cfce468d4" dependencies = [ "attribute-derive", "quote", @@ -1117,12 +1128,12 @@ dependencies = [ [[package]] name = "get-size2" -version = "0.10.3" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b411f34418305908ab15a82ff78958c2a9aee9a272b2a2e663836b20a4e4b9d3" +checksum = "d4d338de392104417fe6fdbe588c52383b9236956d8afe5654f0077176edc632" dependencies = [ "compact_str 0.10.0", - "get-size-derive2 0.10.3", + "get-size-derive2 0.11.0", "hashbrown 0.17.1", "ordermap", "smallvec", @@ -2988,9 +2999,9 @@ dependencies = [ "mehen-core", "mehen-metrics", "mehen-report", - "ruff_python_ast", + "ruff_python_ast 0.0.7", "ruff_python_parser", - "ruff_text_size", + "ruff_text_size 0.0.7", "serde_json", "smol_str", ] @@ -4256,14 +4267,34 @@ dependencies = [ "aho-corasick", "arrayvec", "bitflags", - "char_str", + "char_str 0.0.2", + "compact_str 0.10.0", + "is-macro", + "memchr", + "ruff_python_trivia 0.0.7", + "ruff_source_file 0.0.7", + "ruff_text_size 0.0.7", + "rustc-hash 2.1.2", + "thin-vec", + "thiserror", +] + +[[package]] +name = "ruff_python_ast" +version = "0.0.13" +source = "git+https://github.com/astral-sh/ruff?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" +dependencies = [ + "aho-corasick", + "arrayvec", + "bitflags", + "char_str 0.0.4", "compact_str 0.10.0", - "get-size2 0.10.3", + "get-size2 0.11.0", "is-macro", "memchr", - "ruff_python_trivia", - "ruff_source_file", - "ruff_text_size", + "ruff_python_trivia 0.0.13", + "ruff_source_file 0.0.13", + "ruff_text_size 0.0.13", "rustc-hash 2.1.2", "thin-vec", "thiserror", @@ -4271,18 +4302,20 @@ dependencies = [ [[package]] name = "ruff_python_parser" -version = "0.0.7" -source = "git+https://github.com/astral-sh/ruff?tag=0.16.1#80790b348b5188e7fc253665540f442c6ec7dd05" +version = "0.0.13" +source = "git+https://github.com/astral-sh/ruff?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" dependencies = [ "bitflags", "bstr", "drop_bomb", - "get-size2 0.10.3", + "get-size2 0.11.0", + "hashbrown 0.17.1", "memchr", - "ruff_python_ast", - "ruff_python_trivia", - "ruff_text_size", + "ruff_python_ast 0.0.13", + "ruff_python_trivia 0.0.13", + "ruff_text_size 0.0.13", "rustc-hash 2.1.2", + "stacker", "static_assertions", "thin-vec", "unicode-ident", @@ -4296,8 +4329,20 @@ version = "0.0.7" source = "git+https://github.com/astral-sh/ruff?tag=0.16.1#80790b348b5188e7fc253665540f442c6ec7dd05" dependencies = [ "itertools 0.15.0", - "ruff_source_file", - "ruff_text_size", + "ruff_source_file 0.0.7", + "ruff_text_size 0.0.7", + "rustc-hash 2.1.2", + "unicode-ident", +] + +[[package]] +name = "ruff_python_trivia" +version = "0.0.13" +source = "git+https://github.com/astral-sh/ruff?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" +dependencies = [ + "itertools 0.15.0", + "ruff_source_file 0.0.13", + "ruff_text_size 0.0.13", "rustc-hash 2.1.2", "unicode-ident", ] @@ -4308,15 +4353,29 @@ version = "0.0.7" source = "git+https://github.com/astral-sh/ruff?tag=0.16.1#80790b348b5188e7fc253665540f442c6ec7dd05" dependencies = [ "memchr", - "ruff_text_size", + "ruff_text_size 0.0.7", +] + +[[package]] +name = "ruff_source_file" +version = "0.0.13" +source = "git+https://github.com/astral-sh/ruff?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" +dependencies = [ + "memchr", + "ruff_text_size 0.0.13", ] [[package]] name = "ruff_text_size" version = "0.0.7" source = "git+https://github.com/astral-sh/ruff?tag=0.16.1#80790b348b5188e7fc253665540f442c6ec7dd05" + +[[package]] +name = "ruff_text_size" +version = "0.0.13" +source = "git+https://github.com/astral-sh/ruff?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" dependencies = [ - "get-size2 0.10.3", + "get-size2 0.11.0", ] [[package]] diff --git a/crates/mehen-python/Cargo.toml b/crates/mehen-python/Cargo.toml index 04acdf07..a4369dc4 100644 --- a/crates/mehen-python/Cargo.toml +++ b/crates/mehen-python/Cargo.toml @@ -18,7 +18,7 @@ mehen-metrics = { workspace = true } # unpublished upstream (`publish = false`), so we pin a tagged git # revision. All three crates must stay in lockstep so derive macros # and AST types align — bump them together. -ruff_python_parser = { git = "https://github.com/astral-sh/ruff", tag = "0.16.1" } +ruff_python_parser = { git = "https://github.com/astral-sh/ruff", tag = "0.16.7" } ruff_python_ast = { git = "https://github.com/astral-sh/ruff", tag = "0.16.1" } ruff_text_size = { git = "https://github.com/astral-sh/ruff", tag = "0.16.1" } smol_str = { workspace = true }