pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/misc/py-installer
Module Name: pkgsrc
Committed By: wiz
Date: Sun Mar 29 17:21:35 UTC 2026
Modified Files:
pkgsrc/misc/py-installer: Makefile distinfo
pkgsrc/misc/py-installer/patches: patch-src_installer_____main____.py
Removed Files:
pkgsrc/misc/py-installer/patches: patch-tests_test__main.py
Log Message:
py-installer: update to 1.0.0nb3.
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)
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/misc/py-installer/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/misc/py-installer/distinfo
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/misc/py-installer/patches/patch-src_installer_____main____.py
cvs rdiff -u -r1.1 -r0 \
pkgsrc/misc/py-installer/patches/patch-tests_test__main.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/misc/py-installer/Makefile
diff -u pkgsrc/misc/py-installer/Makefile:1.5 pkgsrc/misc/py-installer/Makefile:1.6
--- pkgsrc/misc/py-installer/Makefile:1.5 Sun Feb 23 17:31:02 2025
+++ pkgsrc/misc/py-installer/Makefile Sun Mar 29 17:21:34 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2025/02/23 17:31:02 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2026/03/29 17:21:34 wiz Exp $
-DISTNAME= installer-0.7.0
+DISTNAME= installer-1.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 3
CATEGORIES= misc python
MASTER_SITES= ${MASTER_SITE_PYPI:=i/installer/}
@@ -17,8 +16,6 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist
USE_LANGUAGES= # none
-PYTHON_VERSIONS_INCOMPATIBLE= 27
-
INSTALL_ENV+= PYTHONPATH=${WRKSRC}/src
TEST_ENV+= PYTHONPATH=${WRKSRC}/src
Index: pkgsrc/misc/py-installer/distinfo
diff -u pkgsrc/misc/py-installer/distinfo:1.2 pkgsrc/misc/py-installer/distinfo:1.3
--- pkgsrc/misc/py-installer/distinfo:1.2 Thu Jan 23 19:31:09 2025
+++ pkgsrc/misc/py-installer/distinfo Sun Mar 29 17:21:34 2026
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.2 2025/01/23 19:31:09 riastradh Exp $
+$NetBSD: distinfo,v 1.3 2026/03/29 17:21:34 wiz Exp $
-BLAKE2s (installer-0.7.0.tar.gz) = 4187ebf5520c582b10d1c434bb3e41ef5eaf9a1c279740a6fc8f5c71f8b6944d
-SHA512 (installer-0.7.0.tar.gz) = e89c2d28ca73d9c4291d645dda675fdcfcaba2e4f8765b9fa4a2f211e27711510f3d171b96a6b024c11808ba7f06b7b560a7cb31fafba815bd5c7396f26789f7
-Size (installer-0.7.0.tar.gz) = 474349 bytes
-SHA1 (patch-src_installer_____main____.py) = b8660b711da4706eb0bfe2205b9a27492285ef69
-SHA1 (patch-tests_test__main.py) = 7128de09ad9d3cdab2969579892ca138332859ed
+BLAKE2s (installer-1.0.0.tar.gz) = ca2bf2b1c8b8d8b25fbcc7514fbe76d821649fe8e668b000446048f80b9e5c17
+SHA512 (installer-1.0.0.tar.gz) = 0d869af7ecbf7fb20e24fa9a3b63b808fab12fd2bd495113fe47d0cd9efc51c2a3bccb463dba8f54bc89ebcc65756f108db02f1382d047ad76cc59d2459ce4ca
+Size (installer-1.0.0.tar.gz) = 462685 bytes
+SHA1 (patch-src_installer_____main____.py) = 199b5c03e6d7c649b11cd711d051bf92ed5a7ca8
Index: pkgsrc/misc/py-installer/patches/patch-src_installer_____main____.py
diff -u pkgsrc/misc/py-installer/patches/patch-src_installer_____main____.py:1.1 pkgsrc/misc/py-installer/patches/patch-src_installer_____main____.py:1.2
--- pkgsrc/misc/py-installer/patches/patch-src_installer_____main____.py:1.1 Thu Jan 23 19:31:09 2025
+++ pkgsrc/misc/py-installer/patches/patch-src_installer_____main____.py Sun Mar 29 17:21:35 2026
@@ -1,12 +1,18 @@
-$NetBSD: patch-src_installer_____main____.py,v 1.1 2025/01/23 19:31:09 riastradh Exp $
+$NetBSD: patch-src_installer_____main____.py,v 1.2 2026/03/29 17:21:35 wiz Exp $
Add `--executable' option.
https://github.com/pypa/installer/issues/257
https://github.com/pypa/installer/pull/258
---- src/installer/__main__.py.orig 2022-12-07 02:28:06.839389000 +0000
+applied and then reverted:
+https://github.com/pypa/installer/pull/263
+
+see some discussion in
+https://github.com/pypa/installer/issues/107
+
+--- src/installer/__main__.py.orig 2026-03-28 15:38:56.048486000 +0000
+++ src/installer/__main__.py
-@@ -31,6 +31,13 @@ def _get_main_parser() -> argparse.Argum
+@@ -31,6 +31,13 @@ def _get_main_parser() -> argparse.ArgumentParser:
help="override prefix to install packages to",
)
parser.add_argument(
@@ -20,12 +26,12 @@ https://github.com/pypa/installer/pull/2
"--compile-bytecode",
action="append",
metavar="level",
-@@ -86,7 +93,7 @@ def _main(cli_args: Sequence[str], progr
- with WheelFile.open(args.wheel) as source:
- destination = SchemeDictionaryDestination(
- scheme_dict=_get_scheme_dict(source.distribution, prefix=args.prefix),
-- interpreter=sys.executable,
-+ interpreter=args.executable,
- script_kind=get_launcher_kind(),
- bytecode_optimization_levels=bytecode_levels,
- destdir=args.destdir,
+@@ -102,7 +109,7 @@ def _main(cli_args: Sequence[str], program: str | None
+ source.validate_record(validate_contents=args.validate_record == "all")
+ destination = SchemeDictionaryDestination(
+ scheme_dict=_get_scheme_dict(source.distribution, prefix=args.prefix),
+- interpreter=sys.executable,
++ interpreter=args.executable,
+ script_kind=get_launcher_kind(),
+ bytecode_optimization_levels=bytecode_levels,
+ destdir=args.destdir,
Home |
Main Index |
Thread Index |
Old Index