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: Sat Aug 2 17:24:33 UTC 2025
Modified Files:
pkgsrc/devel/py-pip: Makefile PLIST distinfo
pkgsrc/devel/py-pip/patches: patch-src_pip___internal_build__env.py
patch-src_pip___internal_operations_install_wheel.py
patch-src_pip___internal_req_____init____.py
patch-src_pip___internal_req_req__install.py
Log Message:
py-pip: updated to 25.2
25.2 (2025-07-30)
Features
- Declare support for Python 3.14
- Automatic download resumption and retrying is enabled by default.
- Requires-Python error message displays version clauses in numerical order.
- Minor performance improvement getting the order to install a very large number of interdependent packages.
- Show time taken instead of ``eta 0:00:00`` at download completion.
- Speed up small CLI tools by removing ``import re`` from the console
script executable template.
- Remove warning when cloning from a Git reference that does not look like a commit hash.
Bug Fixes
- ``pip config debug`` now correctly separates options as set by the different files
at the same level.
- Ensure truststore feature remains active even when a proxy is also in use.
- Include sub-commands in tab completion.
- ``pip list`` with the ``json`` or ``freeze`` format enabled will no longer
crash when encountering a package with an invalid version.
- Provide a hint if a system error is raised involving long filenames or path segments on Windows.
- Resumed downloads are saved to the HTTP cache like any other normal download.
- Configured verbosity is consistently forwarded while calling Git during
VCS operations.
- Suppress the progress bar, when running with ``--log`` and ``--quiet``.
Consequently, a new ``auto`` mode for ``--progress-bar`` has been added.
``auto`` will enable progress bars unless suppressed by ``--quiet``,
while ``on`` will always enable progress bars.
- Fix normalization of local URLs with non-``file`` schemes.
- Fix normalization of local file URLs on Windows in newer Python versions.
- Fix remaining test failures in Python 3.14 by adjusting ``path_to_url`` and similar functions.
- Fix missing ``network`` test markings, making the suite pass in offline
environments again.
Vendored Libraries
- Upgrade CacheControl to 0.14.3
- Upgrade certifi to 2025.7.14
- Upgrade distlib to 0.4.0
- Upgrade msgpack to 1.1.1
- Upgrade platformdirs to 4.3.8
- Upgrade pygments to 2.19.2
- Upgrade requests to 2.32.4
- Upgrade resolvelib to 1.2.0
- Upgrade rich to 14.1.0
- Remove vendored typing-extensions.
Process
- pip's own licensing metadata now follows :pep:`639`.
In addition, the licenses of pip's vendored dependencies are now included
in the ``License-File`` metadata field and in the wheel.
To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 pkgsrc/devel/py-pip/Makefile
cvs rdiff -u -r1.48 -r1.49 pkgsrc/devel/py-pip/PLIST
cvs rdiff -u -r1.70 -r1.71 pkgsrc/devel/py-pip/distinfo
cvs rdiff -u -r1.6 -r1.7 \
pkgsrc/devel/py-pip/patches/patch-src_pip___internal_build__env.py
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/devel/py-pip/patches/patch-src_pip___internal_operations_install_wheel.py \
pkgsrc/devel/py-pip/patches/patch-src_pip___internal_req_____init____.py
cvs rdiff -u -r1.2 -r1.3 \
pkgsrc/devel/py-pip/patches/patch-src_pip___internal_req_req__install.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.85 pkgsrc/devel/py-pip/Makefile:1.86
--- pkgsrc/devel/py-pip/Makefile:1.85 Mon Jun 2 08:36:21 2025
+++ pkgsrc/devel/py-pip/Makefile Sat Aug 2 17:24:33 2025
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.85 2025/06/02 08:36:21 thor Exp $
+# $NetBSD: Makefile,v 1.86 2025/08/02 17:24:33 adam Exp $
-DISTNAME= pip-25.1.1
-PKGREVISION= 1
+DISTNAME= pip-25.2
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.48 pkgsrc/devel/py-pip/PLIST:1.49
--- pkgsrc/devel/py-pip/PLIST:1.48 Mon Jun 2 08:36:21 2025
+++ pkgsrc/devel/py-pip/PLIST Sat Aug 2 17:24:33 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.48 2025/06/02 08:36:21 thor Exp $
+@comment $NetBSD: PLIST,v 1.49 2025/08/02 17:24:33 adam Exp $
bin/pip${PYVERSSUFFIX}
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -6,6 +6,28 @@ ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
${PYSITELIB}/${WHEEL_INFODIR}/licenses/AUTHORS.txt
${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/src/pip/_vendor/cachecontrol/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/src/pip/_vendor/certifi/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/src/pip/_vendor/dependency_groups/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/src/pip/_vendor/distlib/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/src/pip/_vendor/distro/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/src/pip/_vendor/idna/LICENSE.md
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/src/pip/_vendor/msgpack/COPYING
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/src/pip/_vendor/packaging/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/src/pip/_vendor/packaging/LICENSE.APACHE
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/src/pip/_vendor/packaging/LICENSE.BSD
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/src/pip/_vendor/pkg_resources/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/src/pip/_vendor/platformdirs/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/src/pip/_vendor/pygments/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/src/pip/_vendor/pyproject_hooks/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/src/pip/_vendor/requests/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/src/pip/_vendor/resolvelib/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/src/pip/_vendor/rich/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/src/pip/_vendor/tomli/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/src/pip/_vendor/tomli/LICENSE-HEADER
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/src/pip/_vendor/tomli_w/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/src/pip/_vendor/truststore/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/src/pip/_vendor/urllib3/LICENSE.txt
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/pip/__init__.py
${PYSITELIB}/pip/__init__.pyc
@@ -542,24 +564,6 @@ ${PYSITELIB}/pip/_vendor/distlib/__init_
${PYSITELIB}/pip/_vendor/distlib/compat.py
${PYSITELIB}/pip/_vendor/distlib/compat.pyc
${PYSITELIB}/pip/_vendor/distlib/compat.pyo
-${PYSITELIB}/pip/_vendor/distlib/database.py
-${PYSITELIB}/pip/_vendor/distlib/database.pyc
-${PYSITELIB}/pip/_vendor/distlib/database.pyo
-${PYSITELIB}/pip/_vendor/distlib/index.py
-${PYSITELIB}/pip/_vendor/distlib/index.pyc
-${PYSITELIB}/pip/_vendor/distlib/index.pyo
-${PYSITELIB}/pip/_vendor/distlib/locators.py
-${PYSITELIB}/pip/_vendor/distlib/locators.pyc
-${PYSITELIB}/pip/_vendor/distlib/locators.pyo
-${PYSITELIB}/pip/_vendor/distlib/manifest.py
-${PYSITELIB}/pip/_vendor/distlib/manifest.pyc
-${PYSITELIB}/pip/_vendor/distlib/manifest.pyo
-${PYSITELIB}/pip/_vendor/distlib/markers.py
-${PYSITELIB}/pip/_vendor/distlib/markers.pyc
-${PYSITELIB}/pip/_vendor/distlib/markers.pyo
-${PYSITELIB}/pip/_vendor/distlib/metadata.py
-${PYSITELIB}/pip/_vendor/distlib/metadata.pyc
-${PYSITELIB}/pip/_vendor/distlib/metadata.pyo
${PYSITELIB}/pip/_vendor/distlib/resources.py
${PYSITELIB}/pip/_vendor/distlib/resources.pyc
${PYSITELIB}/pip/_vendor/distlib/resources.pyo
@@ -572,15 +576,9 @@ ${PYSITELIB}/pip/_vendor/distlib/t64.exe
${PYSITELIB}/pip/_vendor/distlib/util.py
${PYSITELIB}/pip/_vendor/distlib/util.pyc
${PYSITELIB}/pip/_vendor/distlib/util.pyo
-${PYSITELIB}/pip/_vendor/distlib/version.py
-${PYSITELIB}/pip/_vendor/distlib/version.pyc
-${PYSITELIB}/pip/_vendor/distlib/version.pyo
${PYSITELIB}/pip/_vendor/distlib/w32.exe
${PYSITELIB}/pip/_vendor/distlib/w64-arm.exe
${PYSITELIB}/pip/_vendor/distlib/w64.exe
-${PYSITELIB}/pip/_vendor/distlib/wheel.py
-${PYSITELIB}/pip/_vendor/distlib/wheel.pyc
-${PYSITELIB}/pip/_vendor/distlib/wheel.pyo
${PYSITELIB}/pip/_vendor/distro/__init__.py
${PYSITELIB}/pip/_vendor/distro/__init__.pyc
${PYSITELIB}/pip/_vendor/distro/__init__.pyo
@@ -1140,9 +1138,6 @@ ${PYSITELIB}/pip/_vendor/truststore/_win
${PYSITELIB}/pip/_vendor/truststore/_windows.pyc
${PYSITELIB}/pip/_vendor/truststore/_windows.pyo
${PYSITELIB}/pip/_vendor/truststore/py.typed
-${PYSITELIB}/pip/_vendor/typing_extensions.py
-${PYSITELIB}/pip/_vendor/typing_extensions.pyc
-${PYSITELIB}/pip/_vendor/typing_extensions.pyo
${PYSITELIB}/pip/_vendor/urllib3/__init__.py
${PYSITELIB}/pip/_vendor/urllib3/__init__.pyc
${PYSITELIB}/pip/_vendor/urllib3/__init__.pyo
Index: pkgsrc/devel/py-pip/distinfo
diff -u pkgsrc/devel/py-pip/distinfo:1.70 pkgsrc/devel/py-pip/distinfo:1.71
--- pkgsrc/devel/py-pip/distinfo:1.70 Sun May 4 12:57:37 2025
+++ pkgsrc/devel/py-pip/distinfo Sat Aug 2 17:24:33 2025
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.70 2025/05/04 12:57:37 adam Exp $
+$NetBSD: distinfo,v 1.71 2025/08/02 17:24:33 adam Exp $
-BLAKE2s (pip-25.1.1.tar.gz) = f18c4104f1318450180c33b48ee06a015ed42bee31f23ea6904479f2fcf4ce3e
-SHA512 (pip-25.1.1.tar.gz) = aa607dc778188700c30086ac03970f991ebcf00308003555552d57ee9edfad25caf78d2ae94260ed3df39c7338eb51d3101950bfe79c800f882031cb31eebe72
-Size (pip-25.1.1.tar.gz) = 1940155 bytes
-SHA1 (patch-src_pip___internal_build__env.py) = 19c6feb4b56cbdb70f9150c452dac73ca3949911
+BLAKE2s (pip-25.2.tar.gz) = 993f85390a9dd3038912db75f195ff4d6e15c94a85a3bf110f810d56a65e30f0
+SHA512 (pip-25.2.tar.gz) = 2841877c78518763fc77661665ded09e5fe139eaaca05102c73c51da2d6b1af3068c09b468eb3d7f8b0ed642874062b4472ccc530215946d653c263ed991ec7b
+Size (pip-25.2.tar.gz) = 1840021 bytes
+SHA1 (patch-src_pip___internal_build__env.py) = 8e538f4a88409475526f129ffee387068858c5e0
SHA1 (patch-src_pip___internal_commands_install.py) = 2f78c5af7c677d052a2275488dcda2f7b86c6e51
-SHA1 (patch-src_pip___internal_operations_install_wheel.py) = 0f590d2a11a2373f50abbc9377044f728625b13d
-SHA1 (patch-src_pip___internal_req_____init____.py) = ea65543752173516df5f73bbd530328bd274a683
-SHA1 (patch-src_pip___internal_req_req__install.py) = 507788b55afc7cbbd3d0568491f540b48b7bd952
+SHA1 (patch-src_pip___internal_operations_install_wheel.py) = c9573b09f697713e2666680e0884ec6156350dc3
+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_build__env.py
diff -u pkgsrc/devel/py-pip/patches/patch-src_pip___internal_build__env.py:1.6 pkgsrc/devel/py-pip/patches/patch-src_pip___internal_build__env.py:1.7
--- pkgsrc/devel/py-pip/patches/patch-src_pip___internal_build__env.py:1.6 Mon Mar 6 15:49:29 2023
+++ pkgsrc/devel/py-pip/patches/patch-src_pip___internal_build__env.py Sat Aug 2 17:24:33 2025
@@ -1,20 +1,20 @@
-$NetBSD: patch-src_pip___internal_build__env.py,v 1.6 2023/03/06 15:49:29 wiz Exp $
+$NetBSD: patch-src_pip___internal_build__env.py,v 1.7 2025/08/02 17:24:33 adam Exp $
Copy distutils distro config file to overlay.
https://github.com/pypa/pip/issues/10949
---- src/pip/_internal/build_env.py.orig 2023-02-17 18:31:10.000000000 +0000
+--- src/pip/_internal/build_env.py.orig 2025-07-30 21:31:52.000000000 +0000
+++ src/pip/_internal/build_env.py
-@@ -8,6 +8,8 @@ import site
- import sys
+@@ -10,6 +10,8 @@ import sys
import textwrap
from collections import OrderedDict
+ from collections.abc import Iterable
+from shutil import copy
+from sysconfig import get_paths
from types import TracebackType
- from typing import TYPE_CHECKING, Iterable, List, Optional, Set, Tuple, Type, Union
+ from typing import TYPE_CHECKING, Protocol
-@@ -102,6 +104,9 @@ class BuildEnvironment:
+@@ -203,6 +205,9 @@ class BuildEnvironment:
self._site_dir = os.path.join(temp_dir.path, "site")
if not os.path.exists(self._site_dir):
os.mkdir(self._site_dir)
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.1 pkgsrc/devel/py-pip/patches/patch-src_pip___internal_operations_install_wheel.py:1.2
--- pkgsrc/devel/py-pip/patches/patch-src_pip___internal_operations_install_wheel.py:1.1 Wed Jun 14 11:30:54 2023
+++ pkgsrc/devel/py-pip/patches/patch-src_pip___internal_operations_install_wheel.py Sat Aug 2 17:24:33 2025
@@ -1,30 +1,31 @@
-$NetBSD: patch-src_pip___internal_operations_install_wheel.py,v 1.1 2023/06/14 11:30:54 riastradh Exp $
+$NetBSD: patch-src_pip___internal_operations_install_wheel.py,v 1.2 2025/08/02 17:24:33 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 2023-04-26 09:23:01.000000000 +0000
+--- src/pip/_internal/operations/install/wheel.py.orig 2025-07-30 21:31:52.000000000 +0000
+++ src/pip/_internal/operations/install/wheel.py
-@@ -422,6 +422,9 @@ def _raise_for_invalid_entrypoint(specif
+@@ -417,6 +417,10 @@ class PipScriptMaker(ScriptMaker):
+ """
+ )
-
- class PipScriptMaker(ScriptMaker):
+ def __init__(self, executable, *args, **kwargs):
+ super().__init__(*args, **kwargs)
+ self.executable = executable
++
def make(
- self, specification: str, options: Optional[Dict[str, Any]] = None
- ) -> List[str]:
-@@ -434,6 +437,7 @@ def _install_wheel(
+ self, specification: str, options: dict[str, Any] | None = None
+ ) -> list[str]:
+@@ -429,6 +433,7 @@ def _install_wheel( # noqa: C901, PLR09
wheel_zip: ZipFile,
wheel_path: str,
scheme: Scheme,
-+ executable: Optional[str] = None,
++ executable: str | None = None,
pycompile: bool = True,
warn_script_location: bool = True,
- direct_url: Optional[DirectUrl] = None,
-@@ -624,7 +628,7 @@ def _install_wheel(
+ direct_url: DirectUrl | None = None,
+@@ -630,7 +635,7 @@ def _install_wheel( # noqa: C901, PLR09
record_installed(pyc_record_path, pyc_path)
logger.debug(stdout.getvalue())
@@ -33,15 +34,15 @@ https://github.com/pypa/pip/pull/12088
# Ensure old scripts are overwritten.
# See https://github.com/pypa/pip/issues/1800
-@@ -721,6 +725,7 @@ def install_wheel(
+@@ -727,6 +732,7 @@ def install_wheel(
wheel_path: str,
scheme: Scheme,
req_description: str,
-+ executable: Optional[str] = None,
++ executable: str | None = None,
pycompile: bool = True,
warn_script_location: bool = True,
- direct_url: Optional[DirectUrl] = None,
-@@ -733,6 +738,7 @@ def install_wheel(
+ direct_url: DirectUrl | None = None,
+@@ -739,6 +745,7 @@ def install_wheel(
wheel_zip=z,
wheel_path=wheel_path,
scheme=scheme,
Index: pkgsrc/devel/py-pip/patches/patch-src_pip___internal_req_____init____.py
diff -u pkgsrc/devel/py-pip/patches/patch-src_pip___internal_req_____init____.py:1.1 pkgsrc/devel/py-pip/patches/patch-src_pip___internal_req_____init____.py:1.2
--- pkgsrc/devel/py-pip/patches/patch-src_pip___internal_req_____init____.py:1.1 Wed Jun 14 11:30:54 2023
+++ pkgsrc/devel/py-pip/patches/patch-src_pip___internal_req_____init____.py Sat Aug 2 17:24:33 2025
@@ -1,20 +1,20 @@
-$NetBSD: patch-src_pip___internal_req_____init____.py,v 1.1 2023/06/14 11:30:54 riastradh Exp $
+$NetBSD: patch-src_pip___internal_req_____init____.py,v 1.2 2025/08/02 17:24:33 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/req/__init__.py.orig 2023-04-26 09:23:01.000000000 +0000
+--- src/pip/_internal/req/__init__.py.orig 2025-07-30 21:31:52.000000000 +0000
+++ src/pip/_internal/req/__init__.py
-@@ -40,6 +40,7 @@ def install_given_reqs(
- root: Optional[str],
- home: Optional[str],
- prefix: Optional[str],
-+ executable: Optional[str],
+@@ -41,6 +41,7 @@ def install_given_reqs(
+ root: str | None,
+ home: str | None,
+ prefix: str | None,
++ executable: str | None,
warn_script_location: bool,
use_user_site: bool,
pycompile: bool,
-@@ -74,6 +75,7 @@ def install_given_reqs(
+@@ -87,6 +88,7 @@ def install_given_reqs(
root=root,
home=home,
prefix=prefix,
Index: pkgsrc/devel/py-pip/patches/patch-src_pip___internal_req_req__install.py
diff -u pkgsrc/devel/py-pip/patches/patch-src_pip___internal_req_req__install.py:1.2 pkgsrc/devel/py-pip/patches/patch-src_pip___internal_req_req__install.py:1.3
--- pkgsrc/devel/py-pip/patches/patch-src_pip___internal_req_req__install.py:1.2 Sun Oct 15 19:37:43 2023
+++ pkgsrc/devel/py-pip/patches/patch-src_pip___internal_req_req__install.py Sat Aug 2 17:24:33 2025
@@ -1,20 +1,20 @@
-$NetBSD: patch-src_pip___internal_req_req__install.py,v 1.2 2023/10/15 19:37:43 adam Exp $
+$NetBSD: patch-src_pip___internal_req_req__install.py,v 1.3 2025/08/02 17:24:33 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/req/req_install.py.orig 2023-10-15 16:17:57.000000000 +0000
+--- src/pip/_internal/req/req_install.py.orig 2025-07-30 21:31:52.000000000 +0000
+++ src/pip/_internal/req/req_install.py
-@@ -812,6 +812,7 @@ class InstallRequirement:
- root: Optional[str] = None,
- home: Optional[str] = None,
- prefix: Optional[str] = None,
-+ executable: Optional[str] = None,
+@@ -813,6 +813,7 @@ class InstallRequirement:
+ root: str | None = None,
+ home: str | None = None,
+ prefix: str | None = None,
++ executable: str | None = None,
warn_script_location: bool = True,
use_user_site: bool = False,
pycompile: bool = True,
-@@ -848,6 +849,7 @@ class InstallRequirement:
+@@ -871,6 +872,7 @@ class InstallRequirement:
self.req.name,
self.local_file_path,
scheme=scheme,
Home |
Main Index |
Thread Index |
Old Index