Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-pip py-pip: updated to 20.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a03ce7143b4b
branches:  trunk
changeset: 436206:a03ce7143b4b
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jul 29 10:00:16 2020 +0000

description:
py-pip: updated to 20.2

20.2
====

Deprecations and Removals
-------------------------
- Deprecate setup.py-based builds that do not generate an ``.egg-info`` directory.
- Disallow passing install-location-related arguments in ``--install-options``.
- Add deprecation warning for invalid requirements format "base>=1.0[extra]"
- Deprecate legacy setup.py install when building a wheel failed for source
  distributions without pyproject.toml
- Deprecate -b/--build/--build-dir/--build-directory. Its current behaviour is confusing
  and breaks in case different versions of the same distribution need to be built during
  the resolution process. Using the TMPDIR/TEMP/TMP environment variable, possibly
  combined with --no-clean covers known use cases.
- Remove undocumented and deprecated option ``--always-unzip``

Features
--------
- Log debugging information about pip, in ``pip install --verbose``.
- Refine error messages to avoid showing Python tracebacks when an HTTP error occurs.
- Install wheel files directly instead of extracting them to a temp directory.
- Add a beta version of pip's next-generation dependency resolver.

  Move pip's new resolver into beta, remove the
  ``--unstable-feature=resolver`` flag, and enable the
  ``--use-feature=2020-resolver`` flag. The new resolver is
  significantly stricter and more consistent when it receives
  incompatible instructions, and reduces support for certain kinds of
  :ref:`Constraints Files`, so some workarounds and workflows may
  break. More details about how to test and migrate, and how to report
  issues, at :ref:`Resolver changes 2020` . Maintainers are preparing to
  release pip 20.3, with the new resolver on by default, in October.
- Add a subcommand ``debug`` to ``pip config`` to list available configuration sources and the key-value pairs defined in them.
- Warn if index pages have unexpected content-type
- Allow specifying ``--prefer-binary`` option in a requirements file
- Generate PEP 376 REQUESTED metadata for user supplied requirements installed
  by pip.
- Warn if package url is a vcs or an archive url with invalid scheme
- Parallelize network operations in ``pip list``.
- Allow the new resolver to obtain dependency information through wheels
  lazily downloaded using HTTP range requests.  To enable this feature,
  invoke ``pip`` with ``--use-feature=fast-deps``.
- Support ``--use-feature`` in requirements files

Bug Fixes
---------
- Use canonical package names while looking up already installed packages.
- Fix normalizing path on Windows when installing package on another logical disk.
- The VCS commands run by pip as subprocesses don't merge stdout and stderr anymore, improving the output parsing by subsequent commands.
- Correctly treat non-ASCII entry point declarations in wheels so they can be
  installed on Windows.
- Update author email in config and tests to reflect decommissioning of pypa-dev list.
- Headers provided by wheels in .data directories are now correctly installed
  into the user-provided locations, such as ``--prefix``, instead of the virtual
  environment pip is running in.

Vendored Libraries
------------------
- Vendored htmlib5 no longer imports deprecated xml.etree.cElementTree on Python 3.
- Upgrade appdirs to 1.4.4
- Upgrade certifi to 2020.6.20
- Upgrade distlib to 0.3.1
- Upgrade html5lib to 1.1
- Upgrade idna to 2.10
- Upgrade packaging to 20.4
- Upgrade requests to 2.24.0
- Upgrade six to 1.15.0
- Upgrade toml to 0.10.1
- Upgrade urllib3 to 1.25.9

Improved Documentation
----------------------
- Add ``--no-input`` option to pip docs
- List of options supported in requirements file are extracted from source of truth,
  instead of being maintained manually.
- Fix pip config docstring so that the subcommands render correctly in the docs
- replace links to the old pypa-dev mailing list with https://mail.python.org/mailman3/lists/distutils-sig.python.org/
- Fix example for defining multiple values for options which support them
- Add documentation that helps the user fix dependency conflicts
- Add feature flags to docs
- Document how to install package extras from git branch and source distributions.

diffstat:

 devel/py-pip/Makefile |   7 +++----
 devel/py-pip/PLIST    |  26 +++++++++++++++++++-------
 devel/py-pip/distinfo |  10 +++++-----
 3 files changed, 27 insertions(+), 16 deletions(-)

diffs (113 lines):

diff -r af06d4ef19c7 -r a03ce7143b4b devel/py-pip/Makefile
--- a/devel/py-pip/Makefile     Wed Jul 29 07:48:45 2020 +0000
+++ b/devel/py-pip/Makefile     Wed Jul 29 10:00:16 2020 +0000
@@ -1,13 +1,12 @@
-# $NetBSD: Makefile,v 1.38 2020/06/08 20:17:56 leot Exp $
+# $NetBSD: Makefile,v 1.39 2020/07/29 10:00:16 adam Exp $
 
-DISTNAME=      pip-20.1.1
+DISTNAME=      pip-20.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pip/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://www.pip-installer.org/
+HOMEPAGE=      https://pip.pypa.io/
 COMMENT=       Installs Python packages as an easy_install replacement
 LICENSE=       mit
 
diff -r af06d4ef19c7 -r a03ce7143b4b devel/py-pip/PLIST
--- a/devel/py-pip/PLIST        Wed Jul 29 07:48:45 2020 +0000
+++ b/devel/py-pip/PLIST        Wed Jul 29 10:00:16 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.25 2020/06/01 16:27:17 adam Exp $
+@comment $NetBSD: PLIST,v 1.26 2020/07/29 10:00:16 adam Exp $
 bin/pip${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -186,6 +186,9 @@
 ${PYSITELIB}/pip/_internal/network/download.py
 ${PYSITELIB}/pip/_internal/network/download.pyc
 ${PYSITELIB}/pip/_internal/network/download.pyo
+${PYSITELIB}/pip/_internal/network/lazy_wheel.py
+${PYSITELIB}/pip/_internal/network/lazy_wheel.pyc
+${PYSITELIB}/pip/_internal/network/lazy_wheel.pyo
 ${PYSITELIB}/pip/_internal/network/session.py
 ${PYSITELIB}/pip/_internal/network/session.pyc
 ${PYSITELIB}/pip/_internal/network/session.pyo
@@ -306,6 +309,9 @@
 ${PYSITELIB}/pip/_internal/utils/compatibility_tags.py
 ${PYSITELIB}/pip/_internal/utils/compatibility_tags.pyc
 ${PYSITELIB}/pip/_internal/utils/compatibility_tags.pyo
+${PYSITELIB}/pip/_internal/utils/datetime.py
+${PYSITELIB}/pip/_internal/utils/datetime.pyc
+${PYSITELIB}/pip/_internal/utils/datetime.pyo
 ${PYSITELIB}/pip/_internal/utils/deprecation.py
 ${PYSITELIB}/pip/_internal/utils/deprecation.pyc
 ${PYSITELIB}/pip/_internal/utils/deprecation.pyo
@@ -348,6 +354,9 @@
 ${PYSITELIB}/pip/_internal/utils/packaging.py
 ${PYSITELIB}/pip/_internal/utils/packaging.pyc
 ${PYSITELIB}/pip/_internal/utils/packaging.pyo
+${PYSITELIB}/pip/_internal/utils/parallel.py
+${PYSITELIB}/pip/_internal/utils/parallel.pyc
+${PYSITELIB}/pip/_internal/utils/parallel.pyo
 ${PYSITELIB}/pip/_internal/utils/pkg_resources.py
 ${PYSITELIB}/pip/_internal/utils/pkg_resources.pyc
 ${PYSITELIB}/pip/_internal/utils/pkg_resources.pyo
@@ -675,9 +684,6 @@
 ${PYSITELIB}/pip/_vendor/html5lib/_trie/_base.py
 ${PYSITELIB}/pip/_vendor/html5lib/_trie/_base.pyc
 ${PYSITELIB}/pip/_vendor/html5lib/_trie/_base.pyo
-${PYSITELIB}/pip/_vendor/html5lib/_trie/datrie.py
-${PYSITELIB}/pip/_vendor/html5lib/_trie/datrie.pyc
-${PYSITELIB}/pip/_vendor/html5lib/_trie/datrie.pyo
 ${PYSITELIB}/pip/_vendor/html5lib/_trie/py.py
 ${PYSITELIB}/pip/_vendor/html5lib/_trie/py.pyc
 ${PYSITELIB}/pip/_vendor/html5lib/_trie/py.pyo
@@ -942,6 +948,12 @@
 ${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
@@ -960,12 +972,12 @@
 ${PYSITELIB}/pip/_vendor/six.py
 ${PYSITELIB}/pip/_vendor/six.pyc
 ${PYSITELIB}/pip/_vendor/six.pyo
-${PYSITELIB}/pip/_vendor/toml.py
-${PYSITELIB}/pip/_vendor/toml.pyc
-${PYSITELIB}/pip/_vendor/toml.pyo
 ${PYSITELIB}/pip/_vendor/toml/__init__.py
 ${PYSITELIB}/pip/_vendor/toml/__init__.pyc
 ${PYSITELIB}/pip/_vendor/toml/__init__.pyo
+${PYSITELIB}/pip/_vendor/toml/common.py
+${PYSITELIB}/pip/_vendor/toml/common.pyc
+${PYSITELIB}/pip/_vendor/toml/common.pyo
 ${PYSITELIB}/pip/_vendor/toml/decoder.py
 ${PYSITELIB}/pip/_vendor/toml/decoder.pyc
 ${PYSITELIB}/pip/_vendor/toml/decoder.pyo
diff -r af06d4ef19c7 -r a03ce7143b4b devel/py-pip/distinfo
--- a/devel/py-pip/distinfo     Wed Jul 29 07:48:45 2020 +0000
+++ b/devel/py-pip/distinfo     Wed Jul 29 10:00:16 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.31 2020/06/01 16:27:17 adam Exp $
+$NetBSD: distinfo,v 1.32 2020/07/29 10:00:16 adam Exp $
 
-SHA1 (pip-20.1.1.tar.gz) = 68e2ac7462489518db27eba9ade8be39e40798c9
-RMD160 (pip-20.1.1.tar.gz) = a4851fca81c76a4012cd0e7cd4ad299362407c7e
-SHA512 (pip-20.1.1.tar.gz) = 8b437e03bfd33e21495d6384617271ba7cc09dfb44239e54fb1c45af6c57c0ce881e09722cea0c1001e0c2afe32875983e6ff57a34605384724e14957e773924
-Size (pip-20.1.1.tar.gz) = 1475109 bytes
+SHA1 (pip-20.2.tar.gz) = efd12b35cd30c8172f92ab8b75019d84401bf7f8
+RMD160 (pip-20.2.tar.gz) = 863a726c4201f0bf249309f2dc77a1ed03b0a0b0
+SHA512 (pip-20.2.tar.gz) = de8e5c21ab60dd52361605f34c8d7daa3dbfac78ef95aca855a21da650c4574adedc6fe18e5782e8f6dcfa7a4344f42f584dfbad415ec19956ff37bb8e158b5e
+Size (pip-20.2.tar.gz) = 1494827 bytes



Home | Main Index | Thread Index | Old Index