python3-installer: upgrade 0.7.0 -> 1.0.1
PATCH 1/1 python3-installer: upgrade 0.7.0 -> 1.0.1
v1.0.1 (May 11, 2026)
- Include docs and tests in sdist again (#322)
- Fix long path issue on Windows (#321)
- Fix date in changelog (#324)
- Use os.path.abspath() instead of Path.resolve() for performance (#326)
v1.0.0 (Mar 28, 2026)
- Drop support for Python 3.9, 3.8, and 3.7 (#305, #242, #206)
- Add support and Python 3.13 and 3.14 (#201, #282)
- Add --overwrite-existing CLI option (#216)
- Add --validate-record CLI option (#161)
- Support installing multiple wheels (#203)
- Handle invalid hash algorithms (#179)
- Stream-based validation instead of in-memory (#98)
- Add validate_stream methods (#99)
- Consolidate and refine validation APIs (#108, #111)
- Sort entries before writing RECORD (#245)
- Do not install __pycache__ from wheels (#307)
- Fix a path traversal bug (#317)
- Update launcher scripts and Windows behavior (#212, #181)
- Fix Windows relpath bug (#286)
- Migrate to dataclasses (#200)
- Use cached_property for memoization (#243)
- Refactor installer.scripts (#239)
- Decouple test modules (#104)
- Avoid cross-module imports from .utils (#102)
- Lazy imports for performance (#226)
- Complete type annotations and enforce strict mypy (#173)
- Deprecate RecordEntry.validate (#186)
- Fix documentation typos and grammar (#309, #210)
- Improve docstrings and internal documentation (#100)
Remove an upstreamed patch, and rewrite the patch adding an --interpreter option.
Verified that building everything in oe-core that uses the pep517 class is identical before and after the upgrade.
---
...ils.py-sort-entries-before-writing-o.patch | 27 ------
.../python3-installer/interpreter.patch | 85 ++++++++++---------
...er_0.7.0.bb => python3-installer_1.0.1.bb} | 5 +-
3 files changed, 45 insertions(+), 72 deletions(-)
delete mode 100644 meta/recipes-devtools/python/python3-installer/0001-src-installer-utils.py-sort-entries-before-writing-o.patch
rename meta/recipes-devtools/python/{python3-installer_0.7.0.bb => python3-installer_1.0.1.bb} (79%)meta/recipes-devtools/python/python3-installer/0001-src-installer-utils.py-sort-entries-before-writing-o.patch deleted +0 -27
@@ -1,27 +0,0 @@ -From 760ddf50ce559abd67bbdd31797267d00bcddfb3 Mon Sep 17 00:00:00 2001 -From: Alexander Kanavin <[email protected]> -Date: Tue, 1 Oct 2024 19:22:11 +0200 -Subject: [PATCH] src/installer/utils.py: sort entries before writing out - RECORD file - -This helps build reproducibility. - -Upstream-Status: Submitted [https://github.com/pypa/installer/pull/245] -Signed-off-by: Alexander Kanavin <[email protected]> ---- - src/installer/utils.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/installer/utils.py b/src/installer/utils.py -index 3e601d6..073297c 100644 ---- a/src/installer/utils.py -+++ b/src/installer/utils.py -@@ -207,7 +207,7 @@ def construct_record_file( - io.BytesIO(), encoding="utf-8", write_through=True, newline="" - ) - writer = csv.writer(stream, delimiter=",", quotechar='"', lineterminator="\n") -- for scheme, record in records: -+ for scheme, record in sorted(records, key=lambda x: x[1].path): - writer.writerow(record.to_row(prefix_for_scheme(scheme))) - stream.seek(0) - return stream.detach()
meta/recipes-devtools/python/python3-installer/interpreter.patch +43 -42
104 lines not on this page · raw message
meta/recipes-devtools/python/python3-installer_1.0.1.bb renamed from meta/recipes-devtools/python/python3-installer_0.7.0.bb +2 -3
@@ -6,10 +6,9 @@ BUGTRACKER = "https://github.com/pypa/installer/issues" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=5038641aec7a77451e31da828ebfae00" -SRC_URI += "file://interpreter.patch \ - file://0001-src-installer-utils.py-sort-entries-before-writing-o.patch" +SRC_URI += "file://interpreter.patch" -SRC_URI[sha256sum] = "a26d3e3116289bb08216e0d0f7d925fcef0b0194eedfa0c944bcaaa106c4b631" +SRC_URI[sha256sum] = "052c7fc3721d54c696e2dea019be67539d7b144e924f559f54beb3121831c364" inherit pypi python_flit_core
Signature · 1 line
2.43.0