Update dependency setuptools to v61.2.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
setuptools | ironbank-pypi | minor |
61.0.0 -> 61.2.0
|
Release Notes
pypa/setuptools
v61.2.0
Changes ^^^^^^^
-
#3215: Ignored a subgroup of invalid
pyproject.toml
files that use the[project]
table to specify onlyrequires-python
(transitional)... warning:: Please note that future releases of setuptools will halt the build process if a
pyproject.toml
file that does not match doc:the PyPA Specification <PyPUG:specifications/declaring-project-metadata>
is given. -
#3215: Updated
pyproject.toml
validation, as generated byvalidate-pyproject==0.6.1
. -
#3218: Prevented builds from erroring if the project specifies metadata via
pyproject.toml
, but uses other files (e.g.setup.py
) to complement it, without settingdynamic
properly... important:: This is a transitional behaviour. Future releases of
setuptools
may simply ignore externally set metadata not backed bydynamic
or even halt the build with an error. -
#3224: Merge changes from pypa/distutils@
e1d5c9b
Documentation changes ^^^^^^^^^^^^^^^^^^^^^
-
#3217: Fixed typo in
pyproject.toml
example in Quickstart -- by :user:pablo-cardenas
.
Misc ^^^^
-
#3223: Fixed missing requirements with environment markers when
optional-dependencies
is set inpyproject.toml
.
v61.1.1
Misc ^^^^
-
#3212: Fixed missing dependencies when running
setup.py install
. Note that callingsetup.py install
directly is still deprecated and will be removed in future versions ofsetuptools
. Please check the release notes for :ref:setup_install_deprecation_note
.
v61.1.0
Deprecations ^^^^^^^^^^^^
-
#3206: Changed
setuptools.convert_path
to an internal function that is not exposed as part of setuptools API. Future releases ofsetuptools
are likely to remove this function.
Changes ^^^^^^^
-
#3202: Changed behaviour of auto-discovery to not explicitly expand
package_dir
for flat-layouts and to not use relative paths starting with./
. -
#3203: Prevented
pyproject.toml
parsing from overwritingdist.include_package_data
explicitly set insetup.py
with default value. -
#3208: Added a warning for non existing files listed with the
file
directive insetup.cfg
andpyproject.toml
. -
#3208: Added a default value for dynamic
classifiers
inpyproject.toml
when files are missing and errors being ignored. -
#3211: Disabled auto-discovery when distribution class has a
configuration
attribute (e.g. when thesetup.py
script containssetup(..., configuration=...)
). This is done to ensure extension-only packages created withnumpy.distutils.misc_util.Configuration
are not broken by the safe guard behaviour to avoid accidental multiple top-level packages in a flat-layout... note:: Users that don't set
packages
,py_modules
, orconfiguration
are still likely to observe the auto-discovery behavior, which may halt the build if the project contains multiple directories and/or multiple Python files directly under the project root.To disable auto-discovery please explicitly set either
packages
orpy_modules
. Alternatively you can also configure :ref:custom-discovery
.
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.