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 Jul 31 08:14:36 UTC 2024

Modified Files:
        pkgsrc/devel/py-pip: Makefile PLIST distinfo

Log Message:
py-pip: updated to 24.2

24.2 (2024-07-28)

Deprecations and Removals

Deprecate pip install --editable falling back to setup.py develop when using a setuptools version that does not support PEP 660 (setuptools v63 and older).

Features

Check unsupported packages for the current platform.
Use system certificates and certifi certificates to verify HTTPS connections on Python 3.10+. Python 3.9 and earlier only use certifi.
To revert to previous behaviour, pass the flag --use-deprecated=legacy-certs.

Improve discovery performance of installed packages when the importlib.metadata backend is used to load distribution metadata (used by default under Python 3.11+).
Improve performance when the same requirement string appears many times during resolution, by consistently caching the parsed requirement string.
Minor performance improvement of finding applicable package candidates by not repeatedly calculating their versions
Disable pip’s self version check when invoking a pip subprocess to install PEP 517 build requirements.
Improve dependency resolution performance by caching platform compatibility tags during wheel cache lookup.
wheel is no longer explicitly listed as a build dependency of pip. setuptools injects this dependency in the get_requires_for_build_wheel() hook and no longer needs it on newer versions.
Ignore --require-virtualenv for pip check and pip freeze
Improve package download and install performance.
Increase chunk sizes when downloading (256 kB, up from 10 kB) and reading files (1 MB, up from 8 kB). This reduces the frequency of updates to pip’s progress bar.

Improve pip install performance.
Files are now extracted in 1MB blocks, or in one block matching the file size for smaller files. A decompressor is no longer instantiated when extracting 0 bytes files, it is not necessary because 
there is no data to decompress.

Bug Fixes

Set no_color to global rich.Console instance.
Fix resolution to respect --python-version when checking Requires-Python.
Perform hash comparisons in a case-insensitive manner.
Avoid dlopen failure for glibc detection in musl builds
Avoid keyring logging crashes when pip is run in verbose mode.
Fix finding hardlink targets in tar files with an ignored top-level directory.
Improve pip install performance by only creating required parent directories once, instead of before extracting every file in the wheel.
Improve pip install performance by calculating installed packages printout in linear time instead of quadratic time.

Vendored Libraries

Remove vendored tenacity.
Update the preload list for the DEBUNDLED case, to replace pep517 that has been renamed to pyproject_hooks.
Use tomllib from the stdlib if available, rather than tomli
Upgrade certifi to 2024.7.4
Upgrade platformdirs to 4.2.2
Upgrade pygments to 2.18.0
Upgrade setuptools to 70.3.0
Upgrade typing_extensions to 4.12.2

Improved Documentation

Correct —-ignore-conflicts (including an em dash) to --ignore-conflicts.


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 pkgsrc/devel/py-pip/Makefile
cvs rdiff -u -r1.43 -r1.44 pkgsrc/devel/py-pip/PLIST
cvs rdiff -u -r1.64 -r1.65 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/Makefile
diff -u pkgsrc/devel/py-pip/Makefile:1.76 pkgsrc/devel/py-pip/Makefile:1.77
--- pkgsrc/devel/py-pip/Makefile:1.76   Sun Jul 14 13:09:52 2024
+++ pkgsrc/devel/py-pip/Makefile        Wed Jul 31 08:14:36 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.76 2024/07/14 13:09:52 wiz Exp $
+# $NetBSD: Makefile,v 1.77 2024/07/31 08:14:36 adam Exp $
 
-DISTNAME=      pip-24.1.2
+DISTNAME=      pip-24.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pip/}
@@ -10,7 +10,7 @@ HOMEPAGE=     https://pip.pypa.io/
 COMMENT=       Installs Python packages as an easy_install replacement
 LICENSE=       mit
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=69.0:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=67.6.1:../../devel/py-setuptools
 TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 
 USE_LANGUAGES= # none

Index: pkgsrc/devel/py-pip/PLIST
diff -u pkgsrc/devel/py-pip/PLIST:1.43 pkgsrc/devel/py-pip/PLIST:1.44
--- pkgsrc/devel/py-pip/PLIST:1.43      Wed Jun 26 16:57:56 2024
+++ pkgsrc/devel/py-pip/PLIST   Wed Jul 31 08:14:36 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.43 2024/06/26 16:57:56 wiz Exp $
+@comment $NetBSD: PLIST,v 1.44 2024/07/31 08:14:36 adam Exp $
 bin/pip-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS.txt
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
@@ -415,6 +415,9 @@ ${PYSITELIB}/pip/_internal/utils/misc.py
 ${PYSITELIB}/pip/_internal/utils/packaging.py
 ${PYSITELIB}/pip/_internal/utils/packaging.pyc
 ${PYSITELIB}/pip/_internal/utils/packaging.pyo
+${PYSITELIB}/pip/_internal/utils/retry.py
+${PYSITELIB}/pip/_internal/utils/retry.pyc
+${PYSITELIB}/pip/_internal/utils/retry.pyo
 ${PYSITELIB}/pip/_internal/utils/setuptools_build.py
 ${PYSITELIB}/pip/_internal/utils/setuptools_build.pyc
 ${PYSITELIB}/pip/_internal/utils/setuptools_build.pyo
@@ -1102,40 +1105,6 @@ ${PYSITELIB}/pip/_vendor/rich/traceback.
 ${PYSITELIB}/pip/_vendor/rich/tree.py
 ${PYSITELIB}/pip/_vendor/rich/tree.pyc
 ${PYSITELIB}/pip/_vendor/rich/tree.pyo
-${PYSITELIB}/pip/_vendor/tenacity/__init__.py
-${PYSITELIB}/pip/_vendor/tenacity/__init__.pyc
-${PYSITELIB}/pip/_vendor/tenacity/__init__.pyo
-${PYSITELIB}/pip/_vendor/tenacity/_asyncio.py
-${PYSITELIB}/pip/_vendor/tenacity/_asyncio.pyc
-${PYSITELIB}/pip/_vendor/tenacity/_asyncio.pyo
-${PYSITELIB}/pip/_vendor/tenacity/_utils.py
-${PYSITELIB}/pip/_vendor/tenacity/_utils.pyc
-${PYSITELIB}/pip/_vendor/tenacity/_utils.pyo
-${PYSITELIB}/pip/_vendor/tenacity/after.py
-${PYSITELIB}/pip/_vendor/tenacity/after.pyc
-${PYSITELIB}/pip/_vendor/tenacity/after.pyo
-${PYSITELIB}/pip/_vendor/tenacity/before.py
-${PYSITELIB}/pip/_vendor/tenacity/before.pyc
-${PYSITELIB}/pip/_vendor/tenacity/before.pyo
-${PYSITELIB}/pip/_vendor/tenacity/before_sleep.py
-${PYSITELIB}/pip/_vendor/tenacity/before_sleep.pyc
-${PYSITELIB}/pip/_vendor/tenacity/before_sleep.pyo
-${PYSITELIB}/pip/_vendor/tenacity/nap.py
-${PYSITELIB}/pip/_vendor/tenacity/nap.pyc
-${PYSITELIB}/pip/_vendor/tenacity/nap.pyo
-${PYSITELIB}/pip/_vendor/tenacity/py.typed
-${PYSITELIB}/pip/_vendor/tenacity/retry.py
-${PYSITELIB}/pip/_vendor/tenacity/retry.pyc
-${PYSITELIB}/pip/_vendor/tenacity/retry.pyo
-${PYSITELIB}/pip/_vendor/tenacity/stop.py
-${PYSITELIB}/pip/_vendor/tenacity/stop.pyc
-${PYSITELIB}/pip/_vendor/tenacity/stop.pyo
-${PYSITELIB}/pip/_vendor/tenacity/tornadoweb.py
-${PYSITELIB}/pip/_vendor/tenacity/tornadoweb.pyc
-${PYSITELIB}/pip/_vendor/tenacity/tornadoweb.pyo
-${PYSITELIB}/pip/_vendor/tenacity/wait.py
-${PYSITELIB}/pip/_vendor/tenacity/wait.pyc
-${PYSITELIB}/pip/_vendor/tenacity/wait.pyo
 ${PYSITELIB}/pip/_vendor/tomli/__init__.py
 ${PYSITELIB}/pip/_vendor/tomli/__init__.pyc
 ${PYSITELIB}/pip/_vendor/tomli/__init__.pyo

Index: pkgsrc/devel/py-pip/distinfo
diff -u pkgsrc/devel/py-pip/distinfo:1.64 pkgsrc/devel/py-pip/distinfo:1.65
--- pkgsrc/devel/py-pip/distinfo:1.64   Sun Jul 14 13:09:52 2024
+++ pkgsrc/devel/py-pip/distinfo        Wed Jul 31 08:14:36 2024
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.64 2024/07/14 13:09:52 wiz Exp $
+$NetBSD: distinfo,v 1.65 2024/07/31 08:14:36 adam Exp $
 
-BLAKE2s (pip-24.1.2.tar.gz) = 0ada533053ab25d8811630a11c516c655f683717db9f21d3b086dd665e3f812d
-SHA512 (pip-24.1.2.tar.gz) = ed4c5456ad38975eac664cea6f2dbb07eb91a086fb532b044fd244b8c7ca98e23d71d518d7fdecadf4c57103ec6a7acb97f1ba4c3530407e42531f890f08c143
-Size (pip-24.1.2.tar.gz) = 1926029 bytes
+BLAKE2s (pip-24.2.tar.gz) = dedfaf4135bab6a72a22cec0f611ea534e9cfde7692dfd119de92a226432b8fb
+SHA512 (pip-24.2.tar.gz) = 42da0dc6ccf5759fea20fd6f54db272aae7afb2d997c84e1d817e3c95437ba073f4f15cb511e5275cf4f35a82828bb0259c5ffe381d278dc75c2bc8f82dfa404
+Size (pip-24.2.tar.gz) = 1922041 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