Received: by mail.netbsd.org (Postfix, from userid 605) id 6520484D6B; Tue, 21 Feb 2023 06:31:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 950BF84CFC for ; Tue, 21 Feb 2023 06:31:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 6j2ZuK8ODB9k for ; Tue, 21 Feb 2023 06:31:45 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 2A9BF84C13 for ; Tue, 21 Feb 2023 06:31:45 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 248D9FA90; Tue, 21 Feb 2023 06:31:45 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1676961105132510" MIME-Version: 1.0 Date: Tue, 21 Feb 2023 06:31:45 +0000 From: "Adam Ciarcinski" Subject: CVS commit: pkgsrc/devel/py-pip To: pkgsrc-changes@NetBSD.org Reply-To: adam@netbsd.org X-Mailer: log_accum Message-Id: <20230221063145.248D9FA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1676961105132510 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: adam Date: Tue Feb 21 06:31:45 UTC 2023 Modified Files: pkgsrc/devel/py-pip: Makefile PLIST distinfo pkgsrc/devel/py-pip/patches: patch-src_pip___internal_build__env.py Log Message: py-pip: updated to 23.0.1 23.0.1 (2023-02-17) =================== Features -------- - Ignore PIP_REQUIRE_VIRTUALENV for ``pip index`` - Implement ``--break-system-packages`` to permit installing packages into ``EXTERNALLY-MANAGED`` Python installations. Bug Fixes --------- - Improve handling of isolated build environments on platforms that customize the Python's installation schemes, such as Debian and Homebrew. - Do not crash in presence of misformatted hash field in ``direct_url.json``. 23.0 (2023-01-30) ================= Features -------- - Change the hashes in the installation report to be a mapping. Emit the ``archive_info.hashes`` dictionary in ``direct_url.json``. - Implement logic to read the ``EXTERNALLY-MANAGED`` file as specified in PEP 668. This allows a downstream Python distributor to prevent users from using pip to modify the externally managed environment. - Enable the use of ``keyring`` found on ``PATH``. This allows ``keyring`` installed using ``pipx`` to be used by ``pip``. - The inspect and installation report formats are now declared stabled, and their version has been bumped from ``0`` to ``1``. Bug Fixes --------- - Wheel cache behavior is restored to match previous versions, allowing the cache to find existing entries. - Use the "venv" scheme if available to obtain prefixed lib paths. - Deprecated a historical ambiguity in how ``egg`` fragments in URL-style requirements are formatted and handled. ``egg`` fragments that do not look like PEP 508 names now produce a deprecation warning. - Fix scripts path in isolated build environment on Debian. - Make ``pip show`` show the editable location if package is editable - Stop checking that ``wheel`` is present when ``build-system.requires`` is provided without ``build-system.build-backend`` as ``setuptools`` (which we still check for) will inject it anyway. - Fix an issue when an already existing in-memory distribution would cause exceptions in ``pip install`` Vendored Libraries ------------------ - Upgrade certifi to 2022.12.7 - Upgrade chardet to 5.1.0 - Upgrade colorama to 0.4.6 - Upgrade distro to 1.8.0 - Remove pep517 from vendored packages - Upgrade platformdirs to 2.6.2 - Add pyproject-hooks 1.0.0 - Upgrade requests to 2.28.2 - Upgrade rich to 12.6.0 - Upgrade urllib3 to 1.26.14 Improved Documentation ---------------------- - Fixed the description of the option "--install-options" in the documentation - Remove mention that editable installs are necessary for pip freeze to report the VCS URL. - Clarify that the egg URL fragment is only necessary for editable VCS installs, and otherwise not necessary anymore. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 pkgsrc/devel/py-pip/Makefile cvs rdiff -u -r1.36 -r1.37 pkgsrc/devel/py-pip/PLIST cvs rdiff -u -r1.49 -r1.50 pkgsrc/devel/py-pip/distinfo cvs rdiff -u -r1.4 -r1.5 \ pkgsrc/devel/py-pip/patches/patch-src_pip___internal_build__env.py Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1676961105132510 Content-Disposition: inline Content-Length: 10426 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/py-pip/Makefile diff -u pkgsrc/devel/py-pip/Makefile:1.58 pkgsrc/devel/py-pip/Makefile:1.59 --- pkgsrc/devel/py-pip/Makefile:1.58 Fri Nov 11 07:52:15 2022 +++ pkgsrc/devel/py-pip/Makefile Tue Feb 21 06:31:44 2023 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.58 2022/11/11 07:52:15 taca Exp $ +# $NetBSD: Makefile,v 1.59 2023/02/21 06:31:44 adam Exp $ -DISTNAME= pip-22.3.1 +DISTNAME= pip-23.0.1 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.36 pkgsrc/devel/py-pip/PLIST:1.37 --- pkgsrc/devel/py-pip/PLIST:1.36 Mon Oct 31 17:17:19 2022 +++ pkgsrc/devel/py-pip/PLIST Tue Feb 21 06:31:44 2023 @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.36 2022/10/31 17:17:19 adam Exp $ +@comment $NetBSD: PLIST,v 1.37 2023/02/21 06:31:44 adam Exp $ bin/pip${PYVERSSUFFIX} ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt @@ -541,6 +541,9 @@ ${PYSITELIB}/pip/_vendor/chardet/cli/cha ${PYSITELIB}/pip/_vendor/chardet/codingstatemachine.py ${PYSITELIB}/pip/_vendor/chardet/codingstatemachine.pyc ${PYSITELIB}/pip/_vendor/chardet/codingstatemachine.pyo +${PYSITELIB}/pip/_vendor/chardet/codingstatemachinedict.py +${PYSITELIB}/pip/_vendor/chardet/codingstatemachinedict.pyc +${PYSITELIB}/pip/_vendor/chardet/codingstatemachinedict.pyo ${PYSITELIB}/pip/_vendor/chardet/cp949prober.py ${PYSITELIB}/pip/_vendor/chardet/cp949prober.pyc ${PYSITELIB}/pip/_vendor/chardet/cp949prober.pyo @@ -613,6 +616,9 @@ ${PYSITELIB}/pip/_vendor/chardet/langtur ${PYSITELIB}/pip/_vendor/chardet/latin1prober.py ${PYSITELIB}/pip/_vendor/chardet/latin1prober.pyc ${PYSITELIB}/pip/_vendor/chardet/latin1prober.pyo +${PYSITELIB}/pip/_vendor/chardet/macromanprober.py +${PYSITELIB}/pip/_vendor/chardet/macromanprober.pyc +${PYSITELIB}/pip/_vendor/chardet/macromanprober.pyo ${PYSITELIB}/pip/_vendor/chardet/mbcharsetprober.py ${PYSITELIB}/pip/_vendor/chardet/mbcharsetprober.pyc ${PYSITELIB}/pip/_vendor/chardet/mbcharsetprober.pyo @@ -628,6 +634,9 @@ ${PYSITELIB}/pip/_vendor/chardet/metadat ${PYSITELIB}/pip/_vendor/chardet/metadata/languages.py ${PYSITELIB}/pip/_vendor/chardet/metadata/languages.pyc ${PYSITELIB}/pip/_vendor/chardet/metadata/languages.pyo +${PYSITELIB}/pip/_vendor/chardet/resultdict.py +${PYSITELIB}/pip/_vendor/chardet/resultdict.pyc +${PYSITELIB}/pip/_vendor/chardet/resultdict.pyo ${PYSITELIB}/pip/_vendor/chardet/sbcharsetprober.py ${PYSITELIB}/pip/_vendor/chardet/sbcharsetprober.pyc ${PYSITELIB}/pip/_vendor/chardet/sbcharsetprober.pyo @@ -661,6 +670,27 @@ ${PYSITELIB}/pip/_vendor/colorama/ansito ${PYSITELIB}/pip/_vendor/colorama/initialise.py ${PYSITELIB}/pip/_vendor/colorama/initialise.pyc ${PYSITELIB}/pip/_vendor/colorama/initialise.pyo +${PYSITELIB}/pip/_vendor/colorama/tests/__init__.py +${PYSITELIB}/pip/_vendor/colorama/tests/__init__.pyc +${PYSITELIB}/pip/_vendor/colorama/tests/__init__.pyo +${PYSITELIB}/pip/_vendor/colorama/tests/ansi_test.py +${PYSITELIB}/pip/_vendor/colorama/tests/ansi_test.pyc +${PYSITELIB}/pip/_vendor/colorama/tests/ansi_test.pyo +${PYSITELIB}/pip/_vendor/colorama/tests/ansitowin32_test.py +${PYSITELIB}/pip/_vendor/colorama/tests/ansitowin32_test.pyc +${PYSITELIB}/pip/_vendor/colorama/tests/ansitowin32_test.pyo +${PYSITELIB}/pip/_vendor/colorama/tests/initialise_test.py +${PYSITELIB}/pip/_vendor/colorama/tests/initialise_test.pyc +${PYSITELIB}/pip/_vendor/colorama/tests/initialise_test.pyo +${PYSITELIB}/pip/_vendor/colorama/tests/isatty_test.py +${PYSITELIB}/pip/_vendor/colorama/tests/isatty_test.pyc +${PYSITELIB}/pip/_vendor/colorama/tests/isatty_test.pyo +${PYSITELIB}/pip/_vendor/colorama/tests/utils.py +${PYSITELIB}/pip/_vendor/colorama/tests/utils.pyc +${PYSITELIB}/pip/_vendor/colorama/tests/utils.pyo +${PYSITELIB}/pip/_vendor/colorama/tests/winterm_test.py +${PYSITELIB}/pip/_vendor/colorama/tests/winterm_test.pyc +${PYSITELIB}/pip/_vendor/colorama/tests/winterm_test.pyo ${PYSITELIB}/pip/_vendor/colorama/win32.py ${PYSITELIB}/pip/_vendor/colorama/win32.pyc ${PYSITELIB}/pip/_vendor/colorama/win32.pyo @@ -790,39 +820,6 @@ ${PYSITELIB}/pip/_vendor/packaging/utils ${PYSITELIB}/pip/_vendor/packaging/version.py ${PYSITELIB}/pip/_vendor/packaging/version.pyc ${PYSITELIB}/pip/_vendor/packaging/version.pyo -${PYSITELIB}/pip/_vendor/pep517/__init__.py -${PYSITELIB}/pip/_vendor/pep517/__init__.pyc -${PYSITELIB}/pip/_vendor/pep517/__init__.pyo -${PYSITELIB}/pip/_vendor/pep517/_compat.py -${PYSITELIB}/pip/_vendor/pep517/_compat.pyc -${PYSITELIB}/pip/_vendor/pep517/_compat.pyo -${PYSITELIB}/pip/_vendor/pep517/build.py -${PYSITELIB}/pip/_vendor/pep517/build.pyc -${PYSITELIB}/pip/_vendor/pep517/build.pyo -${PYSITELIB}/pip/_vendor/pep517/check.py -${PYSITELIB}/pip/_vendor/pep517/check.pyc -${PYSITELIB}/pip/_vendor/pep517/check.pyo -${PYSITELIB}/pip/_vendor/pep517/colorlog.py -${PYSITELIB}/pip/_vendor/pep517/colorlog.pyc -${PYSITELIB}/pip/_vendor/pep517/colorlog.pyo -${PYSITELIB}/pip/_vendor/pep517/dirtools.py -${PYSITELIB}/pip/_vendor/pep517/dirtools.pyc -${PYSITELIB}/pip/_vendor/pep517/dirtools.pyo -${PYSITELIB}/pip/_vendor/pep517/envbuild.py -${PYSITELIB}/pip/_vendor/pep517/envbuild.pyc -${PYSITELIB}/pip/_vendor/pep517/envbuild.pyo -${PYSITELIB}/pip/_vendor/pep517/in_process/__init__.py -${PYSITELIB}/pip/_vendor/pep517/in_process/__init__.pyc -${PYSITELIB}/pip/_vendor/pep517/in_process/__init__.pyo -${PYSITELIB}/pip/_vendor/pep517/in_process/_in_process.py -${PYSITELIB}/pip/_vendor/pep517/in_process/_in_process.pyc -${PYSITELIB}/pip/_vendor/pep517/in_process/_in_process.pyo -${PYSITELIB}/pip/_vendor/pep517/meta.py -${PYSITELIB}/pip/_vendor/pep517/meta.pyc -${PYSITELIB}/pip/_vendor/pep517/meta.pyo -${PYSITELIB}/pip/_vendor/pep517/wrappers.py -${PYSITELIB}/pip/_vendor/pep517/wrappers.pyc -${PYSITELIB}/pip/_vendor/pep517/wrappers.pyo ${PYSITELIB}/pip/_vendor/pkg_resources/__init__.py ${PYSITELIB}/pip/_vendor/pkg_resources/__init__.pyc ${PYSITELIB}/pip/_vendor/pkg_resources/__init__.pyo @@ -991,6 +988,21 @@ ${PYSITELIB}/pip/_vendor/pyparsing/unico ${PYSITELIB}/pip/_vendor/pyparsing/util.py ${PYSITELIB}/pip/_vendor/pyparsing/util.pyc ${PYSITELIB}/pip/_vendor/pyparsing/util.pyo +${PYSITELIB}/pip/_vendor/pyproject_hooks/__init__.py +${PYSITELIB}/pip/_vendor/pyproject_hooks/__init__.pyc +${PYSITELIB}/pip/_vendor/pyproject_hooks/__init__.pyo +${PYSITELIB}/pip/_vendor/pyproject_hooks/_compat.py +${PYSITELIB}/pip/_vendor/pyproject_hooks/_compat.pyc +${PYSITELIB}/pip/_vendor/pyproject_hooks/_compat.pyo +${PYSITELIB}/pip/_vendor/pyproject_hooks/_impl.py +${PYSITELIB}/pip/_vendor/pyproject_hooks/_impl.pyc +${PYSITELIB}/pip/_vendor/pyproject_hooks/_impl.pyo +${PYSITELIB}/pip/_vendor/pyproject_hooks/_in_process/__init__.py +${PYSITELIB}/pip/_vendor/pyproject_hooks/_in_process/__init__.pyc +${PYSITELIB}/pip/_vendor/pyproject_hooks/_in_process/__init__.pyo +${PYSITELIB}/pip/_vendor/pyproject_hooks/_in_process/_in_process.py +${PYSITELIB}/pip/_vendor/pyproject_hooks/_in_process/_in_process.pyc +${PYSITELIB}/pip/_vendor/pyproject_hooks/_in_process/_in_process.pyo ${PYSITELIB}/pip/_vendor/requests/__init__.py ${PYSITELIB}/pip/_vendor/requests/__init__.pyc ${PYSITELIB}/pip/_vendor/requests/__init__.pyo @@ -1096,6 +1108,9 @@ ${PYSITELIB}/pip/_vendor/rich/_log_rende ${PYSITELIB}/pip/_vendor/rich/_loop.py ${PYSITELIB}/pip/_vendor/rich/_loop.pyc ${PYSITELIB}/pip/_vendor/rich/_loop.pyo +${PYSITELIB}/pip/_vendor/rich/_null_file.py +${PYSITELIB}/pip/_vendor/rich/_null_file.pyc +${PYSITELIB}/pip/_vendor/rich/_null_file.pyo ${PYSITELIB}/pip/_vendor/rich/_palettes.py ${PYSITELIB}/pip/_vendor/rich/_palettes.pyc ${PYSITELIB}/pip/_vendor/rich/_palettes.pyo Index: pkgsrc/devel/py-pip/distinfo diff -u pkgsrc/devel/py-pip/distinfo:1.49 pkgsrc/devel/py-pip/distinfo:1.50 --- pkgsrc/devel/py-pip/distinfo:1.49 Tue Nov 8 11:53:49 2022 +++ pkgsrc/devel/py-pip/distinfo Tue Feb 21 06:31:44 2023 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.49 2022/11/08 11:53:49 adam Exp $ +$NetBSD: distinfo,v 1.50 2023/02/21 06:31:44 adam Exp $ -BLAKE2s (pip-22.3.1.tar.gz) = 48d4c3dd66f008d86398599a24a31fff8a113a4fa1f5bf7bbd790003edc82f33 -SHA512 (pip-22.3.1.tar.gz) = 5bfba1eb6bd444d1a57dd5a9f03b95fe64ec27f238774d59a3b21a206a47390a9dba9ce44da50fb935f45ed23dba08ab9a5fa94cb1e67e420bb68b72abb4ef61 -Size (pip-22.3.1.tar.gz) = 2078129 bytes -SHA1 (patch-src_pip___internal_build__env.py) = 3dfa58c2014ca51c01715b7f2fcd3e7b56eb388a +BLAKE2s (pip-23.0.1.tar.gz) = 3ae7da4091ad118cef81127aca38207876e8472c851503959d64ae7fbea84dbe +SHA512 (pip-23.0.1.tar.gz) = f85523d44ccf81b340cc63964441e7ce4c9c0296518ec8fee742692c05b470b02263be810d2f4806bc9fc10d4fcfbeb75bfb3f1cc4509a54955804a4fbb21e1e +Size (pip-23.0.1.tar.gz) = 2082217 bytes +SHA1 (patch-src_pip___internal_build__env.py) = 96c0707a2d41641da5795352ba2db283b75ce6ed 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.4 pkgsrc/devel/py-pip/patches/patch-src_pip___internal_build__env.py:1.5 --- pkgsrc/devel/py-pip/patches/patch-src_pip___internal_build__env.py:1.4 Wed Aug 10 09:17:48 2022 +++ pkgsrc/devel/py-pip/patches/patch-src_pip___internal_build__env.py Tue Feb 21 06:31:44 2023 @@ -1,19 +1,19 @@ -$NetBSD: patch-src_pip___internal_build__env.py,v 1.4 2022/08/10 09:17:48 adam Exp $ +$NetBSD: patch-src_pip___internal_build__env.py,v 1.5 2023/02/21 06:31:44 adam Exp $ Copy distutils distro config file to overlay. https://github.com/pypa/pip/issues/10949 ---- src/pip/_internal/build_env.py.orig 2022-08-03 18:55:14.000000000 +0000 +--- src/pip/_internal/build_env.py.orig 2023-02-17 18:31:10.000000000 +0000 +++ src/pip/_internal/build_env.py -@@ -7,6 +7,7 @@ import pathlib +@@ -8,6 +8,7 @@ import site import sys import textwrap from collections import OrderedDict +from shutil import copy - from sysconfig import get_paths from types import TracebackType - from typing import TYPE_CHECKING, Iterable, List, Optional, Set, Tuple, Type -@@ -81,6 +82,9 @@ class BuildEnvironment: + from typing import TYPE_CHECKING, Iterable, List, Optional, Set, Tuple, Type, Union + +@@ -102,6 +103,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) --_----------=_1676961105132510--