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: wiz
Date: Mon Apr 28 10:46:04 UTC 2025
Modified Files:
pkgsrc/devel/py-pip: ALTERNATIVES Makefile PLIST distinfo
Log Message:
py-pip: update to 25.1.
25.1 (2025-04-26)
=================
Deprecations and Removals
-------------------------
- Drop support for Python 3.8.
- On python 3.14+, the ``pkg_resources`` metadata backend cannot be used anymore.
- Hide ``--no-python-version-warning`` from CLI help and documentation
as it's useless since Python 2 support was removed. Despite being
formerly slated for removal, the flag will remain as a no-op to
avoid breakage.
- A warning is emitted when the deprecated ``pkg_resources`` library is used to
inspect and discover installed packages. This warning should only be visible to
users who set an undocumented environment variable to disable the default
``importlib.metadata`` backend.
- Deprecate the legacy ``setup.py bdist_wheel`` mechanism. To silence the warning,
and future-proof their setup, users should enable ``--use-pep517`` or add a
``pyproject.toml`` file to the projects they control.
Features
--------
- Suggest checking "pip config debug" in case of an InvalidProxyURL error.
- Using ``--debug`` also enables verbose logging.
- Display a transient progress bar during package installation.
- Minor performance improvement when installing packages with a large number
of dependencies by increasing the requirement string cache size.
- Add a ``--group`` option which allows installation from :pep:`735` Dependency
Groups. ``--group`` accepts arguments of the form ``group`` or
``path:group``, where the default path is ``pyproject.toml``, and installs
the named Dependency Group from the provided ``pyproject.toml`` file.
- Add support to enable resuming incomplete downloads.
Control the number of retry attempts using the ``--resume-retries`` flag.
- Use :pep:`753` "Well-known Project URLs in Metadata" normalization rules when
identifying an equivalent project URL to replace a missing ``Home-Page`` field
in ``pip show``.
- Remove ``experimental`` warning from ``pip index versions`` command.
- Add a structured ``--json`` output to ``pip index versions``
- Add a new, *experimental*, ``pip lock`` command, implementing :pep:`751`.
- Speed up resolution by first only considering the preference of
candidates that must be required to complete the resolution.
- Improved heuristics for determining the order of dependency resolution.
- Provide hint, documentation, and link to the documentation when
resolution too deep error occurs.
- Include traceback on failure to import ``setuptools`` when ``setup.py`` is being invoked directly.
- Support for :pep:`738` Android wheels.
- Display wheel build tag in ``pip list`` columns output if set.
- Build environment dependencies are no longer compiled to bytecode during
installation for a minor performance improvement.
Bug Fixes
---------
- When using the ``importlib.metadata`` backend
``pip list`` does not show installed egg distributions more than once anymore.
Additionally, egg distributions whose parent directory was in ``sys.path`` but
the egg themselves were not in ``sys.path`` are not detected anymore.
- Disable Git and SSH prompts when ``--no-input`` is passed.
- Gracefully handle Windows registry access errors while guessing the MIME type of a file.
- Support multiple global configuration paths returned by ``platformdirs`` on MacOS.
- Resolvelib 1.1.0 fixes a known issue where pip would report a
ResolutionImpossible error even though there is a valid solution.
However, some very complex dependency resolutions that previously
resolved may resolve slower or fail with an ResolutionTooDeep error.
- Show the correct path to the interpreter also when it's a symlink in a venv in the pip upgrade prompt.
- Parse wheel filenames according to `binary distribution format specification
<https://packaging.python.org/en/latest/specifications/binary-distribution-format/#file-format>`_.
When a filename doesn't match the spec a deprecation warning is emitted and the
filename is parsed using the old method.
- While resolving dependencies prefer if any of the known requirements are
"direct", e.g. points to an explicit URL.
- When choosing a preferred requirement for resolving dependencies
do not consider a specifier with a * in it, e.g. "==1.*", to be a
pinned specifier.
- Fix a regression that causes dependencies to be checked *before* ``Requires-Python``
project metadata is checked, leading to wasted cycles when the Python version is
unsupported.
- Don't require the ``wheel`` library to be installed to use ``--no-use-pep517``, any more.
- Fix regression that suppressed errors indicating which packages were ignored
due to incompatible ``requires-python`` metadata.
- Fix fish shell completion when commandline contains multiple commands.
Vendored Libraries
------------------
- Upgrade CacheControl to 0.14.2
- Upgrade certifi to 2025.1.31
- Upgrade packaging to 25.0
- Upgrade platformdirs to 4.3.7
- Upgrade pygments to 2.19.1
- Upgrade resolvelib to 1.1.0.
- Upgrade rich to 14.0.0
- Vendor tomli-w 1.2.0
- Upgrade truststore to 0.10.1
- Upgrade typing_extensions to 4.13.2
Improved Documentation
----------------------
- Added support for building only the man pages with minimal dependencies using
the sphinx-build ``--tag man`` option. This enables distributors to generate man
pages without requiring HTML documentation dependencies.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-pip/ALTERNATIVES
cvs rdiff -u -r1.82 -r1.83 pkgsrc/devel/py-pip/Makefile
cvs rdiff -u -r1.46 -r1.47 pkgsrc/devel/py-pip/PLIST
cvs rdiff -u -r1.68 -r1.69 pkgsrc/devel/py-pip/distinfo
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/ALTERNATIVES
diff -u pkgsrc/devel/py-pip/ALTERNATIVES:1.3 pkgsrc/devel/py-pip/ALTERNATIVES:1.4
--- pkgsrc/devel/py-pip/ALTERNATIVES:1.3 Wed Jun 26 16:57:56 2024
+++ pkgsrc/devel/py-pip/ALTERNATIVES Mon Apr 28 10:46:04 2025
@@ -1,2 +1,2 @@
bin/pip @PREFIX@/bin/pip-@PYVERSSUFFIX@
-bin/pip@PYMAJORVERSION@ @PREFIX@/bin/pip-@PYVERSSUFFIX@
+bin/pip3 @PREFIX@/bin/pip-@PYVERSSUFFIX@
Index: pkgsrc/devel/py-pip/Makefile
diff -u pkgsrc/devel/py-pip/Makefile:1.82 pkgsrc/devel/py-pip/Makefile:1.83
--- pkgsrc/devel/py-pip/Makefile:1.82 Sat Apr 12 12:18:01 2025
+++ pkgsrc/devel/py-pip/Makefile Mon Apr 28 10:46:04 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.82 2025/04/12 12:18:01 adam Exp $
+# $NetBSD: Makefile,v 1.83 2025/04/28 10:46:04 wiz Exp $
-DISTNAME= pip-25.0.1
+DISTNAME= pip-25.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pip/}
@@ -19,9 +18,6 @@ REPLACE_PYTHON+= src/pip/_vendor/appdirs
REPLACE_PYTHON+= src/pip/_vendor/chardet/cli/chardetect.py
REPLACE_PYTHON+= src/pip/_vendor/requests/certs.py
-.include "../../lang/python/pyversion.mk"
-FILES_SUBST+= PYMAJORVERSION=${PYTHON_VERSION:C/^([0-9]).*/\1/}
-
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${RM} -f pip3 && ${MV} pip pip-${PYVERSSUFFIX} || ${TRUE}
Index: pkgsrc/devel/py-pip/PLIST
diff -u pkgsrc/devel/py-pip/PLIST:1.46 pkgsrc/devel/py-pip/PLIST:1.47
--- pkgsrc/devel/py-pip/PLIST:1.46 Sat Apr 12 12:18:01 2025
+++ pkgsrc/devel/py-pip/PLIST Mon Apr 28 10:46:04 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.46 2025/04/12 12:18:01 adam Exp $
+@comment $NetBSD: PLIST,v 1.47 2025/04/28 10:46:04 wiz Exp $
bin/pip-${PYVERSSUFFIX}
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -106,6 +106,9 @@ ${PYSITELIB}/pip/_internal/commands/inst
${PYSITELIB}/pip/_internal/commands/list.py
${PYSITELIB}/pip/_internal/commands/list.pyc
${PYSITELIB}/pip/_internal/commands/list.pyo
+${PYSITELIB}/pip/_internal/commands/lock.py
+${PYSITELIB}/pip/_internal/commands/lock.pyc
+${PYSITELIB}/pip/_internal/commands/lock.pyo
${PYSITELIB}/pip/_internal/commands/search.py
${PYSITELIB}/pip/_internal/commands/search.pyc
${PYSITELIB}/pip/_internal/commands/search.pyo
@@ -211,6 +214,9 @@ ${PYSITELIB}/pip/_internal/models/instal
${PYSITELIB}/pip/_internal/models/link.py
${PYSITELIB}/pip/_internal/models/link.pyc
${PYSITELIB}/pip/_internal/models/link.pyo
+${PYSITELIB}/pip/_internal/models/pylock.py
+${PYSITELIB}/pip/_internal/models/pylock.pyc
+${PYSITELIB}/pip/_internal/models/pylock.pyo
${PYSITELIB}/pip/_internal/models/scheme.py
${PYSITELIB}/pip/_internal/models/scheme.pyc
${PYSITELIB}/pip/_internal/models/scheme.pyo
@@ -304,6 +310,9 @@ ${PYSITELIB}/pip/_internal/req/__init__.
${PYSITELIB}/pip/_internal/req/constructors.py
${PYSITELIB}/pip/_internal/req/constructors.pyc
${PYSITELIB}/pip/_internal/req/constructors.pyo
+${PYSITELIB}/pip/_internal/req/req_dependency_group.py
+${PYSITELIB}/pip/_internal/req/req_dependency_group.pyc
+${PYSITELIB}/pip/_internal/req/req_dependency_group.pyo
${PYSITELIB}/pip/_internal/req/req_file.py
${PYSITELIB}/pip/_internal/req/req_file.pyc
${PYSITELIB}/pip/_internal/req/req_file.pyo
@@ -508,6 +517,25 @@ ${PYSITELIB}/pip/_vendor/certifi/core.py
${PYSITELIB}/pip/_vendor/certifi/core.pyc
${PYSITELIB}/pip/_vendor/certifi/core.pyo
${PYSITELIB}/pip/_vendor/certifi/py.typed
+${PYSITELIB}/pip/_vendor/dependency_groups/__init__.py
+${PYSITELIB}/pip/_vendor/dependency_groups/__init__.pyc
+${PYSITELIB}/pip/_vendor/dependency_groups/__init__.pyo
+${PYSITELIB}/pip/_vendor/dependency_groups/__main__.py
+${PYSITELIB}/pip/_vendor/dependency_groups/__main__.pyc
+${PYSITELIB}/pip/_vendor/dependency_groups/__main__.pyo
+${PYSITELIB}/pip/_vendor/dependency_groups/_implementation.py
+${PYSITELIB}/pip/_vendor/dependency_groups/_implementation.pyc
+${PYSITELIB}/pip/_vendor/dependency_groups/_implementation.pyo
+${PYSITELIB}/pip/_vendor/dependency_groups/_lint_dependency_groups.py
+${PYSITELIB}/pip/_vendor/dependency_groups/_lint_dependency_groups.pyc
+${PYSITELIB}/pip/_vendor/dependency_groups/_lint_dependency_groups.pyo
+${PYSITELIB}/pip/_vendor/dependency_groups/_pip_wrapper.py
+${PYSITELIB}/pip/_vendor/dependency_groups/_pip_wrapper.pyc
+${PYSITELIB}/pip/_vendor/dependency_groups/_pip_wrapper.pyo
+${PYSITELIB}/pip/_vendor/dependency_groups/_toml_compat.py
+${PYSITELIB}/pip/_vendor/dependency_groups/_toml_compat.pyc
+${PYSITELIB}/pip/_vendor/dependency_groups/_toml_compat.pyo
+${PYSITELIB}/pip/_vendor/dependency_groups/py.typed
${PYSITELIB}/pip/_vendor/distlib/__init__.py
${PYSITELIB}/pip/_vendor/distlib/__init__.pyc
${PYSITELIB}/pip/_vendor/distlib/__init__.pyo
@@ -683,9 +711,6 @@ ${PYSITELIB}/pip/_vendor/pygments/__init
${PYSITELIB}/pip/_vendor/pygments/__main__.py
${PYSITELIB}/pip/_vendor/pygments/__main__.pyc
${PYSITELIB}/pip/_vendor/pygments/__main__.pyo
-${PYSITELIB}/pip/_vendor/pygments/cmdline.py
-${PYSITELIB}/pip/_vendor/pygments/cmdline.pyc
-${PYSITELIB}/pip/_vendor/pygments/cmdline.pyo
${PYSITELIB}/pip/_vendor/pygments/console.py
${PYSITELIB}/pip/_vendor/pygments/console.pyc
${PYSITELIB}/pip/_vendor/pygments/console.pyo
@@ -704,42 +729,6 @@ ${PYSITELIB}/pip/_vendor/pygments/format
${PYSITELIB}/pip/_vendor/pygments/formatters/_mapping.py
${PYSITELIB}/pip/_vendor/pygments/formatters/_mapping.pyc
${PYSITELIB}/pip/_vendor/pygments/formatters/_mapping.pyo
-${PYSITELIB}/pip/_vendor/pygments/formatters/bbcode.py
-${PYSITELIB}/pip/_vendor/pygments/formatters/bbcode.pyc
-${PYSITELIB}/pip/_vendor/pygments/formatters/bbcode.pyo
-${PYSITELIB}/pip/_vendor/pygments/formatters/groff.py
-${PYSITELIB}/pip/_vendor/pygments/formatters/groff.pyc
-${PYSITELIB}/pip/_vendor/pygments/formatters/groff.pyo
-${PYSITELIB}/pip/_vendor/pygments/formatters/html.py
-${PYSITELIB}/pip/_vendor/pygments/formatters/html.pyc
-${PYSITELIB}/pip/_vendor/pygments/formatters/html.pyo
-${PYSITELIB}/pip/_vendor/pygments/formatters/img.py
-${PYSITELIB}/pip/_vendor/pygments/formatters/img.pyc
-${PYSITELIB}/pip/_vendor/pygments/formatters/img.pyo
-${PYSITELIB}/pip/_vendor/pygments/formatters/irc.py
-${PYSITELIB}/pip/_vendor/pygments/formatters/irc.pyc
-${PYSITELIB}/pip/_vendor/pygments/formatters/irc.pyo
-${PYSITELIB}/pip/_vendor/pygments/formatters/latex.py
-${PYSITELIB}/pip/_vendor/pygments/formatters/latex.pyc
-${PYSITELIB}/pip/_vendor/pygments/formatters/latex.pyo
-${PYSITELIB}/pip/_vendor/pygments/formatters/other.py
-${PYSITELIB}/pip/_vendor/pygments/formatters/other.pyc
-${PYSITELIB}/pip/_vendor/pygments/formatters/other.pyo
-${PYSITELIB}/pip/_vendor/pygments/formatters/pangomarkup.py
-${PYSITELIB}/pip/_vendor/pygments/formatters/pangomarkup.pyc
-${PYSITELIB}/pip/_vendor/pygments/formatters/pangomarkup.pyo
-${PYSITELIB}/pip/_vendor/pygments/formatters/rtf.py
-${PYSITELIB}/pip/_vendor/pygments/formatters/rtf.pyc
-${PYSITELIB}/pip/_vendor/pygments/formatters/rtf.pyo
-${PYSITELIB}/pip/_vendor/pygments/formatters/svg.py
-${PYSITELIB}/pip/_vendor/pygments/formatters/svg.pyc
-${PYSITELIB}/pip/_vendor/pygments/formatters/svg.pyo
-${PYSITELIB}/pip/_vendor/pygments/formatters/terminal.py
-${PYSITELIB}/pip/_vendor/pygments/formatters/terminal.pyc
-${PYSITELIB}/pip/_vendor/pygments/formatters/terminal.pyo
-${PYSITELIB}/pip/_vendor/pygments/formatters/terminal256.py
-${PYSITELIB}/pip/_vendor/pygments/formatters/terminal256.pyc
-${PYSITELIB}/pip/_vendor/pygments/formatters/terminal256.pyo
${PYSITELIB}/pip/_vendor/pygments/lexer.py
${PYSITELIB}/pip/_vendor/pygments/lexer.pyc
${PYSITELIB}/pip/_vendor/pygments/lexer.pyo
@@ -855,12 +844,6 @@ ${PYSITELIB}/pip/_vendor/requests/utils.
${PYSITELIB}/pip/_vendor/resolvelib/__init__.py
${PYSITELIB}/pip/_vendor/resolvelib/__init__.pyc
${PYSITELIB}/pip/_vendor/resolvelib/__init__.pyo
-${PYSITELIB}/pip/_vendor/resolvelib/compat/__init__.py
-${PYSITELIB}/pip/_vendor/resolvelib/compat/__init__.pyc
-${PYSITELIB}/pip/_vendor/resolvelib/compat/__init__.pyo
-${PYSITELIB}/pip/_vendor/resolvelib/compat/collections_abc.py
-${PYSITELIB}/pip/_vendor/resolvelib/compat/collections_abc.pyc
-${PYSITELIB}/pip/_vendor/resolvelib/compat/collections_abc.pyo
${PYSITELIB}/pip/_vendor/resolvelib/providers.py
${PYSITELIB}/pip/_vendor/resolvelib/providers.pyc
${PYSITELIB}/pip/_vendor/resolvelib/providers.pyo
@@ -868,9 +851,21 @@ ${PYSITELIB}/pip/_vendor/resolvelib/py.t
${PYSITELIB}/pip/_vendor/resolvelib/reporters.py
${PYSITELIB}/pip/_vendor/resolvelib/reporters.pyc
${PYSITELIB}/pip/_vendor/resolvelib/reporters.pyo
-${PYSITELIB}/pip/_vendor/resolvelib/resolvers.py
-${PYSITELIB}/pip/_vendor/resolvelib/resolvers.pyc
-${PYSITELIB}/pip/_vendor/resolvelib/resolvers.pyo
+${PYSITELIB}/pip/_vendor/resolvelib/resolvers/__init__.py
+${PYSITELIB}/pip/_vendor/resolvelib/resolvers/__init__.pyc
+${PYSITELIB}/pip/_vendor/resolvelib/resolvers/__init__.pyo
+${PYSITELIB}/pip/_vendor/resolvelib/resolvers/abstract.py
+${PYSITELIB}/pip/_vendor/resolvelib/resolvers/abstract.pyc
+${PYSITELIB}/pip/_vendor/resolvelib/resolvers/abstract.pyo
+${PYSITELIB}/pip/_vendor/resolvelib/resolvers/criterion.py
+${PYSITELIB}/pip/_vendor/resolvelib/resolvers/criterion.pyc
+${PYSITELIB}/pip/_vendor/resolvelib/resolvers/criterion.pyo
+${PYSITELIB}/pip/_vendor/resolvelib/resolvers/exceptions.py
+${PYSITELIB}/pip/_vendor/resolvelib/resolvers/exceptions.pyc
+${PYSITELIB}/pip/_vendor/resolvelib/resolvers/exceptions.pyo
+${PYSITELIB}/pip/_vendor/resolvelib/resolvers/resolution.py
+${PYSITELIB}/pip/_vendor/resolvelib/resolvers/resolution.pyc
+${PYSITELIB}/pip/_vendor/resolvelib/resolvers/resolution.pyo
${PYSITELIB}/pip/_vendor/resolvelib/structs.py
${PYSITELIB}/pip/_vendor/resolvelib/structs.pyc
${PYSITELIB}/pip/_vendor/resolvelib/structs.pyo
@@ -1119,6 +1114,13 @@ ${PYSITELIB}/pip/_vendor/tomli/_types.py
${PYSITELIB}/pip/_vendor/tomli/_types.pyc
${PYSITELIB}/pip/_vendor/tomli/_types.pyo
${PYSITELIB}/pip/_vendor/tomli/py.typed
+${PYSITELIB}/pip/_vendor/tomli_w/__init__.py
+${PYSITELIB}/pip/_vendor/tomli_w/__init__.pyc
+${PYSITELIB}/pip/_vendor/tomli_w/__init__.pyo
+${PYSITELIB}/pip/_vendor/tomli_w/_writer.py
+${PYSITELIB}/pip/_vendor/tomli_w/_writer.pyc
+${PYSITELIB}/pip/_vendor/tomli_w/_writer.pyo
+${PYSITELIB}/pip/_vendor/tomli_w/py.typed
${PYSITELIB}/pip/_vendor/truststore/__init__.py
${PYSITELIB}/pip/_vendor/truststore/__init__.pyc
${PYSITELIB}/pip/_vendor/truststore/__init__.pyo
Index: pkgsrc/devel/py-pip/distinfo
diff -u pkgsrc/devel/py-pip/distinfo:1.68 pkgsrc/devel/py-pip/distinfo:1.69
--- pkgsrc/devel/py-pip/distinfo:1.68 Mon Feb 10 10:50:58 2025
+++ pkgsrc/devel/py-pip/distinfo Mon Apr 28 10:46:04 2025
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.68 2025/02/10 10:50:58 adam Exp $
+$NetBSD: distinfo,v 1.69 2025/04/28 10:46:04 wiz Exp $
-BLAKE2s (pip-25.0.1.tar.gz) = dcb36cef24796bd83912f205fdb69ace9797ca1ae23b906159e251fc5b32aa9e
-SHA512 (pip-25.0.1.tar.gz) = 3fef96aa0662236b9226f345e1c3a49293697d6d0ad277c5cb047f5c0332294dff0a28c128603547fc2dde20f938f4117314599056e93a2f3e1f78d9bf70dec3
-Size (pip-25.0.1.tar.gz) = 1950850 bytes
+BLAKE2s (pip-25.1.tar.gz) = ff340174e5cda2129c3d45c0449e8871a0195c9f952406ad972f4e6c8010700a
+SHA512 (pip-25.1.tar.gz) = f3576b5e0ef57e3470791074052723acfef8ea3e9a042fa330a236ded418e00adc9b889c394c082c6a8abd785cb435ff4be81d535edb0d84bc64ae005512ca46
+Size (pip-25.1.tar.gz) = 1939624 bytes
SHA1 (patch-src_pip___internal_build__env.py) = 19c6feb4b56cbdb70f9150c452dac73ca3949911
SHA1 (patch-src_pip___internal_commands_install.py) = 2f78c5af7c677d052a2275488dcda2f7b86c6e51
SHA1 (patch-src_pip___internal_operations_install_wheel.py) = 0f590d2a11a2373f50abbc9377044f728625b13d
Home |
Main Index |
Thread Index |
Old Index