* [PATCH 2/4] python3-build: upgrade 1.5.1 -> 1.6.0
2026-09-02 11:57 [PATCH 1/4] debianutils: upgrade 5.23.2 -> 5.24 Richard Purdie
@ 2026-09-02 11:57 ` Richard Purdie
2026-09-02 12:02 ` Patchtest results for " patchtest
2026-09-02 11:57 ` [PATCH 3/4] python3-pygobject: upgrade 3.56.3 -> 3.58.0 Richard Purdie
2026-09-02 11:57 ` [PATCH 4/4] python3-uv-build: upgrade 0.12.6 -> 0.12.7 Richard Purdie
2 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2026-09-02 11:57 UTC (permalink / raw)
To: openembedded-core
Features:
- Add --report=PATH to write a machine-readable JSON report of built artifacts; --metadata
now also accepts .whl files - by @gaborbernat (#198)
- The srcdir argument now accepts .tar.gz source distributions, extracting and building from
them - by @gaborbernat (#311)
- The “Unmet dependencies” error from --no-isolation builds now shows the wanted version,
found version, and interpreter - by @gaborbernat (#504)
- Add --sdist-extract-dir to extract the intermediate sdist into a persistent directory,
enabling compiler cache reuse across rebuilds - by @gaborbernat (#614)
- Add --env-dir to place the isolated build environment at a fixed path, enabling compiler
cache reuse across builds - by @gaborbernat (#655)
- Print a summary of resolved dependency versions (name==version) after installing them in
isolated builds - by @gaborbernat (#959)
- On build failure, print a tip pointing to --env-dir and --sdist-extract-dir for debugging and
link to the “Debug a failed build” how-to - reported by @dimpase, implemented by @gaborbernat (#966)
Bugfixes:
- Drain verbose subprocess output inline instead of using a ThreadPoolExecutor, which silently
swallowed logging errors - by @henryiii (#1098)
- Reject a file passed as --env-dir with a clear error instead of a raw FileExistsError - by @henryiii (#1100)
- Emit CLI warnings to stderr instead of stdout, so they no longer corrupt --metadata
JSON output on stdout - by @ymyzk (#1111)
- Fix the Windows symlink support probe always returning False due to a stale object
interpolated into the destination path - by @henryiii (#1118)
- Fix metadata_path’s build-backend fallback returning a nonexistent dist-info path for wheels
with a build tag - by @henryiii (#1119)
- Write pip/uv requirements and constraints files with \n instead of os.linesep, avoiding doubled
\r\r\n line endings on Windows - by @henryiii (#1120)
- Batch of small robustness fixes: correct macOS release parsing for the minimum pip version, avoid
sharing the mutable default build-system table between builders, keep the original error when
isolated-environment setup fails early, and raise BuildException for an invalid wheel - by @henryiii (#1121)
- Decide color support independently for stdout and stderr instead of only checking stdout.isatty(),
so redirecting one stream no longer disables or leaks ANSI colors on the other - by @henryiii (#1123)
- Pass --dependency-constraints-txt files through to the installer unmodified instead of re-parsing them
into a deduplicated set of lines, fixing a case where a hashed requirement (e.g. from pip-compile
--generate-hashes) could have its --hash continuation line separated from its requirement line and
silently dropped, depending on the interpreter’s hash seed - by @manfred-kaiser (#1140)
Removals:
- Remove exc_info parameter and attribute from BuildBackendException. - by @layday (#1161)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
.../python3-build/check-valid-dist.patch | 18 ++++++++++++------
...3-build_1.5.1.bb => python3-build_1.6.0.bb} | 2 +-
2 files changed, 13 insertions(+), 7 deletions(-)
rename meta/recipes-devtools/python/{python3-build_1.5.1.bb => python3-build_1.6.0.bb} (87%)
diff --git a/meta/recipes-devtools/python/python3-build/check-valid-dist.patch b/meta/recipes-devtools/python/python3-build/check-valid-dist.patch
index dd6f256e266..82c31a49a4e 100644
--- a/meta/recipes-devtools/python/python3-build/check-valid-dist.patch
+++ b/meta/recipes-devtools/python/python3-build/check-valid-dist.patch
@@ -1,4 +1,7 @@
-Ignore invalid distributions when checking dependencies
+From a2a217409e01e3ebea88dce85d81dbe6b3c79187 Mon Sep 17 00:00:00 2001
+From: Ross Burton <ross.burton@arm.com>
+Date: Wed, 12 Aug 2026 12:35:29 +0100
+Subject: [PATCH] Ignore invalid distributions when checking dependencies
If there's an empty directory foo-1.2.dist-info/ on the search path then
importlib will return that as a distribution called "foo".
@@ -12,12 +15,15 @@ the dist-info directory is empties but remains in the sysroot.
Upstream-Status: Submitted [https://github.com/pypa/build/pull/1145]
Signed-off-by: Ross Burton <ross.burton@arm.com>
+---
+ src/build/_util.py | 5 +++++
+ 1 file changed, 5 insertions(+)
-diff --git i/src/build/_util.py w/src/build/_util.py
-index c365003..ba047c7 100644
---- i/src/build/_util.py
-+++ w/src/build/_util.py
-@@ -67,6 +67,11 @@ def _check_dependency(
+diff --git a/src/build/_util.py b/src/build/_util.py
+index cce8f94..54bc02c 100644
+--- a/src/build/_util.py
++++ b/src/build/_util.py
+@@ -63,6 +63,11 @@ def _check_dependency(
yield (*ancestral_req_strings, normalised_req_string)
return
diff --git a/meta/recipes-devtools/python/python3-build_1.5.1.bb b/meta/recipes-devtools/python/python3-build_1.6.0.bb
similarity index 87%
rename from meta/recipes-devtools/python/python3-build_1.5.1.bb
rename to meta/recipes-devtools/python/python3-build_1.6.0.bb
index d572ca846fc..acec9cd9efd 100644
--- a/meta/recipes-devtools/python/python3-build_1.5.1.bb
+++ b/meta/recipes-devtools/python/python3-build_1.6.0.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=310439af287b0fb4780b2ad6907c256c"
SRC_URI += "file://check-valid-dist.patch"
-SRC_URI[sha256sum] = "94e17f1db803ab22f46049376c44c8437c52090f0dfdf1adc43df56542d644fb"
+SRC_URI[sha256sum] = "bd2c8afc603e7a2e0ce70e2ea85f0a6d02043bafbd307f5bada0f98669eca5af"
inherit pypi python_flit_core
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH 4/4] python3-uv-build: upgrade 0.12.6 -> 0.12.7
2026-09-02 11:57 [PATCH 1/4] debianutils: upgrade 5.23.2 -> 5.24 Richard Purdie
2026-09-02 11:57 ` [PATCH 2/4] python3-build: upgrade 1.5.1 -> 1.6.0 Richard Purdie
2026-09-02 11:57 ` [PATCH 3/4] python3-pygobject: upgrade 3.56.3 -> 3.58.0 Richard Purdie
@ 2026-09-02 11:57 ` Richard Purdie
2 siblings, 0 replies; 5+ messages in thread
From: Richard Purdie @ 2026-09-02 11:57 UTC (permalink / raw)
To: openembedded-core
Python:
Replace managed Python installations when upgrading to a newer build of the same version (#21323)
Enhancements:
Support Linux s390x, ppc64le, and loongarch64 targets for cross-platform dependency resolution (#21313)
Retry downloads with configured credentials when Azure Storage denies anonymous access to an endpoint configured via UV_AZURE_ENDPOINT_URL (#21318)
Preview features:
Use content-based directory hashes to deduplicate extracted wheels in the cache with the content-addressed-cache preview feature (#19693)
Bug fixes:
Reject source archives with hash mismatches before persisting their extracted contents to the cache (#21248)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
.../python/python3-uv-build-crates.inc | 20 +++++++++----------
...d_0.12.6.bb => python3-uv-build_0.12.7.bb} | 2 +-
2 files changed, 11 insertions(+), 11 deletions(-)
rename meta/recipes-devtools/python/{python3-uv-build_0.12.6.bb => python3-uv-build_0.12.7.bb} (92%)
diff --git a/meta/recipes-devtools/python/python3-uv-build-crates.inc b/meta/recipes-devtools/python/python3-uv-build-crates.inc
index 8d76d041f3d..f6323e878fa 100644
--- a/meta/recipes-devtools/python/python3-uv-build-crates.inc
+++ b/meta/recipes-devtools/python/python3-uv-build-crates.inc
@@ -12,7 +12,7 @@ SRC_URI += " \
crate://crates.io/anstyle-query/1.1.5 \
crate://crates.io/anstyle-wincon/3.0.11 \
crate://crates.io/anyhow/1.0.104 \
- crate://crates.io/archive-trait/0.0.13 \
+ crate://crates.io/archive-trait/0.0.14 \
crate://crates.io/arcstr/1.2.0 \
crate://crates.io/arrayvec/0.7.8 \
crate://crates.io/astral-tokio-tar/0.6.4 \
@@ -32,8 +32,8 @@ SRC_URI += " \
crate://crates.io/bytecheck/0.8.2 \
crate://crates.io/bytecheck_derive/0.8.2 \
crate://crates.io/bytes/1.12.1 \
- crate://crates.io/cap-primitives/4.0.2 \
- crate://crates.io/cap-std/4.0.2 \
+ crate://crates.io/cap-primitives/4.0.3 \
+ crate://crates.io/cap-std/4.0.3 \
crate://crates.io/cc/1.2.57 \
crate://crates.io/cfg-if/1.0.4 \
crate://crates.io/charset/0.1.5 \
@@ -214,8 +214,8 @@ SRC_URI += " \
crate://crates.io/syn/2.0.118 \
crate://crates.io/syn/3.0.3 \
crate://crates.io/synstructure/0.13.2 \
- crate://crates.io/tar-codec/0.0.13 \
- crate://crates.io/tar-framing/0.0.13 \
+ crate://crates.io/tar-codec/0.0.14 \
+ crate://crates.io/tar-framing/0.0.14 \
crate://crates.io/temp-env/0.3.6 \
crate://crates.io/tempfile/3.27.0 \
crate://crates.io/terminal_size/0.4.4 \
@@ -324,7 +324,7 @@ SRC_URI[anstyle-parse-1.0.0.sha256sum] = "52ce7f38b242319f7cabaa6813055467063ecd
SRC_URI[anstyle-query-1.1.5.sha256sum] = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
SRC_URI[anstyle-wincon-3.0.11.sha256sum] = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
SRC_URI[anyhow-1.0.104.sha256sum] = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470"
-SRC_URI[archive-trait-0.0.13.sha256sum] = "dc23b595ad4092163eaf9c0c7532dd5b6d82274c21560c97dc03fa4e4f09e645"
+SRC_URI[archive-trait-0.0.14.sha256sum] = "c6080ea14ccf9019d7ce572c319e581c20a805c9bdc6dbfb9b988da003cbd1a3"
SRC_URI[arcstr-1.2.0.sha256sum] = "03918c3dbd7701a85c6b9887732e2921175f26c350b4563841d0958c21d57e6d"
SRC_URI[arrayvec-0.7.8.sha256sum] = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56"
SRC_URI[astral-tokio-tar-0.6.4.sha256sum] = "b18457efd137254e016bbde5e1d88df61c4e1a5ae2223746e56123bac6af2463"
@@ -344,8 +344,8 @@ SRC_URI[bumpalo-3.20.2.sha256sum] = "5d20789868f4b01b2f2caec9f5c4e0213b41e3e5702
SRC_URI[bytecheck-0.8.2.sha256sum] = "0caa33a2c0edca0419d15ac723dff03f1956f7978329b1e3b5fdaaaed9d3ca8b"
SRC_URI[bytecheck_derive-0.8.2.sha256sum] = "89385e82b5d1821d2219e0b095efa2cc1f246cbf99080f3be46a1a85c0d392d9"
SRC_URI[bytes-1.12.1.sha256sum] = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04"
-SRC_URI[cap-primitives-4.0.2.sha256sum] = "cdadbd7c002d3a484b35243669abdae85a0ebaded5a61117169dc3400f9a7ff0"
-SRC_URI[cap-std-4.0.2.sha256sum] = "7281235d6e96d3544ca18bba9049be92f4190f8d923e3caef1b5f66cfa752608"
+SRC_URI[cap-primitives-4.0.3.sha256sum] = "8b5f74729fd2f44701d1a8eb47e906cdb3ccd9ec0f02baad85a744b791940b18"
+SRC_URI[cap-std-4.0.3.sha256sum] = "c1ec78e242cfa2cfe276807ac2ecc00315a6c97786977414bcd1c3963b6c91b8"
SRC_URI[cc-1.2.57.sha256sum] = "7a0dd1ca384932ff3641c8718a02769f1698e7563dc6974ffd03346116310423"
SRC_URI[cfg-if-1.0.4.sha256sum] = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
SRC_URI[charset-0.1.5.sha256sum] = "f1f927b07c74ba84c7e5fe4db2baeb3e996ab2688992e39ac68ce3220a677c7e"
@@ -526,8 +526,8 @@ SRC_URI[strsim-0.11.1.sha256sum] = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70
SRC_URI[syn-2.0.118.sha256sum] = "1b9ae57f904213ebb649ce6895b8a66c66f0203b9319718f69a5612a065b1422"
SRC_URI[syn-3.0.3.sha256sum] = "53e9bae58849f64dfa4f5d5ae372c8341f7305f82a3868709269343628b659a3"
SRC_URI[synstructure-0.13.2.sha256sum] = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2"
-SRC_URI[tar-codec-0.0.13.sha256sum] = "f718b1f470b8ff575d12c85c33bdc8b33743009669c7a5e1923b6583235a2258"
-SRC_URI[tar-framing-0.0.13.sha256sum] = "5aca504a58616b04eb381819c4ddfdf87b6d35f6699090e68d8b40954fb42da7"
+SRC_URI[tar-codec-0.0.14.sha256sum] = "7ea42eb144d30fcbf32c26dfea8959175bb8335bfb7b18d20c6ed32edecf0551"
+SRC_URI[tar-framing-0.0.14.sha256sum] = "783223a7a6590be4227cb821e7ce80372575511f67c824921aba0752d8ad5573"
SRC_URI[temp-env-0.3.6.sha256sum] = "96374855068f47402c3121c6eed88d29cb1de8f3ab27090e273e420bdabcf050"
SRC_URI[tempfile-3.27.0.sha256sum] = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd"
SRC_URI[terminal_size-0.4.4.sha256sum] = "230a1b821ccbd75b185820a1f1ff7b14d21da1e442e22c0863ea5f08771a8874"
diff --git a/meta/recipes-devtools/python/python3-uv-build_0.12.6.bb b/meta/recipes-devtools/python/python3-uv-build_0.12.7.bb
similarity index 92%
rename from meta/recipes-devtools/python/python3-uv-build_0.12.6.bb
rename to meta/recipes-devtools/python/python3-uv-build_0.12.7.bb
index de84e8d5ad0..00dcbc1ad14 100644
--- a/meta/recipes-devtools/python/python3-uv-build_0.12.6.bb
+++ b/meta/recipes-devtools/python/python3-uv-build_0.12.7.bb
@@ -11,7 +11,7 @@ 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[sha256sum] = "4756f1771d342ff8ff50b529ae23c58d58f14f097c243ca50d3778d0a23d24f0"
+SRC_URI[sha256sum] = "e04fe07cc9b6207a41e4971e04d85100edcd1be7fd9a6c889692f5092a9bd7cf"
require ${BPN}-crates.inc
^ permalink raw reply related [flat|nested] 5+ messages in thread