pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-pip
Module Name: pkgsrc
Committed By: adam
Date: Wed Nov 4 14:03:24 UTC 2026
Modified Files:
pkgsrc/devel/py-pip: Makefile PLIST distinfo
pkgsrc/devel/py-pip/patches:
patch-src_pip___internal_operations_install_wheel.py
Log Message:
py-pip: updated to 26.3
26.3 (2026-11-02)
Improved Documentation
- Clarify in the security policy that pip has never considered installing
untrusted wheels safe. This is because Python's import system is dynamic, so
pip cannot guarantee that installing a wheel will not execute third-party code.
Deprecations and Removals
- Block unexpected imports during installation, warn about unsafe imports
afterward, and improve recovery from interrupted installations.
Features
- Show build backend warnings for local source directories and log them at debug level for other sources.
- Add support for selecting extras in pylock.toml files with ``-r pylock.toml[extra1,extra2]``.
- Allow ``--group`` to select non-default groups from local pylock files,
e.g. ``--group pylock.toml:docs``.
- Support ``--no-binary`` with ``-r pylock.toml``. Before, pip would get the
sdist from the index instead of the locked URL, or fail if no wheel were
available in the lock file.
- Speed up installing a wheel with console scripts by not resolving every ``PATH`` entry.
- Clarify the warning for ``~``-prefixed leftover distribution directories.
Bug Fixes
- Report build-backend import failures as pip errors instead of displaying an
uncaught traceback.
- No longer log the "pip is looking at multiple versions of a package" message until pip has looked at at least two versions of that package.
- Fix ``pip``'s self version check reporting an outdated version from the
environment instead of the running pip when run as a zipapp.
- Fix a fatal error when using the ``PIP_CONFIG_FILE`` environment variable with ``pip config set``.
- Avoid misleading error messages that include extra markers such as
``; extra == "..."`` when installing packages.
- When installing to a custom ``--prefix``, use the ``posix_prefix`` scheme
when running from a Debian patched Python distribution to avoid a superfluous
``/local/`` subdirectory.
- Refuse to follow an HTTP redirect to a ``file:`` URL.
- Prevent wheel cache origin mismatch warnings from exposing URL credentials.
- Report the incomplete-download error on Windows, not a ``PermissionError``.
- Fix the global configuration location on macOS in virtual environments created
from Homebrew Python.
- Reject extra arguments to ``pip config edit`` instead of silently ignoring them.
- Honor supplied hashes when using ``--no-require-hashes``.
- Fix wheel installation with data files when the installation prefix is a
filesystem root.
- Restore support for UTF-8 configuration files when Python's UTF-8 mode is enabled.
- Restore vendored Requests' PyOpenSSL fallback on non-Windows systems without
importing PyOpenSSL on Windows.
- Respect configured network settings while checking build constraint files.
- Apply PyPI's direct URL dependency restriction to extras and cached wheels.
- Fix a crash when installing or uninstalling a distribution with an invalid
entry point.
- Fail with a clearer error message on invalid configuration values.
- Keep ``--version`` available only for pip and prevent its use in subcommands.
Vendored Libraries
- Upgrade certifi to 2026.10.23
- Upgrade distlib to 0.4.4
- Upgrade idna to 3.20
- Upgrade msgpack to 1.2.4
- Upgrade packaging to 26.3
- Upgrade platformdirs to 4.12.4
- Upgrade pygments to 2.21.0
- Upgrade pyproject-hooks to 1.3.3
- Upgrade rich to 15.0.0
- Downgrade tomli to 2.3.2 to retain TOML 1.0 parsing on Python 3.10.
- Upgrade truststore to 0.10.5
- Upgrade urllib3 to 2.8.0
Process
- Allow pip itself to be built with flit-core 4.
To generate a diff of this commit:
cvs rdiff -u -r1.94 -r1.95 pkgsrc/devel/py-pip/Makefile
cvs rdiff -u -r1.55 -r1.56 pkgsrc/devel/py-pip/PLIST
cvs rdiff -u -r1.79 -r1.80 pkgsrc/devel/py-pip/distinfo
cvs rdiff -u -r1.3 -r1.4 \
pkgsrc/devel/py-pip/patches/patch-src_pip___internal_operations_install_wheel.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-pip/Makefile
diff -u pkgsrc/devel/py-pip/Makefile:1.94 pkgsrc/devel/py-pip/Makefile:1.95
--- pkgsrc/devel/py-pip/Makefile:1.94 Thu Oct 22 08:18:55 2026
+++ pkgsrc/devel/py-pip/Makefile Wed Nov 4 14:03:24 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.94 2026/10/22 08:18:55 adam Exp $
+# $NetBSD: Makefile,v 1.95 2026/11/04 14:03:24 adam Exp $
-DISTNAME= pip-26.2.2
+DISTNAME= pip-26.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pip/}
Index: pkgsrc/devel/py-pip/PLIST
diff -u pkgsrc/devel/py-pip/PLIST:1.55 pkgsrc/devel/py-pip/PLIST:1.56
--- pkgsrc/devel/py-pip/PLIST:1.55 Thu Oct 22 08:18:55 2026
+++ pkgsrc/devel/py-pip/PLIST Wed Nov 4 14:03:24 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.55 2026/10/22 08:18:55 adam Exp $
+@comment $NetBSD: PLIST,v 1.56 2026/11/04 14:03:24 adam Exp $
bin/pip-${PYVERSSUFFIX}
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -173,9 +173,30 @@ ${PYSITELIB}/pip/_internal/distributions
${PYSITELIB}/pip/_internal/distributions/wheel.py
${PYSITELIB}/pip/_internal/distributions/wheel.pyc
${PYSITELIB}/pip/_internal/distributions/wheel.pyo
-${PYSITELIB}/pip/_internal/exceptions.py
-${PYSITELIB}/pip/_internal/exceptions.pyc
-${PYSITELIB}/pip/_internal/exceptions.pyo
+${PYSITELIB}/pip/_internal/exceptions/__init__.py
+${PYSITELIB}/pip/_internal/exceptions/__init__.pyc
+${PYSITELIB}/pip/_internal/exceptions/__init__.pyo
+${PYSITELIB}/pip/_internal/exceptions/_base.py
+${PYSITELIB}/pip/_internal/exceptions/_base.pyc
+${PYSITELIB}/pip/_internal/exceptions/_base.pyo
+${PYSITELIB}/pip/_internal/exceptions/build.py
+${PYSITELIB}/pip/_internal/exceptions/build.pyc
+${PYSITELIB}/pip/_internal/exceptions/build.pyo
+${PYSITELIB}/pip/_internal/exceptions/hashes.py
+${PYSITELIB}/pip/_internal/exceptions/hashes.pyc
+${PYSITELIB}/pip/_internal/exceptions/hashes.pyo
+${PYSITELIB}/pip/_internal/exceptions/network.py
+${PYSITELIB}/pip/_internal/exceptions/network.pyc
+${PYSITELIB}/pip/_internal/exceptions/network.pyo
+${PYSITELIB}/pip/_internal/exceptions/pyproject.py
+${PYSITELIB}/pip/_internal/exceptions/pyproject.pyc
+${PYSITELIB}/pip/_internal/exceptions/pyproject.pyo
+${PYSITELIB}/pip/_internal/exceptions/uninstall.py
+${PYSITELIB}/pip/_internal/exceptions/uninstall.pyc
+${PYSITELIB}/pip/_internal/exceptions/uninstall.pyo
+${PYSITELIB}/pip/_internal/exceptions/wheel.py
+${PYSITELIB}/pip/_internal/exceptions/wheel.pyc
+${PYSITELIB}/pip/_internal/exceptions/wheel.pyo
${PYSITELIB}/pip/_internal/index/__init__.py
${PYSITELIB}/pip/_internal/index/__init__.pyc
${PYSITELIB}/pip/_internal/index/__init__.pyo
@@ -212,6 +233,9 @@ ${PYSITELIB}/pip/_internal/metadata/_jso
${PYSITELIB}/pip/_internal/metadata/base.py
${PYSITELIB}/pip/_internal/metadata/base.pyc
${PYSITELIB}/pip/_internal/metadata/base.pyo
+${PYSITELIB}/pip/_internal/metadata/direct_references.py
+${PYSITELIB}/pip/_internal/metadata/direct_references.pyc
+${PYSITELIB}/pip/_internal/metadata/direct_references.pyo
${PYSITELIB}/pip/_internal/metadata/importlib/__init__.py
${PYSITELIB}/pip/_internal/metadata/importlib/__init__.pyc
${PYSITELIB}/pip/_internal/metadata/importlib/__init__.pyo
@@ -651,6 +675,9 @@ ${PYSITELIB}/pip/_vendor/packaging/_musl
${PYSITELIB}/pip/_vendor/packaging/_parser.py
${PYSITELIB}/pip/_vendor/packaging/_parser.pyc
${PYSITELIB}/pip/_vendor/packaging/_parser.pyo
+${PYSITELIB}/pip/_vendor/packaging/_ranges.py
+${PYSITELIB}/pip/_vendor/packaging/_ranges.pyc
+${PYSITELIB}/pip/_vendor/packaging/_ranges.pyo
${PYSITELIB}/pip/_vendor/packaging/_structures.py
${PYSITELIB}/pip/_vendor/packaging/_structures.pyc
${PYSITELIB}/pip/_vendor/packaging/_structures.pyo
@@ -682,6 +709,9 @@ ${PYSITELIB}/pip/_vendor/packaging/py.ty
${PYSITELIB}/pip/_vendor/packaging/pylock.py
${PYSITELIB}/pip/_vendor/packaging/pylock.pyc
${PYSITELIB}/pip/_vendor/packaging/pylock.pyo
+${PYSITELIB}/pip/_vendor/packaging/ranges.py
+${PYSITELIB}/pip/_vendor/packaging/ranges.pyc
+${PYSITELIB}/pip/_vendor/packaging/ranges.pyo
${PYSITELIB}/pip/_vendor/packaging/requirements.py
${PYSITELIB}/pip/_vendor/packaging/requirements.pyc
${PYSITELIB}/pip/_vendor/packaging/requirements.pyo
@@ -717,10 +747,19 @@ ${PYSITELIB}/pip/_vendor/platformdirs/an
${PYSITELIB}/pip/_vendor/platformdirs/api.py
${PYSITELIB}/pip/_vendor/platformdirs/api.pyc
${PYSITELIB}/pip/_vendor/platformdirs/api.pyo
+${PYSITELIB}/pip/_vendor/platformdirs/ios.py
+${PYSITELIB}/pip/_vendor/platformdirs/ios.pyc
+${PYSITELIB}/pip/_vendor/platformdirs/ios.pyo
${PYSITELIB}/pip/_vendor/platformdirs/macos.py
${PYSITELIB}/pip/_vendor/platformdirs/macos.pyc
${PYSITELIB}/pip/_vendor/platformdirs/macos.pyo
${PYSITELIB}/pip/_vendor/platformdirs/py.typed
+${PYSITELIB}/pip/_vendor/platformdirs/pytest_plugin.py
+${PYSITELIB}/pip/_vendor/platformdirs/pytest_plugin.pyc
+${PYSITELIB}/pip/_vendor/platformdirs/pytest_plugin.pyo
+${PYSITELIB}/pip/_vendor/platformdirs/testing.py
+${PYSITELIB}/pip/_vendor/platformdirs/testing.pyc
+${PYSITELIB}/pip/_vendor/platformdirs/testing.pyo
${PYSITELIB}/pip/_vendor/platformdirs/unix.py
${PYSITELIB}/pip/_vendor/platformdirs/unix.pyc
${PYSITELIB}/pip/_vendor/platformdirs/unix.pyo
@@ -909,9 +948,6 @@ ${PYSITELIB}/pip/_vendor/rich/__init__.p
${PYSITELIB}/pip/_vendor/rich/__main__.py
${PYSITELIB}/pip/_vendor/rich/__main__.pyc
${PYSITELIB}/pip/_vendor/rich/__main__.pyo
-${PYSITELIB}/pip/_vendor/rich/_cell_widths.py
-${PYSITELIB}/pip/_vendor/rich/_cell_widths.pyc
-${PYSITELIB}/pip/_vendor/rich/_cell_widths.pyo
${PYSITELIB}/pip/_vendor/rich/_emoji_codes.py
${PYSITELIB}/pip/_vendor/rich/_emoji_codes.pyc
${PYSITELIB}/pip/_vendor/rich/_emoji_codes.pyo
@@ -957,6 +993,75 @@ ${PYSITELIB}/pip/_vendor/rich/_stack.pyo
${PYSITELIB}/pip/_vendor/rich/_timer.py
${PYSITELIB}/pip/_vendor/rich/_timer.pyc
${PYSITELIB}/pip/_vendor/rich/_timer.pyo
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/__init__.py
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/__init__.pyc
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/__init__.pyo
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/_versions.py
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/_versions.pyc
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/_versions.pyo
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode10-0-0.py
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode10-0-0.pyc
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode10-0-0.pyo
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode11-0-0.py
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode11-0-0.pyc
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode11-0-0.pyo
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode12-0-0.py
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode12-0-0.pyc
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode12-0-0.pyo
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode12-1-0.py
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode12-1-0.pyc
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode12-1-0.pyo
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode13-0-0.py
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode13-0-0.pyc
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode13-0-0.pyo
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode14-0-0.py
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode14-0-0.pyc
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode14-0-0.pyo
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode15-0-0.py
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode15-0-0.pyc
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode15-0-0.pyo
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode15-1-0.py
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode15-1-0.pyc
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode15-1-0.pyo
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode16-0-0.py
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode16-0-0.pyc
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode16-0-0.pyo
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode17-0-0.py
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode17-0-0.pyc
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode17-0-0.pyo
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode4-1-0.py
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode4-1-0.pyc
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode4-1-0.pyo
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode5-0-0.py
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode5-0-0.pyc
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode5-0-0.pyo
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode5-1-0.py
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode5-1-0.pyc
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode5-1-0.pyo
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode5-2-0.py
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode5-2-0.pyc
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode5-2-0.pyo
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode6-0-0.py
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode6-0-0.pyc
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode6-0-0.pyo
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode6-1-0.py
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode6-1-0.pyc
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode6-1-0.pyo
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode6-2-0.py
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode6-2-0.pyc
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode6-2-0.pyo
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode6-3-0.py
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode6-3-0.pyc
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode6-3-0.pyo
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode7-0-0.py
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode7-0-0.pyc
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode7-0-0.pyo
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode8-0-0.py
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode8-0-0.pyc
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode8-0-0.pyo
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode9-0-0.py
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode9-0-0.pyc
+${PYSITELIB}/pip/_vendor/rich/_unicode_data/unicode9-0-0.pyo
${PYSITELIB}/pip/_vendor/rich/_win32_console.py
${PYSITELIB}/pip/_vendor/rich/_win32_console.pyc
${PYSITELIB}/pip/_vendor/rich/_win32_console.pyo
Index: pkgsrc/devel/py-pip/distinfo
diff -u pkgsrc/devel/py-pip/distinfo:1.79 pkgsrc/devel/py-pip/distinfo:1.80
--- pkgsrc/devel/py-pip/distinfo:1.79 Thu Oct 22 08:18:55 2026
+++ pkgsrc/devel/py-pip/distinfo Wed Nov 4 14:03:24 2026
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.79 2026/10/22 08:18:55 adam Exp $
+$NetBSD: distinfo,v 1.80 2026/11/04 14:03:24 adam Exp $
-BLAKE2s (pip-26.2.2.tar.gz) = 374d7841fb29ff563a88e1f2f5ab8b348ff6ab1ec2a1a36df8bb96327b3796c9
-SHA512 (pip-26.2.2.tar.gz) = 82278769f49df3f1c0f60c8cceda25e879f0792cec91d55a252c697169688e0114628f2a18b7dcf266804c8645224fc42409b0d0f18625fa5d78d9603533bdcf
-Size (pip-26.2.2.tar.gz) = 1863336 bytes
+BLAKE2s (pip-26.3.tar.gz) = cb0b3443336242cd4f4de5c5950dd077573caf8ed33ebcb4c28fe56bf7fb11b5
+SHA512 (pip-26.3.tar.gz) = 0acc2d13845f5ad164db491d26c00b0f9f30e211ea2d735ccd3017b67e1daa2d7c42f75376fcc5a061f2d0591bdd7b484a9f08cd063e5ce471e76cea659ff566
+Size (pip-26.3.tar.gz) = 1934348 bytes
SHA1 (patch-src_pip___internal_build__env_virtual.py) = 237e2e409c8f3332bd5c77531865520fb086c521
SHA1 (patch-src_pip___internal_commands_install.py) = 2f78c5af7c677d052a2275488dcda2f7b86c6e51
-SHA1 (patch-src_pip___internal_operations_install_wheel.py) = 51b2802eae961b63c2d785fff190027516a9206e
+SHA1 (patch-src_pip___internal_operations_install_wheel.py) = cc9d808e6c4eae8976f8c28e217eeb75344706d7
SHA1 (patch-src_pip___internal_req_____init____.py) = 2bd5e0d18493b25bbd8dc533ffa3189e3e4038ba
SHA1 (patch-src_pip___internal_req_req__install.py) = 534c68eec2c75ea3dbd8fce89c458ba2109e8fc5
Index: pkgsrc/devel/py-pip/patches/patch-src_pip___internal_operations_install_wheel.py
diff -u pkgsrc/devel/py-pip/patches/patch-src_pip___internal_operations_install_wheel.py:1.3 pkgsrc/devel/py-pip/patches/patch-src_pip___internal_operations_install_wheel.py:1.4
--- pkgsrc/devel/py-pip/patches/patch-src_pip___internal_operations_install_wheel.py:1.3 Sat Aug 8 07:40:20 2026
+++ pkgsrc/devel/py-pip/patches/patch-src_pip___internal_operations_install_wheel.py Wed Nov 4 14:03:24 2026
@@ -1,12 +1,12 @@
-$NetBSD: patch-src_pip___internal_operations_install_wheel.py,v 1.3 2026/08/08 07:40:20 wiz Exp $
+$NetBSD: patch-src_pip___internal_operations_install_wheel.py,v 1.4 2026/11/04 14:03:24 adam Exp $
Allow pip install --executable=/path to set path in script #! lines.
https://github.com/pypa/pip/issues/12087
https://github.com/pypa/pip/pull/12088
---- src/pip/_internal/operations/install/wheel.py.orig 2026-08-04 22:28:08.000000000 +0000
+--- src/pip/_internal/operations/install/wheel.py.orig 2026-11-02 19:29:21.000000000 +0000
+++ src/pip/_internal/operations/install/wheel.py
-@@ -425,6 +425,10 @@ class PipScriptMaker(ScriptMaker):
+@@ -441,6 +441,10 @@ class PipScriptMaker(ScriptMaker):
sys.exit(%(func)s())
""")
@@ -17,7 +17,7 @@ https://github.com/pypa/pip/pull/12088
def make(
self, specification: str, options: dict[str, Any] | None = None
) -> list[str]:
-@@ -437,6 +441,7 @@ def _install_wheel( # noqa: C901, PLR0915 function is
+@@ -580,6 +584,7 @@ def _install_wheel( # noqa: C901, PLR09
wheel_zip: ZipFile,
wheel_path: str,
scheme: Scheme,
@@ -25,16 +25,16 @@ https://github.com/pypa/pip/pull/12088
pycompile: bool = True,
warn_script_location: bool = True,
direct_url: DirectUrl | None = None,
-@@ -640,7 +645,7 @@ def _install_wheel( # noqa: C901, PLR0915 function is
- record_installed(pyc_record_path, pyc_path)
+@@ -788,7 +793,7 @@ def _install_wheel( # noqa: C901, PLR09
logger.debug(stdout.getvalue())
-- maker = PipScriptMaker(None, scheme.scripts)
-+ maker = PipScriptMaker(executable, None, scheme.scripts)
+ # Track scripts even if generation fails before returning their paths.
+- maker = PipScriptMaker(None, scheme.scripts, fileop=record.script_fileop)
++ maker = PipScriptMaker(executable, scheme.scripts, fileop=record.script_fileop)
# Embed the target environment's interpreter in console-script launchers
# rather than the one running pip, so an in-process install into another
-@@ -743,6 +748,7 @@ def install_wheel(
+@@ -886,6 +891,7 @@ def install_wheel(
wheel_path: str,
scheme: Scheme,
req_description: str,
@@ -42,7 +42,7 @@ https://github.com/pypa/pip/pull/12088
pycompile: bool = True,
warn_script_location: bool = True,
direct_url: DirectUrl | None = None,
-@@ -756,6 +762,7 @@ def install_wheel(
+@@ -906,6 +912,7 @@ def install_wheel(
wheel_zip=z,
wheel_path=wheel_path,
scheme=scheme,
Home |
Main Index |
Thread Index |
Old Index