Update dependency setuptools to v63 (develop)
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
setuptools | dependencies | major |
==61.3.1 -> ==63.2.0
|
Release Notes
pypa/setuptools
v63.2.0
Changes ^^^^^^^
-
#3395: Included a performance optimization:
setuptools.build_meta
no longer tries to :func:compile
the setup script code before :func:exec
-ing it.
Misc ^^^^
- #3435: Corrected issue in macOS framework builds on Python 3.9 not installed by homebrew (pypa/distutils#158).
v63.1.0
Changes ^^^^^^^
-
#3430: Merge with pypa/distutils@
152c13d
including pypa/distutils#155 (improved compatibility for editable installs on homebrew Python 3.9), pypa/distutils#150 (better handling of runtime_library_dirs on cygwin), and pypa/distutils#151 (remove warnings for namespace packages).
v63.0.0
Breaking Changes ^^^^^^^^^^^^^^^^
-
#3421: Drop setuptools' support for installing an entrypoint extra requirements at load time:
- the functionality has been broken since v60.8.0.
- the mechanism to do so is deprecated (
fetch_build_eggs
). - that use case (e.g. a custom command class entrypoint) is covered by making sure the necessary build requirements are declared.
Documentation changes ^^^^^^^^^^^^^^^^^^^^^
-
#3305: Updated the example pyproject.toml -- by :user:
jacalata
-
#3394: This updates the documentation for the
file_finders
hook so that the logging recommendation aligns with the suggestion to not usedistutils
directly. -
#3397: Fix reference for
keywords
to point to the Core Metadata Specification instead of PEP 314 (the live standard is kept always up-to-date and consolidates several PEPs together in a single document). -
#3402: Reordered the User Guide's Table of Contents -- by :user:
codeandfire
v62.6.0
Changes ^^^^^^^
-
#3253: Enabled using
file:
for requirements in setup.cfg -- by :user:akx
(this feature is currently considered to be in beta stage). -
#3255: Enabled using
file:
for dependencies and optional-dependencies in pyproject.toml -- by :user:akx
(this feature is currently considered to be in beta stage). -
#3391: Updated
attr:
to also extract simple constants with type annotations -- by :user:karlotness
v62.5.0
Changes ^^^^^^^
-
#3347: Changed warnings and documentation notes about experimental aspect of
pyproject.toml
configuration: now[project]
is a fully supported configuration interface, but the[tool.setuptools]
table and sub-tables are still considered to be in beta stage. - #3383: In _distutils_hack, suppress/undo the use of local distutils when select tests are imported in CPython.
Documentation changes ^^^^^^^^^^^^^^^^^^^^^
-
#3368: Added documentation page about extension modules -- by :user:
mkoeppe
-
#3371: Moved documentation from
/userguide/commands
to/depracted/commands
. This change was motived by the fact that runningpython setup.py
directly is considered a deprecated practice. -
#3372: Consolidated sections about
sdist
contents andMANIFEST.in
into a single page.Added a simple
MANIFEST.in
example. -
#3373: Moved remarks about using :pypi:
Cython
to the newly created page for extension modules. -
#3374: Added clarification that using
python setup.py egg_info
commands to manage project versions is only supported in a transitional basis, and that eventuallyegg_info
will be deprecated.Reorganized sections with tips for managing versions.
-
#3378: Updated
Quickstart
docs to make it easier to follow for beginners.
Misc ^^^^
-
#3385: Modules used to parse and evaluate configuration from
pyproject.toml
files are intended for internal use only and that not part of the public API.
v62.4.0
Changes ^^^^^^^
-
#3256: Added setuptools.command.build command to match distutils.command.build -- by :user:
isuruf
-
#3366: Merge with pypa/distutils@
75ed79d
including reformat using black, fix for Cygwin support (pypa/distutils#139), and improved support for cross compiling (pypa/distutils#144 and pypa/distutils#145).
Documentation changes ^^^^^^^^^^^^^^^^^^^^^
-
#3355: Changes to the User Guide's Entry Points page -- by :user:
codeandfire
-
#3361: Further minor corrections to the Entry Points page -- by :user:
codeandfire
-
#3363: Rework some documentation pages to de-emphasize
distutils
and the history of packaging in the Python ecosystem. The focus of these changes is to make the documentation easier to read for new users. -
#3364: Update documentation about dependency management, removing mention to the deprecated
dependency_links
and adding some small improvements. -
#3367: Extracted text about automatic resource extraction and the zip-safe flag from
userguide/miscellaneous
todeprecated/resource_extraction
anddeprecated/zip_safe
.Extracted text about additional metadata files from
userguide/miscellaneous
into the existinguserguide/extension
document.Updated
userguide/extension
to better reflect the status of the setuptools project.Removed
userguide/functionalities_rewrite
(a virtually empty part of the docs).
v62.3.4
Documentation changes ^^^^^^^^^^^^^^^^^^^^^
-
#3349: Fixed two small issues preventing docs from building locally -- by :user:
codeandfire
-
#3350: Added note explaining
package_data
glob pattern matching for dotfiles -- by :user:comabrewer
-
#3358: Clarify the role of the
package_dir
configuration.
Misc ^^^^
- #3354: Improve clarity in warning about unlisted namespace packages.
v62.3.3
Documentation changes ^^^^^^^^^^^^^^^^^^^^^
-
#3331: Replaced single backticks with double ones in
CHANGES.rst
-- by :user:codeandfire
-
#3332: Fixed grammar/typos, modified example directory trees for src-layout and flat-layout -- by :user:
codeandfire
-
#3335: Changes to code snippets and other examples in the Data Files page of the User Guide -- by :user:
codeandfire
Misc ^^^^
-
#3336: Modified
test_setup_install_includes_dependencies
to work with customPYTHONPATH
–- by :user:hroncok
v62.3.2
Misc ^^^^
- #3328: Include a first line summary to some of the existing multi-line warnings.
v62.3.1
Misc ^^^^
-
#3320: Fixed typo which causes
namespace_packages
to raise an error instead of warning.
v62.3.0
Deprecations ^^^^^^^^^^^^
-
#3262: Formally added deprecation messages for
namespace_packages
. The methodology that usespkg_resources
andnamespace_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
). -
#3308: 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 (#3260).
Instead, projects are encouraged to properly configure
packages
or use discovery tools. General information can be found in :doc:userguide/package_discovery
.
Changes ^^^^^^^
-
#1806: Allowed recursive globs (
**
) inpackage_data
. -- by :user:nullableVoidPtr
-
#3206: Fixed behaviour when both
install_requires
(insetup.py
) anddependencies
(inpyproject.toml
) are specified. The configuration inpyproject.toml
will take precedence oversetup.py
(in accordance with PEP 621). A warning was added to inform users.
Documentation changes ^^^^^^^^^^^^^^^^^^^^^
-
#3307: 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 ^^^^
-
#3274: Updated version of vendored
pyparsing
to 3.0.8 to avoid problems with upcoming deprecation in Python 3.11. -
#3292: Added warning about incompatibility with old versions of
importlib-metadata
.
v62.2.0
Changes ^^^^^^^
-
#3299: Optional metadata fields are now truly optional. Includes merge with pypa/distutils@
a7cfb56
per pypa/distutils#138.
Misc ^^^^
-
#3282: Added CI cache for
setup.cfg
examples used when testingsetuptools.config
.
v62.1.0
Changes ^^^^^^^
-
#3258: Merge pypa/distutils@
5229dad
.
Misc ^^^^
-
#3249: Simplified
package_dir
obtained via auto-discovery.
v62.0.0
Breaking Changes ^^^^^^^^^^^^^^^^
-
#3151: Made
setup.py develop --user
install to the user site packages directory even if it is disabled in the current interpreter.
Changes ^^^^^^^
-
#3153: When resolving requirements use both canonical and normalized names -- by :user:
ldaniluk
-
#3167: Honor unix file mode in ZipFile when installing wheel via
install_as_egg
-- by :user:delijati
Misc ^^^^
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.