From patchwork Fri Oct 23 04:27:48 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 101726 Received: from mail-dl1-f41.google.com (mail-dl1-f41.google.com [74.125.82.41]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.355.1792729673843685056 for ; Thu, 22 Oct 2026 21:27:53 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=MMLTGfzx; spf=pass (domain: gmail.com, ip: 74.125.82.41, mailfrom: raj.khem@gmail.com) Received: by mail-dl1-f41.google.com with SMTP id a92af1059eb24-1846bc43c28so559423c88.0 for ; Thu, 22 Oct 2026 21:27:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1792729673; x=1793334473; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=dSpCVpFhaleISG7nO83sXg+xj7L3Q4NRd//i1GYuXzA=; b=MMLTGfzxHWxbwzHLEF84NvsNBdBGU2smiYGneTmW6mtunQ753N8XVzYo3ogK9WO/E+ o7tiVRROsxuCXLh6JtktwL6qCrejo2KMaiAO8cHn2RLI7f9HMKSC+JNIpW7zUTRpK9Se 5LmuCxyTQu2j+18FCLhFGeYa0Pcq72qSs4ALn0N0px4gjqQYNzAl6sUblMQdFyiVpUjc 4M/7/pEKq8iVSQUKnl6kGz+UG4RkT+WgOkoVWnJe7RnDTWPbi4W8+FJB8BIiMb7we6cq Vtr5lqbd4yd5R7FWuejavpyirmuNn4sYr9l507QKSaV+t5zXHhz/32ce7oVBhnY6tMz/ wduQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792729673; x=1793334473; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc: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7AZ kNkhvX6+MyhnST+yXK5EBFWFcQgq6SMcm4P4oaBBZa2iEUpPsefCShv31wOggEne9eWDndje3Sm 5csUCwTwnOrqYQjZmZSg84YwWYK1OypTWWXIC612tUQamTs0IBh4xj/MU8NtMMZ2vH9dj7OGOni TFUVzNxw18lGbzzxz6FcvmoOpzDy3cf6caUnUMDkN1luA9bzZfsaBky+PqCtqxkipEPDVX8ZYh9 F1T3QsIngFYSUrhSuT6mM20qnFwgiXDlp4Za3+/G5KZpYTg+xEmN2QAnUwG+tkVH1HTzYWj8L64 PNdLWqKRiTlNHdzdi+mA2vTHs7+Rt0= X-Received: by 2002:a05:7022:3f01:b0:14c:c947:6afb with SMTP id a92af1059eb24-195c4d61986mr1749291c88.15.1792729672822; Thu, 22 Oct 2026 21:27:52 -0700 (PDT) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-195eca18b99sm2597400c88.20.2026.10.22.21.27.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Oct 2026 21:27:52 -0700 (PDT) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-core@lists.openembedded.org Cc: Khem Raj Subject: [PATCH 1/2] python3-maturin: Update rustix to 1.1.5 Date: Thu, 22 Oct 2026 21:27:48 -0700 Message-ID: <20261023042749.1756636-1-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.0 MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 23 Oct 2026 04:27:59 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/248473 rustix 1.1.4 glob-imports the STATX_* constants from linux-raw-sys for non-glibc Linux targets, but libc also defines them for musl with its musl 1.2 layouts, which are used on riscv32, so the build fails: error[E0659]: `STATX_MODE` is ambiguous rustix 1.1.5 imports them explicitly. Add a patch that updates it in Cargo.lock and regenerate python3-maturin-crates.inc. Signed-off-by: Khem Raj --- .../python/python3-maturin-crates.inc | 4 +- ...01-Cargo.lock-Update-rustix-to-1.1.5.patch | 144 ++++++++++++++++++ .../python/python3-maturin_1.15.0.bb | 2 + 3 files changed, 148 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-devtools/python/python3-maturin/0001-Cargo.lock-Update-rustix-to-1.1.5.patch diff --git a/meta/recipes-devtools/python/python3-maturin-crates.inc b/meta/recipes-devtools/python/python3-maturin-crates.inc index 0674a34bca..68507ad754 100644 --- a/meta/recipes-devtools/python/python3-maturin-crates.inc +++ b/meta/recipes-devtools/python/python3-maturin-crates.inc @@ -268,7 +268,7 @@ SRC_URI += " \ crate://crates.io/rustc-hash/2.1.2 \ crate://crates.io/rustc_version/0.4.1 \ crate://crates.io/rustflags/0.1.7 \ - crate://crates.io/rustix/1.1.4 \ + crate://crates.io/rustix/1.1.5 \ crate://crates.io/rustls/0.23.38 \ crate://crates.io/rustls-native-certs/0.8.3 \ crate://crates.io/rustls-pki-types/1.14.0 \ @@ -742,7 +742,7 @@ SRC_URI[rstest_macros-0.26.1.sha256sum] = "9c845311f0ff7951c5506121a9ad75aec44d0 SRC_URI[rustc-hash-2.1.2.sha256sum] = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe" SRC_URI[rustc_version-0.4.1.sha256sum] = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" SRC_URI[rustflags-0.1.7.sha256sum] = "a39e0e9135d7a7208ee80aa4e3e4b88f0f5ad7be92153ed70686c38a03db2e63" -SRC_URI[rustix-1.1.4.sha256sum] = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190" +SRC_URI[rustix-1.1.5.sha256sum] = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d" SRC_URI[rustls-0.23.38.sha256sum] = "69f9466fb2c14ea04357e91413efb882e2a6d4a406e625449bc0a5d360d53a21" SRC_URI[rustls-native-certs-0.8.3.sha256sum] = "612460d5f7bea540c490b2b6395d8e34a953e52b491accd6c86c8164c5932a63" SRC_URI[rustls-pki-types-1.14.0.sha256sum] = "be040f8b0a225e40375822a563fa9524378b9d63112f53e19ffff34df5d33fdd" diff --git a/meta/recipes-devtools/python/python3-maturin/0001-Cargo.lock-Update-rustix-to-1.1.5.patch b/meta/recipes-devtools/python/python3-maturin/0001-Cargo.lock-Update-rustix-to-1.1.5.patch new file mode 100644 index 0000000000..675cc0c7bb --- /dev/null +++ b/meta/recipes-devtools/python/python3-maturin/0001-Cargo.lock-Update-rustix-to-1.1.5.patch @@ -0,0 +1,144 @@ +From: Khem Raj +Date: Thu, 22 Oct 2026 17:00:00 -0700 +Subject: [PATCH] Cargo.lock: Update rustix to 1.1.5 + +rustix 1.1.4 glob-imports the STATX_* constants from linux-raw-sys for +non-glibc Linux targets, assuming libc does not define them. libc +defines them for musl with its musl 1.2 layouts, which libc 0.2.190 +enables by default on riscv32 and earlier versions with the +libc_unstable_musl_v1_2_3 cfg, so the names become ambiguous: + + error[E0659]: `STATX_MODE` is ambiguous + --> rustix-1.1.4/src/fs/statx.rs:78:25 + +rustix 1.1.5 imports them explicitly instead [1]. Update it with +'cargo update -p rustix'. + +[1] https://github.com/bytecodealliance/rustix/pull/1676 + +Upstream-Status: Submitted [https://github.com/PyO3/maturin/pull/3344] +Signed-off-by: Khem Raj +--- + Cargo.lock | 28 ++++++++++++++-------------- + 1 file changed, 14 insertions(+), 14 deletions(-) + +--- a/Cargo.lock ++++ b/Cargo.lock +@@ -59,7 +59,7 @@ version = "1.1.5" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" + dependencies = [ +- "windows-sys 0.61.2", ++ "windows-sys 0.60.2", + ] + + [[package]] +@@ -70,7 +70,7 @@ checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" + dependencies = [ + "anstyle", + "once_cell_polyfill", +- "windows-sys 0.61.2", ++ "windows-sys 0.60.2", + ] + + [[package]] +@@ -879,7 +879,7 @@ dependencies = [ + "libc", + "option-ext", + "redox_users", +- "windows-sys 0.61.2", ++ "windows-sys 0.59.0", + ] + + [[package]] +@@ -967,7 +967,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" + dependencies = [ + "libc", +- "windows-sys 0.61.2", ++ "windows-sys 0.52.0", + ] + + [[package]] +@@ -1478,7 +1478,7 @@ checksum = "3640c1c38b8e4e43584d8df18be5fc6b0aa314ce6ebf51b53313d4306cca8e46" + dependencies = [ + "hermit-abi", + "libc", +- "windows-sys 0.61.2", ++ "windows-sys 0.52.0", + ] + + [[package]] +@@ -1961,7 +1961,7 @@ version = "0.50.3" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "7957b9740744892f114936ab4a57b3f487491bbeafaf8083688b16841a4240e5" + dependencies = [ +- "windows-sys 0.61.2", ++ "windows-sys 0.59.0", + ] + + [[package]] +@@ -2079,7 +2079,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "7d8fae84b431384b68627d0f9b3b1245fcf9f46f6c0e3dc902e9dce64edd1967" + dependencies = [ + "libc", +- "windows-sys 0.61.2", ++ "windows-sys 0.45.0", + ] + + [[package]] +@@ -2629,15 +2629,15 @@ checksum = "a39e0e9135d7a7208ee80aa4e3e4b88f0f5ad7be92153ed70686c38a03db2e63" + + [[package]] + name = "rustix" +-version = "1.1.4" ++version = "1.1.5" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190" ++checksum = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d" + dependencies = [ + "bitflags", + "errno", + "libc", + "linux-raw-sys", +- "windows-sys 0.61.2", ++ "windows-sys 0.52.0", + ] + + [[package]] +@@ -2694,7 +2694,7 @@ dependencies = [ + "security-framework 3.7.0", + "security-framework-sys", + "webpki-root-certs", +- "windows-sys 0.61.2", ++ "windows-sys 0.52.0", + ] + + [[package]] +@@ -3185,7 +3185,7 @@ dependencies = [ + "getrandom 0.4.2", + "once_cell", + "rustix", +- "windows-sys 0.61.2", ++ "windows-sys 0.52.0", + ] + + [[package]] +@@ -3204,7 +3204,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "230a1b821ccbd75b185820a1f1ff7b14d21da1e442e22c0863ea5f08771a8874" + dependencies = [ + "rustix", +- "windows-sys 0.61.2", ++ "windows-sys 0.59.0", + ] + + [[package]] +@@ -3921,7 +3921,7 @@ version = "0.1.11" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" + dependencies = [ +- "windows-sys 0.61.2", ++ "windows-sys 0.52.0", + ] + + [[package]] diff --git a/meta/recipes-devtools/python/python3-maturin_1.15.0.bb b/meta/recipes-devtools/python/python3-maturin_1.15.0.bb index 8ab27b6676..a29e29bda9 100644 --- a/meta/recipes-devtools/python/python3-maturin_1.15.0.bb +++ b/meta/recipes-devtools/python/python3-maturin_1.15.0.bb @@ -5,6 +5,8 @@ LICENSE = "Apache-2.0 OR MIT" LIC_FILES_CHKSUM = "file://license-apache;md5=1836efb2eb779966696f473ee8540542 \ file://license-mit;md5=85fd3b67069cff784d98ebfc7d5c0797" +SRC_URI += "file://0001-Cargo.lock-Update-rustix-to-1.1.5.patch" + SRC_URI[sha256sum] = "94b26cc8e8aba61a5f2099715fe640e18c5f678e9a500408b38761263954228a" S = "${UNPACKDIR}/maturin-${PV}" From patchwork Fri Oct 23 04:27:49 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 101725 Received: from mail-dy1-f170.google.com (mail-dy1-f170.google.com [74.125.82.170]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.356.1792729675035653535 for ; Thu, 22 Oct 2026 21:27:55 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20251104 header.b=H7UtJZJv; spf=pass (domain: gmail.com, ip: 74.125.82.170, mailfrom: raj.khem@gmail.com) Received: by mail-dy1-f170.google.com with SMTP id 5a478bee46e88-33bf40b0c8bso247020eec.0 for ; Thu, 22 Oct 2026 21:27:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1792729674; x=1793334474; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=9tWjNNVFHxgpIKepE9ddtZjZCUALfdnGzFgnowzwz1E=; b=H7UtJZJvSm7uc48O3qQU6Ub6qN75QJee5shJonscb1F2hCiIUR/D9rsUPnCK2zWhOc HgBP1cFRJW9VRikHTmvmwbRJQ92v1Uf+iP/JoKcvjnRwG2S9pzXBvivjuSEyAS1Ha6RB TYauKs2R/GLkBasxRuAzVzIq/V12pF+AgHTre5Il95a6n8n59eCFJbgpeh4Kluwjiduz YSnA1quuLDTd2ffF503yQiXnY4IyEPDFIoDfd68uOwgd5Oyhkw/Gzq7MMXcQrnl5WiTd aVAcVg3RRl0KJ8bhDfBC+zn+myTAkUGFq28DmaHcYSEhM96jdFuH1kCyl2ZBvpU4VE5K mC9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792729674; x=1793334474; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=9tWjNNVFHxgpIKepE9ddtZjZCUALfdnGzFgnowzwz1E=; b=PAwNWBE7rZHmm+Ktjwspir54G3ZxQjKu0i8/rEIYZByx8xSRAO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m/6osQWqrD015rEEKcAFD5lxhej1KTTGzi79ym5J3 V9+MLSqEeof1KwWlw8gaqGdx8bADfl+gxtyn6LZa0MQ5+ScmXIXIBE9wpquVpcM76IhgA8v5Z87 lcDxipC03AFSFA/IuVwumIbPKeN95MH3+TVHtEXZIPRzPJgDvxgn5GaoNiZrLgEC5fyQHd7EE0P YPRBA7dgWIgry2E9h1uX8RLJiMQXZ0= X-Received: by 2002:a05:701b:4212:20b0:163:a197:722d with SMTP id a92af1059eb24-195bfcb2992mr1783620c88.4.1792729674151; Thu, 22 Oct 2026 21:27:54 -0700 (PDT) Return-Path: Received: from apollo.tail3ccdd3.ts.net ([147.160.63.35]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-195eca18b99sm2597400c88.20.2026.10.22.21.27.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Oct 2026 21:27:53 -0700 (PDT) From: Khem Raj X-Google-Original-From: Khem Raj To: openembedded-core@lists.openembedded.org Cc: Khem Raj Subject: [PATCH 2/2] python3-uv-build: Update rustix to 1.1.5 Date: Thu, 22 Oct 2026 21:27:49 -0700 Message-ID: <20261023042749.1756636-2-khem.raj@oss.qualcomm.com> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261023042749.1756636-1-khem.raj@oss.qualcomm.com> References: <20261023042749.1756636-1-khem.raj@oss.qualcomm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 23 Oct 2026 04:27:59 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/248474 rustix 1.1.4 glob-imports the STATX_* constants from linux-raw-sys for non-glibc Linux targets, but libc also defines them for musl with its musl 1.2 layouts, which are used on riscv32, so the build fails: error[E0659]: `STATX_MODE` is ambiguous rustix 1.1.5 imports them explicitly. Add a patch that updates it in Cargo.lock and regenerate python3-uv-build-crates.inc. Signed-off-by: Khem Raj --- .../python/python3-uv-build-crates.inc | 4 +- ...01-Cargo.lock-Update-rustix-to-1.1.5.patch | 82 +++++++++++++++++++ .../python/python3-uv-build_0.13.0.bb | 2 + 3 files changed, 86 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-devtools/python/python3-uv-build/0001-Cargo.lock-Update-rustix-to-1.1.5.patch diff --git a/meta/recipes-devtools/python/python3-uv-build-crates.inc b/meta/recipes-devtools/python/python3-uv-build-crates.inc index 40087d0541..336e701554 100644 --- a/meta/recipes-devtools/python/python3-uv-build-crates.inc +++ b/meta/recipes-devtools/python/python3-uv-build-crates.inc @@ -174,7 +174,7 @@ SRC_URI += " \ crate://crates.io/rkyv/0.8.18 \ crate://crates.io/rkyv_derive/0.8.18 \ crate://crates.io/rustc-hash/2.1.3 \ - crate://crates.io/rustix/1.1.4 \ + crate://crates.io/rustix/1.1.5 \ crate://crates.io/rustix-linux-procfs/0.1.1 \ crate://crates.io/rustversion/1.0.22 \ crate://crates.io/ryu/1.0.23 \ @@ -477,7 +477,7 @@ SRC_URI[rend-0.5.3.sha256sum] = "cadadef317c2f20755a64d7fdc48f9e7178ee6b0e1f7fce SRC_URI[rkyv-0.8.18.sha256sum] = "d9776093b7ca170454ab1406954f7b7d97a57c51dc6c0642957fb2ef25c2d399" SRC_URI[rkyv_derive-0.8.18.sha256sum] = "1c25ef604ac7dd839d44d64648952ea23c97866f124ff671b0ed2cf3ad9bb06e" SRC_URI[rustc-hash-2.1.3.sha256sum] = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" -SRC_URI[rustix-1.1.4.sha256sum] = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190" +SRC_URI[rustix-1.1.5.sha256sum] = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d" SRC_URI[rustix-linux-procfs-0.1.1.sha256sum] = "2fc84bf7e9aa16c4f2c758f27412dc9841341e16aa682d9c7ac308fe3ee12056" SRC_URI[rustversion-1.0.22.sha256sum] = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" SRC_URI[ryu-1.0.23.sha256sum] = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f" diff --git a/meta/recipes-devtools/python/python3-uv-build/0001-Cargo.lock-Update-rustix-to-1.1.5.patch b/meta/recipes-devtools/python/python3-uv-build/0001-Cargo.lock-Update-rustix-to-1.1.5.patch new file mode 100644 index 0000000000..aa4be8d6a1 --- /dev/null +++ b/meta/recipes-devtools/python/python3-uv-build/0001-Cargo.lock-Update-rustix-to-1.1.5.patch @@ -0,0 +1,82 @@ +From: Khem Raj +Date: Thu, 22 Oct 2026 18:00:00 -0700 +Subject: [PATCH] Cargo.lock: Update rustix to 1.1.5 + +rustix 1.1.4 glob-imports the STATX_* constants from linux-raw-sys for +non-glibc Linux targets, assuming libc does not define them. libc +defines them for musl with its musl 1.2 layouts, which libc 0.2.190 +enables by default on riscv32 and earlier versions with the +libc_unstable_musl_v1_2_3 cfg, so the names become ambiguous: + + error[E0659]: `STATX_MODE` is ambiguous + --> rustix-1.1.4/src/fs/statx.rs:78:25 + +rustix 1.1.5 imports them explicitly instead [1]. Update it with +'cargo update -p rustix', as uv has done after this release [2]. + +[1] https://github.com/bytecodealliance/rustix/pull/1676 +[2] https://github.com/astral-sh/uv/pull/22699 + +Upstream-Status: Backport [https://github.com/astral-sh/uv/pull/22699] +Signed-off-by: Khem Raj +--- + Cargo.lock | 14 +++++++------- + 1 file changed, 7 insertions(+), 7 deletions(-) + +--- a/Cargo.lock ++++ b/Cargo.lock +@@ -599,7 +599,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" + dependencies = [ + "libc", +- "windows-sys 0.52.0", ++ "windows-sys 0.60.2", + ] + + [[package]] +@@ -987,7 +987,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "20fd6de4ccfcc187e38bc21cfa543cb5a302cb86a8b114eb7f0bf0dc9f8ac00f" + dependencies = [ + "io-lifetimes 3.0.1", +- "windows-sys 0.52.0", ++ "windows-sys 0.60.2", + ] + + [[package]] +@@ -1585,15 +1585,15 @@ checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" + + [[package]] + name = "rustix" +-version = "1.1.4" ++version = "1.1.5" + source = "registry+https://github.com/rust-lang/crates.io-index" +-checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190" ++checksum = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d" + dependencies = [ + "bitflags 2.13.1", + "errno", + "libc", + "linux-raw-sys", +- "windows-sys 0.52.0", ++ "windows-sys 0.60.2", + ] + + [[package]] +@@ -1943,7 +1943,7 @@ dependencies = [ + "getrandom", + "once_cell", + "rustix", +- "windows-sys 0.52.0", ++ "windows-sys 0.60.2", + ] + + [[package]] +@@ -2733,7 +2733,7 @@ version = "0.1.11" + source = "registry+https://github.com/rust-lang/crates.io-index" + checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" + dependencies = [ +- "windows-sys 0.52.0", ++ "windows-sys 0.60.2", + ] + + [[package]] diff --git a/meta/recipes-devtools/python/python3-uv-build_0.13.0.bb b/meta/recipes-devtools/python/python3-uv-build_0.13.0.bb index 2ad38b2054..97c8675a78 100644 --- a/meta/recipes-devtools/python/python3-uv-build_0.13.0.bb +++ b/meta/recipes-devtools/python/python3-uv-build_0.13.0.bb @@ -11,6 +11,8 @@ LIC_FILES_CHKSUM = "file://LICENSE-APACHE;md5=86d3f3a95c324c9479bd8986968f4327 \ file://crates/uv-pep508/License-Apache;md5=e23fadd6ceef8c618fc1c65191d846fa \ file://crates/uv-pep508/License-BSD;md5=ef7a6027dc4c2389b9afad7e690274c7" +SRC_URI += "file://0001-Cargo.lock-Update-rustix-to-1.1.5.patch" + SRC_URI[sha256sum] = "bd2614f24a58dccd4865d4f86ddd91dd01fd0efab4632e033186a8423b8a3515" require ${BPN}-crates.inc