diff mbox series

[2/7] python3-setuptools-rust: upgrade 1.13.0 -> 1.14.0

Message ID 20261204191922.676542-2-tim.orling@konsulko.com
State New
Headers show
Series [1/7] python3-bcrypt: upgrade 5.0.0 -> 5.1.0 | expand

Commit Message

Tim Orling Dec. 4, 2026, 7:17 p.m. UTC
Refresh the rustc_info.py patch, which applied with fuzz after upstream
changed the type hints. 1.14.0 drops Python 3.9 and requires
setuptools 83.0 or newer.

Changelog: https://github.com/PyO3/setuptools-rust/blob/v1.14.0/CHANGELOG.md

Built for target and native, and used to build python3-bcrypt and
python3-cryptography.

AI-Generated: Uses Claude Code (Claude Opus 5.5)
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
Test results:
No ptest. Built for target and native; python3-bcrypt and
python3-cryptography build with it and their ptests pass.

 ...tuptools_rust-rustc_info.py-do-not-add-unstable-op.patch | 6 +++---
 ...ols-rust_1.13.0.bb => python3-setuptools-rust_1.14.0.bb} | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-devtools/python/{python3-setuptools-rust_1.13.0.bb => python3-setuptools-rust_1.14.0.bb} (90%)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-setuptools-rust/0001-setuptools_rust-rustc_info.py-do-not-add-unstable-op.patch b/meta/recipes-devtools/python/python3-setuptools-rust/0001-setuptools_rust-rustc_info.py-do-not-add-unstable-op.patch
index 313e7454c1..015e58c893 100644
--- a/meta/recipes-devtools/python/python3-setuptools-rust/0001-setuptools_rust-rustc_info.py-do-not-add-unstable-op.patch
+++ b/meta/recipes-devtools/python/python3-setuptools-rust/0001-setuptools_rust-rustc_info.py-do-not-add-unstable-op.patch
@@ -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):
diff --git a/meta/recipes-devtools/python/python3-setuptools-rust_1.13.0.bb b/meta/recipes-devtools/python/python3-setuptools-rust_1.14.0.bb
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
index f07533793c..549dd8cf65 100644
--- a/meta/recipes-devtools/python/python3-setuptools-rust_1.13.0.bb
+++ b/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