Since setuptools defaults `include_package_data` to `True` if it sees
a `project` table, explicitly set it to `False` to prevent unnecessary
files from being added.
Due to differences between the semantics of `pyproject.toml` and
`setup.py` settings, there are some minor changes in the resulting
metadata:
diff -Nur dist-old/whl/pip-23.1.dev0.dist-info/METADATA dist/whl/pip-23.1.dev0.dist-info/METADATA
--- dist-old/whl/pip-23.1.dev0.dist-info/METADATA 2023-03-28 18:46:48.000000000 +0300
+++ dist/whl/pip-23.1.dev0.dist-info/METADATA 2023-03-28 18:43:28.000000000 +0300
@@ -2,10 +2,9 @@
Name: pip
Version: 23.1.dev0
Summary: The PyPA recommended tool for installing Python packages.
-Home-page: https://pip.pypa.io/
-Author: The pip developers
-Author-email: distutils-sig@python.org
+Author-email: The pip developers <distutils-sig@python.org>
License: MIT
+Project-URL: Homepage, https://pip.pypa.io/
Project-URL: Documentation, https://pip.pypa.io
Project-URL: Source, https://github.com/pypa/pip
Project-URL: Changelog, https://pip.pypa.io/en/stable/news/
@@ -24,6 +23,7 @@
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.7
+Description-Content-Type: text/x-rst
License-File: LICENSE.txt
License-File: AUTHORS.txt
black uses the `project.requires-python` setting to infer the target
Python version. Reformat one file in which this actually changes the
formatting.
This enables wheel usage in vendoring's license fetching, at the cost of
requiring two more license-related fallbacks.
The additional fallbacks are due to packages which include the license
in their source distributions but not in their wheel distributions, and
the change in vendoring that prefers using wheels when possible.
This should fix the bootstrapping problem we're seeing with `flit` and
`tomli`, by allowing us to use wheels to break the loop.
The msgpack-python was replaced by msgpack. This removes the need to
special case its directory.
The pytoml library is no longer vendored.
The resolvelib package distributes its license and so doesn't require a
license fallback URL.
The most recent version of distro, 1.6.0, include type information. This
allows pip to remove some workarounds. See upstream commit:
20cb68d6b0
The new version also deprecated the top level function
distro.linux_distribution(). Switch to the new preferred API. See
upstream commit:
f947776f5a
Removes the vendored contextlib2.
ExitStack and suppress are available from stdlib contextlib on all
supported Python versions.
The nullcontext context manager which isn't available in Python 3.6, but
the function is simple to implement. Once Python 3.6 support is dropped,
so too can the compat shim.
We are vendoring from the Git source for now, so the bug fix turnover
can be quicker if there's anything wrong in the resolution logic.
HEAD up-to-date as of 2020-03-12.