| Message ID | 20260902115751.2762897-2-richard.purdie@linuxfoundation.org |
|---|---|
| State | New |
| Headers | show |
| Series | [1/4] debianutils: upgrade 5.23.2 -> 5.24 | expand |
Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information: --- Testing patch /home/patchtest/share/mboxes/2-4-python3-build-upgrade-1.5.1---1.6.0.patch FAIL: test commit message user tags: Mbox includes one or more GitHub-style username tags. Ensure that any "@" symbols are stripped out of usernames (test_mbox.TestMbox.test_commit_message_user_tags) PASS: pretest src uri left files (test_metadata.TestMetadata.pretest_src_uri_left_files) PASS: test CVE check ignore (test_metadata.TestMetadata.test_cve_check_ignore) PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence) PASS: test auh changelog truncation notice (test_mbox.TestMbox.test_auh_changelog_truncation_notice) PASS: test author valid (test_mbox.TestMbox.test_author_valid) PASS: test commit message presence (test_mbox.TestMbox.test_commit_message_presence) PASS: test lic files chksum modified not mentioned (test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned) PASS: test max line length (test_metadata.TestMetadata.test_max_line_length) PASS: test mbox format (test_mbox.TestMbox.test_mbox_format) PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade) PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format) PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length) PASS: test src uri left files (test_metadata.TestMetadata.test_src_uri_left_files) PASS: test target mailing list (test_mbox.TestMbox.test_target_mailing_list) SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint) SKIP: test CVE tag format: No new source patches introduced (test_patch.TestPatch.test_cve_tag_format) SKIP: test Signed-off-by presence: No new source patches introduced (test_patch.TestPatch.test_signed_off_by_presence) SKIP: test Upstream-Status presence: No new source patches introduced (test_patch.TestPatch.test_upstream_status_presence_format) SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format) SKIP: test lic files chksum presence: No added recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_presence) SKIP: test license presence: No added recipes, skipping test (test_metadata.TestMetadata.test_license_presence) SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint) SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head) SKIP: test summary presence: No added recipes, skipping test (test_metadata.TestMetadata.test_summary_presence) --- Please address the issues identified and submit a new revision of the patch, or alternatively, reply to this email with an explanation of why the patch should be accepted. If you believe these results are due to an error in patchtest, please submit a bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category under 'Yocto Project Subprojects'). For more information on specific failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank you!
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
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%)