@@ -1,4 +1,4 @@
-From 8e0c0ae45a8e4274482d39ee87775ca6d8de9ccb Mon Sep 17 00:00:00 2001
+From 93718d883b4ea9ffc676c3eea892a25a9766cc60 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex@linutronix.de>
Date: Tue, 30 Jun 2026 21:36:12 +0200
Subject: [PATCH] setuptools_rust/rustc_info.py: do not add 'unstable-options'
@@ -6,13 +6,13 @@ Subject: [PATCH] setuptools_rust/rustc_info.py: do not add 'unstable-options'
This avoids the error:
| error: the option `Z` is only accepted on the nightly compiler
-|
+|
| help: consider switching to a nightly toolchain: `rustup default nightly`
-|
+|
| note: selecting a toolchain with `+toolchain` arguments require a rustup proxy; see <https://rust-lang.github.io/rustup/concepts/index.html>
-|
+|
| note: for more information about Rust's stability policy, see <https://doc.rust-lang.org/book/appendix-07-nightly-rust.html#unstable-features>
-|
+|
| error: 1 nightly option were parsed
Please see https://github.com/rust-lang/rust/issues/155963
@@ -30,11 +30,11 @@ Signed-off-by: Alexander Kanavin <alex@linutronix.de>
1 file changed, 2 deletions(-)
diff --git a/setuptools_rust/rustc_info.py b/setuptools_rust/rustc_info.py
-index ad37249..f470e04 100644
+index 326746c..b348358 100644
--- a/setuptools_rust/rustc_info.py
+++ b/setuptools_rust/rustc_info.py
-@@ -68,8 +68,6 @@ def get_rustc_cfgs(target_triple: Optional[str], env: Env) -> RustCfgs:
- def get_rust_target_info(target_triple: Optional[str], env: Env) -> List[str]:
+@@ -69,8 +69,6 @@ def get_rustc_cfgs(target_triple: str | None, env: Env) -> RustCfgs:
+ def get_rust_target_info(target_triple: str | None, env: Env) -> list[str]:
cmd = ["rustc", "--print", "cfg"]
if target_triple:
- if _is_custom_target(target_triple):
similarity index 90%
rename from meta/recipes-devtools/python/python3-setuptools-rust_1.13.0.bb
rename to meta/recipes-devtools/python/python3-setuptools-rust_1.14.0.bb
@@ -10,7 +10,7 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=011cd92e702dd9e6b1a26157b6fd53f5"
SRC_URI += "file://0001-setuptools_rust-rustc_info.py-do-not-add-unstable-op.patch"
-SRC_URI[sha256sum] = "f2afcf4baeee689910ce49cfa8aad4e08cce72f417449bcc32891b8664fdc726"
+SRC_URI[sha256sum] = "506bcfa4431dfdc864b669e254c5573e309adce30802b2c41a736804d0450135"
inherit cargo pypi python_setuptools_build_meta
Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe(s) *python3-setuptools-rust* to *1.14.0* has Succeeded. Next steps: - apply the patch: git am 0001-python3-setuptools-rust-upgrade-1.13.0-1.14.0.patch - check the changes to upstream patches and summarize them in the commit message, - compile an image that contains the package - perform some basic sanity tests - amend the patch and sign it off: git commit -s --reset-author --amend - send it to the appropriate mailing list Alternatively, if you believe the recipe should not be upgraded at this time, you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that automatic upgrades would no longer be attempted. Please review the attached files for further information and build/update failures. Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler Regards, The Upgrade Helper -- >8 -- From 95a0c34d3fdf36a21ddde8b2ec3364ee014bbfbf Mon Sep 17 00:00:00 2001 From: Upgrade Helper <auh@yoctoproject.org> Date: Fri, 4 Dec 2026 14:32:19 +0000 Subject: [PATCH] python3-setuptools-rust: upgrade 1.13.0 -> 1.14.0 ## 1.14.0 (2026-11-30) ### Packaging - Drop support for Python 3.9. [#615]( ) - Bump the minimum supported `setuptools` version to 83.0. [#615]( ) ### Changed - Stop passing `-sWASM_BIGINT` for Emscripten builds; let Rust 1.95 and newer set flags automatically. [#568]( ) ### Fixed - Honor `SETUPTOOLS_EXT_SUFFIX` when replacing extension suffixes for limited- API builds. [#623]( ) - Select PyO3's ABI3T features for limited-API builds targeting free-threaded Python 3.15 and newer. [#622]( ) - Query Cargo for package and target directory metadata without resolving Rust dependencies, and decode Cargo metadata as UTF-8. [#620]( ) --- ...st-rustc_info.py-do-not-add-unstable-op.patch | 16 ++++++++-------- ...13.0.bb => python3-setuptools-rust_1.14.0.bb} | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) rename meta/recipes-devtools/python/{python3-setuptools-rust_1.13.0.bb => python3-setuptools-rust_1.14.0.bb} (90%)