From 19c1ff73cf0f05f5a31c6c790a89c4ef945e6d01 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 29 Oct 2026 06:12:22 +0000 Subject: [PATCH 1/2] chore(deps): update rust crate ruff_python_ast to v0.0.20 --- rust/Cargo.lock | 2 +- rust/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 5d425b44..368fec1e 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -1478,7 +1478,7 @@ dependencies = [ "morphir-extension-sdk", "morphir-json", "num-bigint 0.5.1", - "ruff_python_ast 0.0.15", + "ruff_python_ast 0.0.20", "ruff_python_codegen", "ruff_python_parser 0.0.15", "ruff_text_size 0.0.15", diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 66573596..c8934a8e 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -18,7 +18,7 @@ morphir-extension-sdk = "=0.4.0" num-bigint = "0.5" # Ruff component crates evolve together; update this group as one unit. ruff_python_parser = "=0.0.15" -ruff_python_ast = "=0.0.15" +ruff_python_ast = "=0.0.20" ruff_python_codegen = "=0.0.20" ruff_text_size = "=0.0.15" serde_json = "1.0" From ca589dc954e6d4b1364b6e3df29afd3dc8abcf7e Mon Sep 17 00:00:00 2001 From: Damian Reeves <957246+DamianReeves@users.noreply.github.com> Date: Thu, 29 Oct 2026 03:49:59 -0500 Subject: [PATCH 2/2] fix(deps): update Ruff components together --- renovate.json | 14 ++++ rust/Cargo.lock | 200 +++++------------------------------------------- rust/Cargo.toml | 4 +- 3 files changed, 35 insertions(+), 183 deletions(-) diff --git a/renovate.json b/renovate.json index 5db72dd6..e09f2f8b 100644 --- a/renovate.json +++ b/renovate.json @@ -2,5 +2,19 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "config:recommended" + ], + "packageRules": [ + { + "matchManagers": [ + "cargo" + ], + "matchPackageNames": [ + "ruff_python_parser", + "ruff_python_ast", + "ruff_python_codegen", + "ruff_text_size" + ], + "groupName": "Ruff components" + } ] } diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 368fec1e..46561a06 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -870,26 +870,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" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0" -dependencies = [ - "cfg-if", - "libc", - "wasi", -] - [[package]] name = "getrandom" version = "0.4.3" @@ -1478,10 +1458,10 @@ dependencies = [ "morphir-extension-sdk", "morphir-json", "num-bigint 0.5.1", - "ruff_python_ast 0.0.20", + "ruff_python_ast", "ruff_python_codegen", - "ruff_python_parser 0.0.15", - "ruff_text_size 0.0.15", + "ruff_python_parser", + "ruff_text_size", "serde_json", "tempfile", "tokio", @@ -1687,16 +1667,6 @@ dependencies = [ "phf_shared 0.14.0", ] -[[package]] -name = "phf_codegen" -version = "0.11.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aef8048c789fa5e851558d709946d6d79a8ff88c0440c587967f8e94bfb1216a" -dependencies = [ - "phf_generator 0.11.3", - "phf_shared 0.11.3", -] - [[package]] name = "phf_codegen" version = "0.14.0" @@ -1801,15 +1771,6 @@ dependencies = [ "zerovec", ] -[[package]] -name = "ppv-lite86" -version = "0.2.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" -dependencies = [ - "zerocopy", -] - [[package]] name = "proc-macro-crate" version = "3.5.0" @@ -1972,8 +1933,6 @@ version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c" dependencies = [ - "libc", - "rand_chacha", "rand_core 0.6.4", ] @@ -1987,24 +1946,11 @@ dependencies = [ "rand_core 0.10.1", ] -[[package]] -name = "rand_chacha" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" -dependencies = [ - "ppv-lite86", - "rand_core 0.6.4", -] - [[package]] name = "rand_core" version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" -dependencies = [ - "getrandom 0.2.17", -] [[package]] name = "rand_core" @@ -2089,28 +2035,6 @@ dependencies = [ "serde", ] -[[package]] -name = "ruff_python_ast" -version = "0.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7739179c404793f47296e14397478ea03dc07cf3cf6632b3f7afeee80bca10f4" -dependencies = [ - "aho-corasick", - "arrayvec", - "bitflags", - "char_str", - "compact_str 0.10.0", - "get-size2", - "is-macro", - "memchr", - "ruff_python_trivia 0.0.15", - "ruff_source_file 0.0.15", - "ruff_text_size 0.0.15", - "rustc-hash", - "thin-vec", - "thiserror 2.0.21", -] - [[package]] name = "ruff_python_ast" version = "0.0.20" @@ -2125,9 +2049,9 @@ dependencies = [ "get-size2", "is-macro", "memchr", - "ruff_python_trivia 0.0.20", - "ruff_source_file 0.0.20", - "ruff_text_size 0.0.20", + "ruff_python_trivia", + "ruff_source_file", + "ruff_text_size", "rustc-hash", "thin-vec", "thiserror 2.0.21", @@ -2139,11 +2063,11 @@ version = "0.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "24223da985a9341fcd6741591d86e2df61abbac773b2f48aeebae52bb769e660" dependencies = [ - "ruff_python_ast 0.0.20", + "ruff_python_ast", "ruff_python_literal", - "ruff_python_parser 0.0.20", - "ruff_source_file 0.0.20", - "ruff_text_size 0.0.20", + "ruff_python_parser", + "ruff_source_file", + "ruff_text_size", ] [[package]] @@ -2156,31 +2080,7 @@ dependencies = [ "icu_normalizer", "icu_properties", "itertools 0.15.0", - "ruff_python_ast 0.0.20", -] - -[[package]] -name = "ruff_python_parser" -version = "0.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e8801707fbf7f737fb8c924cf7c47c32d6bea0f5cb6aabdef70db9cd4ee05cb" -dependencies = [ - "bitflags", - "bstr", - "drop_bomb", - "get-size2", - "hashbrown 0.17.1", - "memchr", - "ruff_python_ast 0.0.15", - "ruff_python_trivia 0.0.15", - "ruff_text_size 0.0.15", - "rustc-hash", - "stacker", - "static_assertions", - "thin-vec", - "unicode-ident", - "unicode-normalization", - "unicode_names2", + "ruff_python_ast", ] [[package]] @@ -2195,9 +2095,9 @@ dependencies = [ "get-size2", "hashbrown 0.17.1", "memchr", - "ruff_python_ast 0.0.20", - "ruff_python_trivia 0.0.20", - "ruff_text_size 0.0.20", + "ruff_python_ast", + "ruff_python_trivia", + "ruff_text_size", "ruff_unicode_names2", "rustc-hash", "static_assertions", @@ -2206,21 +2106,6 @@ dependencies = [ "unicode-normalization", ] -[[package]] -name = "ruff_python_trivia" -version = "0.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6fa97e6048b7e69ca7784e538af46935a9e3dc64d7f30ea412298a385898b26" -dependencies = [ - "itertools 0.15.0", - "memchr", - "ruff_source_file 0.0.15", - "ruff_text_size 0.0.15", - "rustc-hash", - "unicode-ident", - "unicode-normalization", -] - [[package]] name = "ruff_python_trivia" version = "0.0.20" @@ -2229,23 +2114,13 @@ checksum = "a867e9037e2c616342dcb77ff69344c59cf956bde079392a6da4b23138246a02" dependencies = [ "itertools 0.15.0", "memchr", - "ruff_source_file 0.0.20", - "ruff_text_size 0.0.20", + "ruff_source_file", + "ruff_text_size", "rustc-hash", "unicode-ident", "unicode-normalization", ] -[[package]] -name = "ruff_source_file" -version = "0.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bff6d1182e0b5d7c276a3fc835c03c3618b8585b1d6ab409d8a7915f44bda465" -dependencies = [ - "memchr", - "ruff_text_size 0.0.15", -] - [[package]] name = "ruff_source_file" version = "0.0.20" @@ -2253,16 +2128,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6cd1f298a482a6765b5c6cb1a48e0bfcbfda5be7e1da903af58a59091953d595" dependencies = [ "memchr", - "ruff_text_size 0.0.20", -] - -[[package]] -name = "ruff_text_size" -version = "0.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce8825dec40aec41929c539f419c427885a1005de8bfcf85284220b6fde41766" -dependencies = [ - "get-size2", + "ruff_text_size", ] [[package]] @@ -2290,7 +2156,7 @@ version = "0.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "be96655e37811ac2d840bd87f6af7fe8a31522f685c222a96157f0dbbfbb59b2" dependencies = [ - "phf_codegen 0.14.0", + "phf_codegen", "rand 0.10.3", ] @@ -2655,7 +2521,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" dependencies = [ "fastrand", - "getrandom 0.4.3", + "getrandom", "once_cell", "rustix", "windows-sys", @@ -2876,28 +2742,6 @@ version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" -[[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 0.11.3", - "rand 0.8.8", -] - [[package]] name = "url" version = "2.5.8" @@ -2949,12 +2793,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "wasi" -version = "0.11.1+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" - [[package]] name = "wasm-bindgen" version = "0.2.129" diff --git a/rust/Cargo.toml b/rust/Cargo.toml index c8934a8e..a31c7cc3 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -17,10 +17,10 @@ morphir-json = "=0.2.0" morphir-extension-sdk = "=0.4.0" num-bigint = "0.5" # Ruff component crates evolve together; update this group as one unit. -ruff_python_parser = "=0.0.15" +ruff_python_parser = "=0.0.20" ruff_python_ast = "=0.0.20" ruff_python_codegen = "=0.0.20" -ruff_text_size = "=0.0.15" +ruff_text_size = "=0.0.20" serde_json = "1.0" serde = { version = "1.0", features = ["derive"] } tempfile = "3"