From 56c0ca8cfa4ec39a0618ea185e4b05151e175810 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 30 Oct 2026 13:03:00 +0200 Subject: [PATCH] python3-ruff: Upgrade 0.17.2 -> 0.17.3 Upgrade to release 0.17.3: Preview features: - [suspicious] Add shared-clock-mock Bug fixes: - [pyupgrade] Avoid incorrect conversions to f-strings (UP032) Performance: - Buffer stdout in ruff format - Specialize ASCII identifier lexing - Speed up identifier and keyword lexing Documentation: - [flake8-bandit] Describe what the rule actually checks for httpx (S113) This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- ...-Use-portable-atomic-for-AtomicU64-on-targets-wi.patch | 8 ++++---- .../{python3-ruff_0.17.2.bb => python3-ruff_0.17.3.bb} | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) rename meta-python/recipes-devtools/python/{python3-ruff_0.17.2.bb => python3-ruff_0.17.3.bb} (86%) diff --git a/meta-python/recipes-devtools/python/python3-ruff/0001-ruff-Use-portable-atomic-for-AtomicU64-on-targets-wi.patch b/meta-python/recipes-devtools/python/python3-ruff/0001-ruff-Use-portable-atomic-for-AtomicU64-on-targets-wi.patch index ccf1d645be..2fbda610aa 100644 --- a/meta-python/recipes-devtools/python/python3-ruff/0001-ruff-Use-portable-atomic-for-AtomicU64-on-targets-wi.patch +++ b/meta-python/recipes-devtools/python/python3-ruff/0001-ruff-Use-portable-atomic-for-AtomicU64-on-targets-wi.patch @@ -1,4 +1,4 @@ -From d2c053cc5d1906f1276ce323531c626f6e199e26 Mon Sep 17 00:00:00 2001 +From 3db4e7361ecdafec16b5ea23a2a21e62bc5d87bd Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 21 Oct 2026 18:00:00 -0700 Subject: [PATCH] ruff: Use portable-atomic for AtomicU64 on targets without @@ -31,7 +31,7 @@ Signed-off-by: Khem Raj 4 files changed, 58 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock -index 08da4b1..f6ae6ce 100644 +index 84eda7b..4444142 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3123,6 +3123,7 @@ dependencies = [ @@ -43,7 +43,7 @@ index 08da4b1..f6ae6ce 100644 "regex", "rkyv", diff --git a/Cargo.toml b/Cargo.toml -index ae31696..57a66fb 100644 +index f5f3f6c..288535a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -172,6 +172,7 @@ pathdiff = { version = "0.2.1", default-features = false } @@ -55,7 +55,7 @@ index ae31696..57a66fb 100644 proc-macro2 = { version = "1.0.79", default-features = false, features = ["proc-macro"] } pyproject-toml = { version = "0.13.4", default-features = false } diff --git a/crates/ruff/Cargo.toml b/crates/ruff/Cargo.toml -index a7cd6cd..b7ca393 100644 +index d88c322..a0de836 100644 --- a/crates/ruff/Cargo.toml +++ b/crates/ruff/Cargo.toml @@ -77,6 +77,9 @@ tikv-jemallocator = { workspace = true } diff --git a/meta-python/recipes-devtools/python/python3-ruff_0.17.2.bb b/meta-python/recipes-devtools/python/python3-ruff_0.17.3.bb similarity index 86% rename from meta-python/recipes-devtools/python/python3-ruff_0.17.2.bb rename to meta-python/recipes-devtools/python/python3-ruff_0.17.3.bb index 0a18c03807..0c3a0dec55 100644 --- a/meta-python/recipes-devtools/python/python3-ruff_0.17.2.bb +++ b/meta-python/recipes-devtools/python/python3-ruff_0.17.3.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e679ca4f742cbfa29ab6a499529c2d39" SRC_URI += "file://0001-ruff-Use-portable-atomic-for-AtomicU64-on-targets-wi.patch" -SRC_URI[sha256sum] = "84d632402d14c23b488f941db23712d6736a013225162062d34558c3f3c780eb" +SRC_URI[sha256sum] = "a57049c8addb3662073859bb55a7ad35aa54f8a7c9ed268911d1333c5aadaaa9" inherit pypi python_maturin cargo-update-recipe-crates