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 <[email protected]>
---
.../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 <[email protected]>
+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 <[email protected]>
+---
+ 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
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#244934):
https://lists.openembedded.org/g/openembedded-core/message/244934
Mute This Topic: https://lists.openembedded.org/mt/121049629/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-