diff mbox series

[AUH] python3-packaging: upgrading to 26.4 SUCCEEDED

Message ID 010101a20c40fc65-90af38cb-cb53-4982-b52f-a498d1742d67-000000@us-west-2.amazonses.com
State New
Headers show
Series [AUH] python3-packaging: upgrading to 26.4 SUCCEEDED | expand

Commit Message

auh@yoctoproject.org Nov. 24, 2026, 6:31 a.m. UTC
Hello,

this email is a notification from the Auto Upgrade Helper
that the automatic attempt to upgrade the recipe(s) *python3-packaging* to *26.4* has Succeeded.

Next steps:
    - apply the patch: git am 0001-python3-packaging-upgrade-26.3-26.4.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 1023f91758a1d0d1343ba67c82d4120e4a6274f5 Mon Sep 17 00:00:00 2001
From: Upgrade Helper <auh@yoctoproject.org>
Date: Tue, 24 Nov 2026 05:55:09 +0000
Subject: [PATCH] python3-packaging: upgrade 26.3 -> 26.4

26.4 - 2026-11-23
~~~~~~~~~~~~~~~~~

Removals:
Features:
Behavior adaptations:
Fixes for versions and specifiers:
Fixes for requirements and markers:
Fixes for metadata and licenses:
Fixes for tags and filenames:
Fixes for pylock and dependency groups:
Performance:
Documentation:
Benchmarks:
Internal:
---
 .../python3-packaging/reliable-test.patch     | 79 -------------------
 ...ging_26.3.bb => python3-packaging_26.4.bb} |  5 +-
 2 files changed, 2 insertions(+), 82 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python3-packaging/reliable-test.patch
 rename meta/recipes-devtools/python/{python3-packaging_26.3.bb => python3-packaging_26.4.bb} (87%)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-packaging/reliable-test.patch b/meta/recipes-devtools/python/python3-packaging/reliable-test.patch
deleted file mode 100644
index f830917f97..0000000000
--- a/meta/recipes-devtools/python/python3-packaging/reliable-test.patch
+++ /dev/null
@@ -1,79 +0,0 @@ 
-From ef837aad3127167671eb37b9f6bd8a94ec7ce26e Mon Sep 17 00:00:00 2001
-From: Louis Deconinck <louis.dck@gmail.com>
-Date: Tue, 13 Oct 2026 21:17:05 +0200
-Subject: [PATCH] test: avoid filtering compatible release examples (#1407)
-
-Assisted-by: Codex
-
-Signed-off-by: Louis Deconinck <louis.dck@gmail.com>
-
-Upstream-Status: Backport [https://github.com/pypa/packaging/pull/1407]
-Signed-off-by: Ross Burton <ross.burton@arm.com>
----
- tests/property/strategies.py              | 13 ++++++++++++-
- tests/property/test_specifier_matching.py |  7 ++++---
- 2 files changed, 16 insertions(+), 4 deletions(-)
-
-diff --git a/tests/property/strategies.py b/tests/property/strategies.py
-index 4ce828b76..b42b6dcb4 100644
---- a/tests/property/strategies.py
-+++ b/tests/property/strategies.py
-@@ -85,9 +85,11 @@ def pep440_versions(
-     *,
-     include_local: bool = True,
-     min_segments: int = 1,
-+    epoch: int | None = None,
- ) -> Version:
-     """Generate a random PEP 440 version."""
--    epoch = draw(st.sampled_from([None, 0, 1, 2, 3]))
-+    if epoch is None:
-+        epoch = draw(st.sampled_from([None, 0, 1, 2, 3]))
-     num_segments = draw(st.integers(min_value=min_segments, max_value=4))
-     release = tuple(draw(small_ints) for _ in range(num_segments))
- 
-@@ -153,6 +155,15 @@ def multi_segment_versions(draw: st.DrawFn) -> Version:
-     return v
- 
- 
-+@st.composite
-+def compatible_release_version_pairs(draw: st.DrawFn) -> tuple[Version, Version]:
-+    """Generate compatible-release examples whose versions share an epoch."""
-+    epoch = draw(st.integers(min_value=0, max_value=3))
-+    spec_ver = draw(pep440_versions(include_local=False, min_segments=2, epoch=epoch))
-+    candidate = draw(pep440_versions(epoch=epoch))
-+    return spec_ver, candidate
-+
-+
- @st.composite
- def versions_with_local(draw: st.DrawFn) -> Version:
-     """Generate a PEP 440 version that always has a local segment."""
-diff --git a/tests/property/test_specifier_matching.py b/tests/property/test_specifier_matching.py
-index 4552ce8ce..d85eadaa7 100644
---- a/tests/property/test_specifier_matching.py
-+++ b/tests/property/test_specifier_matching.py
-@@ -12,6 +12,7 @@
- from packaging.version import Version
- from tests.property.strategies import (
-     SETTINGS,
-+    compatible_release_version_pairs,
-     multi_segment_versions,
-     nonlocal_versions,
-     ops,
-@@ -198,14 +199,14 @@ class TestCompatibleReleaseDefinition:
-     and a version identifier. It matches any candidate version that is expected
-     to be compatible with the specified version."""
- 
--    @given(spec_ver=multi_segment_versions(), candidate=pep440_versions())
-+    @given(versions=compatible_release_version_pairs())
-     @SETTINGS
-     def test_compatible_release_matches_expected_compatible(
--        self, spec_ver: Version, candidate: Version
-+        self, versions: tuple[Version, Version]
-     ) -> None:
-         """~=V matches candidate iff candidate >= V and candidate matches the
-         prefix wildcard derived from V."""
--        assume(spec_ver.epoch == candidate.epoch)
-+        spec_ver, candidate = versions
-         spec = Specifier(f"~={spec_ver}")
-         result = candidate in spec
-         # Also check via the expanded form
diff --git a/meta/recipes-devtools/python/python3-packaging_26.3.bb b/meta/recipes-devtools/python/python3-packaging_26.4.bb
similarity index 87%
rename from meta/recipes-devtools/python/python3-packaging_26.3.bb
rename to meta/recipes-devtools/python/python3-packaging_26.4.bb
index 628d8d7aa1..1cf3f1563b 100644
--- a/meta/recipes-devtools/python/python3-packaging_26.3.bb
+++ b/meta/recipes-devtools/python/python3-packaging_26.4.bb
@@ -3,10 +3,9 @@  HOMEPAGE = "https://github.com/pypa/packaging"
 LICENSE = "Apache-2.0 OR BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=faadaedca9251a90b205c9167578ce91"
 
-SRC_URI[sha256sum] = "94edc256424af38762eb31306eed28beb9f0efc50a8837492c9d6fd6004aed79"
+SRC_URI[sha256sum] = "c4b671c41ddb9bf26e543c37723610d28fb6bf7affc4da17cf048d419d2c062a"
 
-SRC_URI += "file://run-ptest.in \
-            file://reliable-test.patch"
+SRC_URI += "file://run-ptest.in"
 
 inherit pypi python_flit_core ptest