Tue Jul 18 06:18:10 2023 UTC ()
py-pip: updated to 23.2

23.2 (2023-07-15)
=================

Process
-------

- Deprecate support for eggs for Python 3.11 or later, when the new ``importlib.metadata`` backend is used to load distribution metadata. This only affects the egg *distribution format* (with the ``.egg`` extension); distributions using the ``.egg-info`` *metadata format* (but are not actually eggs) are not affected. For more information about eggs, see `relevant section in the setuptools documentation <https://setuptools.pypa.io/en/stable/deprecated/python_eggs.html>`__.

Deprecations and Removals
-------------------------

- Deprecate legacy version and version specifiers that don't conform to `PEP 440
  <https://peps.python.org/pep-0440/>`_
- ``freeze`` no longer excludes the ``setuptools``, ``distribute``, and ``wheel``
  from the output when running on Python 3.12 or later, where they are not
  included in a virtual environment by default. Use ``--exclude`` if you wish to
  exclude any of these packages.

Features
--------

- make rejection messages slightly different between 1 and 8, so the user can make the difference.

Bug Fixes
---------

- Fix ``pip completion --zsh``.
- Prevent downloading files twice when PEP 658 metadata is present
- Add permission check before configuration
- Fix deprecation warnings in Python 3.12 for usage of shutil.rmtree
- Ignore invalid or unreadable ``origin.json`` files in the cache of locally built wheels.
- Fix installation of packages with PEP658 metadata using non-canonicalized names
- Correctly parse ``dist-info-metadata`` values from JSON-format index data.
- Fail with an error if the ``--python`` option is specified after the subcommand name.
- Fix slowness when using ``importlib.metadata`` (the default way for pip to read metadata in Python 3.11+) and there is a large overlap between already installed and to-be-installed packages.
- Pass the ``-r`` flag to mercurial to be explicit that a revision is passed and protect
  against ``hg`` options injection as part of VCS URLs. Users that do not have control on
  VCS URLs passed to pip are advised to upgrade.

Vendored Libraries
------------------

- Upgrade certifi to 2023.5.7
- Upgrade platformdirs to 3.8.1
- Upgrade pygments to 2.15.1
- Upgrade pyparsing to 3.1.0
- Upgrade Requests to 2.31.0
- Upgrade rich to 13.4.2
- Upgrade setuptools to 68.0.0
- Updated typing_extensions to 4.6.0
- Upgrade typing_extensions to 4.7.1
- Upgrade urllib3 to 1.26.16


(adam)
diff -r1.65 -r1.66 pkgsrc/devel/py-pip/Makefile
diff -r1.38 -r1.39 pkgsrc/devel/py-pip/PLIST
diff -r1.55 -r1.56 pkgsrc/devel/py-pip/distinfo

cvs diff -r1.65 -r1.66 pkgsrc/devel/py-pip/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-pip/Makefile 2023/06/14 11:30:54 1.65
+++ pkgsrc/devel/py-pip/Makefile 2023/07/18 06:18:10 1.66
@@ -1,17 +1,16 @@ @@ -1,17 +1,16 @@
1# $NetBSD: Makefile,v 1.65 2023/06/14 11:30:54 riastradh Exp $ 1# $NetBSD: Makefile,v 1.66 2023/07/18 06:18:10 adam Exp $
2 2
3DISTNAME= pip-23.1.2 3DISTNAME= pip-23.2
4PKGREVISION= 1 
5PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
6CATEGORIES= devel python 5CATEGORIES= devel python
7MASTER_SITES= ${MASTER_SITE_PYPI:=p/pip/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=p/pip/}
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://pip.pypa.io/ 9HOMEPAGE= https://pip.pypa.io/
11COMMENT= Installs Python packages as an easy_install replacement 10COMMENT= Installs Python packages as an easy_install replacement
12LICENSE= mit 11LICENSE= mit
13 12
14USE_LANGUAGES= # none 13USE_LANGUAGES= # none
15 14
16REPLACE_PYTHON+= src/pip/_vendor/appdirs.py 15REPLACE_PYTHON+= src/pip/_vendor/appdirs.py
17REPLACE_PYTHON+= src/pip/_vendor/chardet/cli/chardetect.py 16REPLACE_PYTHON+= src/pip/_vendor/chardet/cli/chardetect.py

cvs diff -r1.38 -r1.39 pkgsrc/devel/py-pip/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/py-pip/PLIST 2023/04/21 09:21:43 1.38
+++ pkgsrc/devel/py-pip/PLIST 2023/07/18 06:18:10 1.39
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.38 2023/04/21 09:21:43 adam Exp $ 1@comment $NetBSD: PLIST,v 1.39 2023/07/18 06:18:10 adam Exp $
2bin/pip${PYVERSSUFFIX} 2bin/pip${PYVERSSUFFIX}
3${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 3${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
4${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 4${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
5${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 5${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
6${PYSITELIB}/${EGG_INFODIR}/entry_points.txt 6${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
7${PYSITELIB}/${EGG_INFODIR}/not-zip-safe 7${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
8${PYSITELIB}/${EGG_INFODIR}/top_level.txt 8${PYSITELIB}/${EGG_INFODIR}/top_level.txt
9${PYSITELIB}/pip/__init__.py 9${PYSITELIB}/pip/__init__.py
10${PYSITELIB}/pip/__init__.pyc 10${PYSITELIB}/pip/__init__.pyc
11${PYSITELIB}/pip/__init__.pyo 11${PYSITELIB}/pip/__init__.pyo
12${PYSITELIB}/pip/__main__.py 12${PYSITELIB}/pip/__main__.py
13${PYSITELIB}/pip/__main__.pyc 13${PYSITELIB}/pip/__main__.pyc
14${PYSITELIB}/pip/__main__.pyo 14${PYSITELIB}/pip/__main__.pyo
@@ -1407,26 +1407,29 @@ ${PYSITELIB}/pip/_vendor/urllib3/fields. @@ -1407,26 +1407,29 @@ ${PYSITELIB}/pip/_vendor/urllib3/fields.
1407${PYSITELIB}/pip/_vendor/urllib3/fields.pyo 1407${PYSITELIB}/pip/_vendor/urllib3/fields.pyo
1408${PYSITELIB}/pip/_vendor/urllib3/filepost.py 1408${PYSITELIB}/pip/_vendor/urllib3/filepost.py
1409${PYSITELIB}/pip/_vendor/urllib3/filepost.pyc 1409${PYSITELIB}/pip/_vendor/urllib3/filepost.pyc
1410${PYSITELIB}/pip/_vendor/urllib3/filepost.pyo 1410${PYSITELIB}/pip/_vendor/urllib3/filepost.pyo
1411${PYSITELIB}/pip/_vendor/urllib3/packages/__init__.py 1411${PYSITELIB}/pip/_vendor/urllib3/packages/__init__.py
1412${PYSITELIB}/pip/_vendor/urllib3/packages/__init__.pyc 1412${PYSITELIB}/pip/_vendor/urllib3/packages/__init__.pyc
1413${PYSITELIB}/pip/_vendor/urllib3/packages/__init__.pyo 1413${PYSITELIB}/pip/_vendor/urllib3/packages/__init__.pyo
1414${PYSITELIB}/pip/_vendor/urllib3/packages/backports/__init__.py 1414${PYSITELIB}/pip/_vendor/urllib3/packages/backports/__init__.py
1415${PYSITELIB}/pip/_vendor/urllib3/packages/backports/__init__.pyc 1415${PYSITELIB}/pip/_vendor/urllib3/packages/backports/__init__.pyc
1416${PYSITELIB}/pip/_vendor/urllib3/packages/backports/__init__.pyo 1416${PYSITELIB}/pip/_vendor/urllib3/packages/backports/__init__.pyo
1417${PYSITELIB}/pip/_vendor/urllib3/packages/backports/makefile.py 1417${PYSITELIB}/pip/_vendor/urllib3/packages/backports/makefile.py
1418${PYSITELIB}/pip/_vendor/urllib3/packages/backports/makefile.pyc 1418${PYSITELIB}/pip/_vendor/urllib3/packages/backports/makefile.pyc
1419${PYSITELIB}/pip/_vendor/urllib3/packages/backports/makefile.pyo 1419${PYSITELIB}/pip/_vendor/urllib3/packages/backports/makefile.pyo
 1420${PYSITELIB}/pip/_vendor/urllib3/packages/backports/weakref_finalize.py
 1421${PYSITELIB}/pip/_vendor/urllib3/packages/backports/weakref_finalize.pyc
 1422${PYSITELIB}/pip/_vendor/urllib3/packages/backports/weakref_finalize.pyo
1420${PYSITELIB}/pip/_vendor/urllib3/packages/six.py 1423${PYSITELIB}/pip/_vendor/urllib3/packages/six.py
1421${PYSITELIB}/pip/_vendor/urllib3/packages/six.pyc 1424${PYSITELIB}/pip/_vendor/urllib3/packages/six.pyc
1422${PYSITELIB}/pip/_vendor/urllib3/packages/six.pyo 1425${PYSITELIB}/pip/_vendor/urllib3/packages/six.pyo
1423${PYSITELIB}/pip/_vendor/urllib3/poolmanager.py 1426${PYSITELIB}/pip/_vendor/urllib3/poolmanager.py
1424${PYSITELIB}/pip/_vendor/urllib3/poolmanager.pyc 1427${PYSITELIB}/pip/_vendor/urllib3/poolmanager.pyc
1425${PYSITELIB}/pip/_vendor/urllib3/poolmanager.pyo 1428${PYSITELIB}/pip/_vendor/urllib3/poolmanager.pyo
1426${PYSITELIB}/pip/_vendor/urllib3/request.py 1429${PYSITELIB}/pip/_vendor/urllib3/request.py
1427${PYSITELIB}/pip/_vendor/urllib3/request.pyc 1430${PYSITELIB}/pip/_vendor/urllib3/request.pyc
1428${PYSITELIB}/pip/_vendor/urllib3/request.pyo 1431${PYSITELIB}/pip/_vendor/urllib3/request.pyo
1429${PYSITELIB}/pip/_vendor/urllib3/response.py 1432${PYSITELIB}/pip/_vendor/urllib3/response.py
1430${PYSITELIB}/pip/_vendor/urllib3/response.pyc 1433${PYSITELIB}/pip/_vendor/urllib3/response.pyc
1431${PYSITELIB}/pip/_vendor/urllib3/response.pyo 1434${PYSITELIB}/pip/_vendor/urllib3/response.pyo
1432${PYSITELIB}/pip/_vendor/urllib3/util/__init__.py 1435${PYSITELIB}/pip/_vendor/urllib3/util/__init__.py

cvs diff -r1.55 -r1.56 pkgsrc/devel/py-pip/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-pip/distinfo 2023/06/14 11:30:54 1.55
+++ pkgsrc/devel/py-pip/distinfo 2023/07/18 06:18:10 1.56
@@ -1,10 +1,10 @@ @@ -1,10 +1,10 @@
1$NetBSD: distinfo,v 1.55 2023/06/14 11:30:54 riastradh Exp $ 1$NetBSD: distinfo,v 1.56 2023/07/18 06:18:10 adam Exp $
2 2
3BLAKE2s (pip-23.1.2.tar.gz) = 7e5c65e41fc6c5ba35f7d450de98c430413437442e88cec30bf8236ed38423e2 3BLAKE2s (pip-23.2.tar.gz) = e3d657bac81fc7d425e9f658370ffeebfbed1da2c0f03a74d96586366c4ed314
4SHA512 (pip-23.1.2.tar.gz) = 6f466ec7a5005384cd9123c9400abe345ecf08c15eba1d9803a22bb10f99bb5a640b66153491c343b26c8b4adebbc6c220b7b641e64516d1e4c6a9cf61971532 4SHA512 (pip-23.2.tar.gz) = 87069980a1b3d0ca3b9faaf38269fd45b75fa5145a4933ff098b56ca5a86519c11c23fc0188aec49458c36d2abfe083bdf682d5c55c950263f214dca7a5dfc20
5Size (pip-23.1.2.tar.gz) = 2087568 bytes 5Size (pip-23.2.tar.gz) = 2109011 bytes
6SHA1 (patch-src_pip___internal_build__env.py) = 19c6feb4b56cbdb70f9150c452dac73ca3949911 6SHA1 (patch-src_pip___internal_build__env.py) = 19c6feb4b56cbdb70f9150c452dac73ca3949911
7SHA1 (patch-src_pip___internal_commands_install.py) = 2f78c5af7c677d052a2275488dcda2f7b86c6e51 7SHA1 (patch-src_pip___internal_commands_install.py) = 2f78c5af7c677d052a2275488dcda2f7b86c6e51
8SHA1 (patch-src_pip___internal_operations_install_wheel.py) = 0f590d2a11a2373f50abbc9377044f728625b13d 8SHA1 (patch-src_pip___internal_operations_install_wheel.py) = 0f590d2a11a2373f50abbc9377044f728625b13d
9SHA1 (patch-src_pip___internal_req_____init____.py) = ea65543752173516df5f73bbd530328bd274a683 9SHA1 (patch-src_pip___internal_req_____init____.py) = ea65543752173516df5f73bbd530328bd274a683
10SHA1 (patch-src_pip___internal_req_req__install.py) = 2bce1b51a71688c368167910e16dd4fe33013922 10SHA1 (patch-src_pip___internal_req_req__install.py) = 2bce1b51a71688c368167910e16dd4fe33013922