diff --git a/Cargo.lock b/Cargo.lock index dc72f758d..e0c56c687 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -191,7 +191,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6bb31b46c14244e20ee9984b11bf5c992b91fb6939fea616e3512c8baecdbe5f" dependencies = [ "memchr", - "regex-automata", "serde_core", ] @@ -798,15 +797,6 @@ dependencies = [ "thin-vec", ] -[[package]] -name = "getopts" -version = "0.2.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfe4fbac503b8d1f88e6676011885f34b7174f46e59956bba534ba83abded4df" -dependencies = [ - "unicode-width", -] - [[package]] name = "getrandom" version = "0.2.17" @@ -1659,9 +1649,9 @@ dependencies = [ [[package]] name = "quick-junit" -version = "0.6.1" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8216516c957e00535b3c91770524c219dd7df90dec439a182547f750dfe41591" +checksum = "bae23b8e1a59a90f7bf98caa2f4c8c2eedf6df011c6c88ed633e85a87c84526e" dependencies = [ "chrono", "indexmap", @@ -1824,8 +1814,8 @@ checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" [[package]] name = "ruff_annotate_snippets" -version = "0.0.13" -source = "git+https://github.com/astral-sh/ruff/?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" +version = "0.0.17" +source = "git+https://github.com/astral-sh/ruff/?tag=0.17.0#5b27c1ccfaa230fb195855f5cf3404a21e3379cd" dependencies = [ "anstyle", "memchr", @@ -1834,8 +1824,8 @@ dependencies = [ [[package]] name = "ruff_cache" -version = "0.0.13" -source = "git+https://github.com/astral-sh/ruff/?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" +version = "0.0.17" +source = "git+https://github.com/astral-sh/ruff/?tag=0.17.0#5b27c1ccfaa230fb195855f5cf3404a21e3379cd" dependencies = [ "char_str", "filetime", @@ -1848,8 +1838,8 @@ dependencies = [ [[package]] name = "ruff_db" -version = "0.0.13" -source = "git+https://github.com/astral-sh/ruff/?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" +version = "0.0.17" +source = "git+https://github.com/astral-sh/ruff/?tag=0.17.0#5b27c1ccfaa230fb195855f5cf3404a21e3379cd" dependencies = [ "anstyle", "arc-swap", @@ -1887,8 +1877,8 @@ dependencies = [ [[package]] name = "ruff_diagnostics" -version = "0.0.13" -source = "git+https://github.com/astral-sh/ruff/?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" +version = "0.0.17" +source = "git+https://github.com/astral-sh/ruff/?tag=0.17.0#5b27c1ccfaa230fb195855f5cf3404a21e3379cd" dependencies = [ "get-size2", "is-macro", @@ -1898,8 +1888,8 @@ dependencies = [ [[package]] name = "ruff_index" -version = "0.0.13" -source = "git+https://github.com/astral-sh/ruff/?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" +version = "0.0.17" +source = "git+https://github.com/astral-sh/ruff/?tag=0.17.0#5b27c1ccfaa230fb195855f5cf3404a21e3379cd" dependencies = [ "get-size2", "ruff_macros", @@ -1907,8 +1897,8 @@ dependencies = [ [[package]] name = "ruff_linter" -version = "0.16.7" -source = "git+https://github.com/astral-sh/ruff/?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" +version = "0.17.0" +source = "git+https://github.com/astral-sh/ruff/?tag=0.17.0#5b27c1ccfaa230fb195855f5cf3404a21e3379cd" dependencies = [ "aho-corasick", "anyhow", @@ -1948,6 +1938,7 @@ dependencies = [ "ruff_ranged_value", "ruff_source_file", "ruff_text_size", + "ruff_unicode_names2", "rustc-hash", "serde", "serde_json", @@ -1960,14 +1951,13 @@ dependencies = [ "typed-arena", "unicode-normalization", "unicode-width", - "unicode_names2", "url", ] [[package]] name = "ruff_macros" -version = "0.0.13" -source = "git+https://github.com/astral-sh/ruff/?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" +version = "0.0.17" +source = "git+https://github.com/astral-sh/ruff/?tag=0.17.0#5b27c1ccfaa230fb195855f5cf3404a21e3379cd" dependencies = [ "heck", "itertools 0.15.0", @@ -1980,16 +1970,16 @@ dependencies = [ [[package]] name = "ruff_memory_usage" -version = "0.0.13" -source = "git+https://github.com/astral-sh/ruff/?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" +version = "0.0.17" +source = "git+https://github.com/astral-sh/ruff/?tag=0.17.0#5b27c1ccfaa230fb195855f5cf3404a21e3379cd" dependencies = [ "get-size2", ] [[package]] name = "ruff_notebook" -version = "0.0.13" -source = "git+https://github.com/astral-sh/ruff/?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" +version = "0.0.17" +source = "git+https://github.com/astral-sh/ruff/?tag=0.17.0#5b27c1ccfaa230fb195855f5cf3404a21e3379cd" dependencies = [ "anyhow", "rand 0.10.3", @@ -2004,8 +1994,8 @@ dependencies = [ [[package]] name = "ruff_python_ast" -version = "0.0.13" -source = "git+https://github.com/astral-sh/ruff/?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" +version = "0.0.17" +source = "git+https://github.com/astral-sh/ruff/?tag=0.17.0#5b27c1ccfaa230fb195855f5cf3404a21e3379cd" dependencies = [ "aho-corasick", "arrayvec", @@ -2028,8 +2018,8 @@ dependencies = [ [[package]] name = "ruff_python_codegen" -version = "0.0.13" -source = "git+https://github.com/astral-sh/ruff/?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" +version = "0.0.17" +source = "git+https://github.com/astral-sh/ruff/?tag=0.17.0#5b27c1ccfaa230fb195855f5cf3404a21e3379cd" dependencies = [ "ruff_python_ast", "ruff_python_literal", @@ -2040,8 +2030,8 @@ dependencies = [ [[package]] name = "ruff_python_edits" -version = "0.0.13" -source = "git+https://github.com/astral-sh/ruff/?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" +version = "0.0.17" +source = "git+https://github.com/astral-sh/ruff/?tag=0.17.0#5b27c1ccfaa230fb195855f5cf3404a21e3379cd" dependencies = [ "ruff_python_ast", "ruff_source_file", @@ -2050,8 +2040,8 @@ dependencies = [ [[package]] name = "ruff_python_importer" -version = "0.0.13" -source = "git+https://github.com/astral-sh/ruff/?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" +version = "0.0.17" +source = "git+https://github.com/astral-sh/ruff/?tag=0.17.0#5b27c1ccfaa230fb195855f5cf3404a21e3379cd" dependencies = [ "anyhow", "ruff_diagnostics", @@ -2064,8 +2054,8 @@ dependencies = [ [[package]] name = "ruff_python_index" -version = "0.0.13" -source = "git+https://github.com/astral-sh/ruff/?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" +version = "0.0.17" +source = "git+https://github.com/astral-sh/ruff/?tag=0.17.0#5b27c1ccfaa230fb195855f5cf3404a21e3379cd" dependencies = [ "ruff_python_ast", "ruff_python_trivia", @@ -2075,10 +2065,11 @@ dependencies = [ [[package]] name = "ruff_python_literal" -version = "0.0.13" -source = "git+https://github.com/astral-sh/ruff/?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" +version = "0.0.17" +source = "git+https://github.com/astral-sh/ruff/?tag=0.17.0#5b27c1ccfaa230fb195855f5cf3404a21e3379cd" dependencies = [ "bitflags 2.13.2", + "icu_normalizer", "icu_properties", "itertools 0.15.0", "ruff_python_ast", @@ -2086,8 +2077,8 @@ dependencies = [ [[package]] name = "ruff_python_parser" -version = "0.0.13" -source = "git+https://github.com/astral-sh/ruff/?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" +version = "0.0.17" +source = "git+https://github.com/astral-sh/ruff/?tag=0.17.0#5b27c1ccfaa230fb195855f5cf3404a21e3379cd" dependencies = [ "bitflags 2.13.2", "bstr", @@ -2098,19 +2089,19 @@ dependencies = [ "ruff_python_ast", "ruff_python_trivia", "ruff_text_size", + "ruff_unicode_names2", "rustc-hash", "stacker", "static_assertions", "thin-vec", "unicode-ident", "unicode-normalization", - "unicode_names2", ] [[package]] name = "ruff_python_semantic" -version = "0.0.13" -source = "git+https://github.com/astral-sh/ruff/?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" +version = "0.0.17" +source = "git+https://github.com/astral-sh/ruff/?tag=0.17.0#5b27c1ccfaa230fb195855f5cf3404a21e3379cd" dependencies = [ "bitflags 2.13.2", "is-macro", @@ -2127,8 +2118,8 @@ dependencies = [ [[package]] name = "ruff_python_stdlib" -version = "0.0.13" -source = "git+https://github.com/astral-sh/ruff/?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" +version = "0.0.17" +source = "git+https://github.com/astral-sh/ruff/?tag=0.17.0#5b27c1ccfaa230fb195855f5cf3404a21e3379cd" dependencies = [ "bitflags 2.13.2", "unicode-ident", @@ -2136,20 +2127,22 @@ dependencies = [ [[package]] name = "ruff_python_trivia" -version = "0.0.13" -source = "git+https://github.com/astral-sh/ruff/?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" +version = "0.0.17" +source = "git+https://github.com/astral-sh/ruff/?tag=0.17.0#5b27c1ccfaa230fb195855f5cf3404a21e3379cd" dependencies = [ "itertools 0.15.0", + "memchr", "ruff_source_file", "ruff_text_size", "rustc-hash", "unicode-ident", + "unicode-normalization", ] [[package]] name = "ruff_ranged_value" -version = "0.0.13" -source = "git+https://github.com/astral-sh/ruff/?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" +version = "0.0.17" +source = "git+https://github.com/astral-sh/ruff/?tag=0.17.0#5b27c1ccfaa230fb195855f5cf3404a21e3379cd" dependencies = [ "ruff_db", "ruff_python_ast", @@ -2160,8 +2153,8 @@ dependencies = [ [[package]] name = "ruff_source_file" -version = "0.0.13" -source = "git+https://github.com/astral-sh/ruff/?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" +version = "0.0.17" +source = "git+https://github.com/astral-sh/ruff/?tag=0.17.0#5b27c1ccfaa230fb195855f5cf3404a21e3379cd" dependencies = [ "get-size2", "memchr", @@ -2171,13 +2164,31 @@ dependencies = [ [[package]] name = "ruff_text_size" -version = "0.0.13" -source = "git+https://github.com/astral-sh/ruff/?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" +version = "0.0.17" +source = "git+https://github.com/astral-sh/ruff/?tag=0.17.0#5b27c1ccfaa230fb195855f5cf3404a21e3379cd" dependencies = [ "get-size2", "serde", ] +[[package]] +name = "ruff_unicode_names2" +version = "0.0.17" +source = "git+https://github.com/astral-sh/ruff/?tag=0.17.0#5b27c1ccfaa230fb195855f5cf3404a21e3379cd" +dependencies = [ + "phf 0.11.3", + "ruff_unicode_names2_generator", +] + +[[package]] +name = "ruff_unicode_names2_generator" +version = "0.0.17" +source = "git+https://github.com/astral-sh/ruff/?tag=0.17.0#5b27c1ccfaa230fb195855f5cf3404a21e3379cd" +dependencies = [ + "phf_codegen", + "rand 0.8.8", +] + [[package]] name = "rust-stemmers" version = "1.2.0" @@ -2694,8 +2705,8 @@ dependencies = [ [[package]] name = "ty_static" -version = "0.0.13" -source = "git+https://github.com/astral-sh/ruff/?tag=0.16.7#b5dba861cc38e3f7fb4524c9ceba3e01a474ea13" +version = "0.0.17" +source = "git+https://github.com/astral-sh/ruff/?tag=0.17.0#5b27c1ccfaa230fb195855f5cf3404a21e3379cd" dependencies = [ "ruff_macros", ] @@ -2745,28 +2756,6 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" -[[package]] -name = "unicode_names2" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1673eca9782c84de5f81b82e4109dcfb3611c8ba0d52930ec4a9478f547b2dd" -dependencies = [ - "phf 0.11.3", - "unicode_names2_generator", -] - -[[package]] -name = "unicode_names2_generator" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b91e5b84611016120197efd7dc93ef76774f4e084cd73c9fb3ea4a86c570c56e" -dependencies = [ - "getopts", - "log", - "phf_codegen", - "rand 0.8.8", -] - [[package]] name = "unscanny" version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml index 966ac9079..4add9f879 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,13 +17,13 @@ once_cell = "1.21.3" clap = { version = "4.5.39", features = ["derive"] } # Python parsing - using git dependencies as ruff internals are not published to crates.io -ruff_linter = { git = "https://github.com/astral-sh/ruff/", tag = "0.16.7" } -ruff_python_ast = { git = "https://github.com/astral-sh/ruff/", tag = "0.16.7" } -ruff_python_codegen = { git = "https://github.com/astral-sh/ruff/", tag = "0.16.7" } -ruff_python_parser = { git = "https://github.com/astral-sh/ruff/", tag = "0.16.7" } -ruff_python_semantic = { git = "https://github.com/astral-sh/ruff/", tag = "0.16.7" } -ruff_python_stdlib = { git = "https://github.com/astral-sh/ruff/", tag = "0.16.7" } -ruff_text_size = { git = "https://github.com/astral-sh/ruff/", tag = "0.16.7" } +ruff_linter = { git = "https://github.com/astral-sh/ruff/", tag = "0.17.0" } +ruff_python_ast = { git = "https://github.com/astral-sh/ruff/", tag = "0.17.0" } +ruff_python_codegen = { git = "https://github.com/astral-sh/ruff/", tag = "0.17.0" } +ruff_python_parser = { git = "https://github.com/astral-sh/ruff/", tag = "0.17.0" } +ruff_python_semantic = { git = "https://github.com/astral-sh/ruff/", tag = "0.17.0" } +ruff_python_stdlib = { git = "https://github.com/astral-sh/ruff/", tag = "0.17.0" } +ruff_text_size = { git = "https://github.com/astral-sh/ruff/", tag = "0.17.0" } # Serialization and configuration serde = { version = "1.0", features = ["derive"] }