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:           Fri Apr 21 09:21:43 UTC 2023

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

Log Message:
py-pip: updated to 23.1

23.1 (2023-04-15)
=================

Deprecations and Removals
-------------------------
- Remove support for the deprecated ``--install-options``.
- ``--no-binary`` does not imply ``setup.py install`` anymore. Instead a wheel will be
  built locally and installed.
- ``--no-binary`` does not disable the cache of locally built wheels anymore. It only
  means "don't download wheels".
- Deprecate ``--build-option`` and ``--global-option``. Users are invited to switch to
  ``--config-settings``.
- Using ``--config-settings`` with projects that don't have a ``pyproject.toml`` now print
  a deprecation warning. In the future the presence of config settings will automatically
  enable the default build backend for legacy projects and pass the setttings to it.
- Remove ``setup.py install`` fallback when building a wheel failed for projects without
  ``pyproject.toml``.
- When the ``wheel`` package is not installed, pip now uses the default build backend
  instead of ``setup.py install`` for project without ``pyproject.toml``.

Features
--------
- Specify egg-link location in assertion message when it does not match installed location to provide better error message for debugging.
- Present conflict information during installation after each choice that is rejected (pass ``-vv`` to ``pip install`` to show it)
- Display dependency chain on each Collecting/Processing log line.
- Support a per-requirement ``--config-settings`` option in requirements files.
- The ``--config-settings``/``-C`` option now supports using the same key multiple
  times. When the same key is specified multiple times, all values are passed to
  the build backend as a list, as opposed to the previous behavior, where pip would
  only pass the last value if the same key was used multiple times.
- Add ``-C`` as a short version of the ``--config-settings`` option.
- Reduce the number of resolver rounds, since backjumping makes the resolver more efficient in finding solutions. This also makes pathological cases fail quicker.
- Warn if ``--hash`` is used on a line without requirement in a requirements file.
- Stop propagating CLI ``--config-settings`` to the build dependencies. They already did
  not propagate to requirements provided in requirement files. To pass the same config
  settings to several requirements, users should provide the requirements as CLI
  arguments.
- Support wheel cache when using ``--require-hashes``.
- Add ``--keyring-provider`` flag. See the Authentication page in the documentation for more info.
- In the case of virtual environments, configuration files are now also included from the base installation.

Bug Fixes
---------
- Fix grammar by changing "A new release of pip available:" to "A new release of pip is available:" in the notice used for indicating that.
- Normalize paths before checking if installed scripts are on PATH.
- Correct the way to decide if keyring is available.
- More consistent resolution backtracking by removing legacy hack related to setuptools resolution
- Include ``AUTHORS.txt`` in pip's wheels.
- The ``uninstall`` and ``install --force-reinstall`` commands no longer call
  ``normalize_path()`` repeatedly on the same paths. Instead, these results are
  cached for the duration of an uninstall operation, resulting in improved
  performance, particularly on Windows.
- Fix and improve the parsing of hashes embedded in URL fragments.
- When package A depends on package B provided as a direct URL dependency including a hash
  embedded in the link, the ``--require-hashes`` option did not warn when user supplied hashes
  were missing for package B.
- Correctly report ``requested_extras`` in the installation report when extras are
  specified for a local directory installation.
- When installing an archive from a direct URL or local file, populate
  ``download_info.info.hashes`` in the installation report, in addition to the legacy
  ``download_info.info.hash`` key.

Vendored Libraries
------------------
- Upgrade msgpack to 1.0.5
- Patch pkg_resources to remove dependency on ``jaraco.text``.
- Upgrade platformdirs to 3.2.0
- Upgrade pygments to 2.14.0
- Upgrade resolvelib to 1.0.1
- Upgrade rich to 13.3.3
- Upgrade setuptools to 67.6.1
- Upgrade tenacity to 8.2.2
- Upgrade typing_extensions to 4.5.0
- Upgrade urllib3 to 1.26.15

Improved Documentation
----------------------
- Cross-reference the ``--python`` flag from the ``--prefix`` flag,
  and mention limitations of ``--prefix`` regarding script installation.
- Add SECURITY.md to make the policy offical.
- Add username to Git over SSH example.
- Quote extras in the pip install docs to guard shells with default glob
  qualifiers, like zsh.
- Make it clear that requirements/constraints file can be a URL


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 pkgsrc/devel/py-pip/Makefile
cvs rdiff -u -r1.37 -r1.38 pkgsrc/devel/py-pip/PLIST
cvs rdiff -u -r1.51 -r1.52 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.61 pkgsrc/devel/py-pip/Makefile:1.62
--- pkgsrc/devel/py-pip/Makefile:1.61   Wed Mar 29 09:34:08 2023
+++ pkgsrc/devel/py-pip/Makefile        Fri Apr 21 09:21:43 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.61 2023/03/29 09:34:08 wiz Exp $
+# $NetBSD: Makefile,v 1.62 2023/04/21 09:21:43 adam Exp $
 
-DISTNAME=      pip-23.0.1
+DISTNAME=      pip-23.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pip/}
 

Index: pkgsrc/devel/py-pip/PLIST
diff -u pkgsrc/devel/py-pip/PLIST:1.37 pkgsrc/devel/py-pip/PLIST:1.38
--- pkgsrc/devel/py-pip/PLIST:1.37      Tue Feb 21 06:31:44 2023
+++ pkgsrc/devel/py-pip/PLIST   Fri Apr 21 09:21:43 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.37 2023/02/21 06:31:44 adam Exp $
+@comment $NetBSD: PLIST,v 1.38 2023/04/21 09:21:43 adam Exp $
 bin/pip${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -285,9 +285,6 @@ ${PYSITELIB}/pip/_internal/operations/in
 ${PYSITELIB}/pip/_internal/operations/install/editable_legacy.py
 ${PYSITELIB}/pip/_internal/operations/install/editable_legacy.pyc
 ${PYSITELIB}/pip/_internal/operations/install/editable_legacy.pyo
-${PYSITELIB}/pip/_internal/operations/install/legacy.py
-${PYSITELIB}/pip/_internal/operations/install/legacy.pyc
-${PYSITELIB}/pip/_internal/operations/install/legacy.pyo
 ${PYSITELIB}/pip/_internal/operations/install/wheel.py
 ${PYSITELIB}/pip/_internal/operations/install/wheel.pyc
 ${PYSITELIB}/pip/_internal/operations/install/wheel.pyo
@@ -360,6 +357,9 @@ ${PYSITELIB}/pip/_internal/self_outdated
 ${PYSITELIB}/pip/_internal/utils/__init__.py
 ${PYSITELIB}/pip/_internal/utils/__init__.pyc
 ${PYSITELIB}/pip/_internal/utils/__init__.pyo
+${PYSITELIB}/pip/_internal/utils/_jaraco_text.py
+${PYSITELIB}/pip/_internal/utils/_jaraco_text.pyc
+${PYSITELIB}/pip/_internal/utils/_jaraco_text.pyo
 ${PYSITELIB}/pip/_internal/utils/_log.py
 ${PYSITELIB}/pip/_internal/utils/_log.pyc
 ${PYSITELIB}/pip/_internal/utils/_log.pyo
@@ -381,9 +381,6 @@ ${PYSITELIB}/pip/_internal/utils/depreca
 ${PYSITELIB}/pip/_internal/utils/direct_url_helpers.py
 ${PYSITELIB}/pip/_internal/utils/direct_url_helpers.pyc
 ${PYSITELIB}/pip/_internal/utils/direct_url_helpers.pyo
-${PYSITELIB}/pip/_internal/utils/distutils_args.py
-${PYSITELIB}/pip/_internal/utils/distutils_args.pyc
-${PYSITELIB}/pip/_internal/utils/distutils_args.pyo
 ${PYSITELIB}/pip/_internal/utils/egg_link.py
 ${PYSITELIB}/pip/_internal/utils/egg_link.pyc
 ${PYSITELIB}/pip/_internal/utils/egg_link.pyo
@@ -823,9 +820,6 @@ ${PYSITELIB}/pip/_vendor/packaging/versi
 ${PYSITELIB}/pip/_vendor/pkg_resources/__init__.py
 ${PYSITELIB}/pip/_vendor/pkg_resources/__init__.pyc
 ${PYSITELIB}/pip/_vendor/pkg_resources/__init__.pyo
-${PYSITELIB}/pip/_vendor/pkg_resources/py31compat.py
-${PYSITELIB}/pip/_vendor/pkg_resources/py31compat.pyc
-${PYSITELIB}/pip/_vendor/pkg_resources/py31compat.pyo
 ${PYSITELIB}/pip/_vendor/platformdirs/__init__.py
 ${PYSITELIB}/pip/_vendor/platformdirs/__init__.pyc
 ${PYSITELIB}/pip/_vendor/platformdirs/__init__.pyo
@@ -1099,6 +1093,9 @@ ${PYSITELIB}/pip/_vendor/rich/_export_fo
 ${PYSITELIB}/pip/_vendor/rich/_extension.py
 ${PYSITELIB}/pip/_vendor/rich/_extension.pyc
 ${PYSITELIB}/pip/_vendor/rich/_extension.pyo
+${PYSITELIB}/pip/_vendor/rich/_fileno.py
+${PYSITELIB}/pip/_vendor/rich/_fileno.pyc
+${PYSITELIB}/pip/_vendor/rich/_fileno.pyo
 ${PYSITELIB}/pip/_vendor/rich/_inspect.py
 ${PYSITELIB}/pip/_vendor/rich/_inspect.pyc
 ${PYSITELIB}/pip/_vendor/rich/_inspect.pyo

Index: pkgsrc/devel/py-pip/distinfo
diff -u pkgsrc/devel/py-pip/distinfo:1.51 pkgsrc/devel/py-pip/distinfo:1.52
--- pkgsrc/devel/py-pip/distinfo:1.51   Mon Mar  6 15:49:29 2023
+++ pkgsrc/devel/py-pip/distinfo        Fri Apr 21 09:21:43 2023
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.51 2023/03/06 15:49:29 wiz Exp $
+$NetBSD: distinfo,v 1.52 2023/04/21 09:21:43 adam Exp $
 
-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
+BLAKE2s (pip-23.1.tar.gz) = dabb9f9c5ebabb6d9ad99125f533d9932723526280c54e9f6e37c7e0666e03f5
+SHA512 (pip-23.1.tar.gz) = 6573096753db231e3189ad66d9fba08b99d1320593131ced7cee2d4442b137749fd0fc5c98fe338c4683081ea1c1bfd269a752ff16052c72457f8bb91265b5d2
+Size (pip-23.1.tar.gz) = 2087572 bytes
 SHA1 (patch-src_pip___internal_build__env.py) = 19c6feb4b56cbdb70f9150c452dac73ca3949911



Home | Main Index | Thread Index | Old Index