Path to this page:
Subject: CVS commit: pkgsrc/devel/py-setuptools
From: Adam Ciarcinski
Date: 2022-05-17 09:44:07
Message id: 20220517074407.F3EA2FAEB@cvs.NetBSD.org
Log Message:
py-setuptools: updated to 62.3.0
v62.3.0
Deprecations
* Formally added deprecation messages for namespace_packages. The methodology \
that uses pkg_resources and namespace_packages for creating namespaces was \
already discouraged by the :doc:`setuptools docs \
</userguide/package_discovery>` and the :doc:`Python Packaging User Guide \
<PyPUG:guides/packaging-namespace-packages>`, therefore this change just \
make the deprecation more official. Users can consider migrating to \
native/implicit namespaces (as introduced in PEP 420).
* Relying on include_package_data to ensure sub-packages are automatically added \
to the build wheel distribution (as "data") is now considered a \
deprecated practice.
This behaviour was controversial and caused inconsistencies.
Instead, projects are encouraged to properly configure packages or use discovery \
tools. General information can be found in :doc:`userguide/package_discovery`.
Changes
* Allowed recursive globs (**) in package_data. -- by :user:`nullableVoidPtr`
* Fixed behaviour when both install_requires (in setup.py) and dependencies (in \
pyproject.toml) are specified. The configuration in pyproject.toml will take \
precedence over setup.py (in accordance with PEP 621). A warning was added to \
inform users.
Documentation changes
* Added introduction to references/keywords Added deprecation tags to test \
kwargs Moved userguide/keywords to deprecated section Clarified in deprecated \
doc what keywords came from distutils and which were added or changed by \
setuptools
Misc
* Updated version of vendored pyparsing to 3.0.8 to avoid problems with upcoming \
deprecation in Python 3.11.
* Added warning about incompatibility with old versions of importlib-metadata.
Files: