#3206: Changed setuptools.convert_path to an internal function that is not exposed
as part of setuptools API.
Future releases of setuptools 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 overwriting
dist.include_package_data explicitly set in setup.py with default
value.
#3208: Added a warning for non existing files listed with the file directive in
setup.cfg and pyproject.toml.
#3208: Added a default value for dynamic classifiers in pyproject.toml when
files are missing and errors being ignored.
#3211: Disabled auto-discovery when distribution class has a configuration
attribute (e.g. when the setup.py script contains setup(..., configuration=...)). This is done to ensure extension-only packages created
with numpy.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, or configuration 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 or
py_modules. Alternatively you can also configure :ref:custom-discovery.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps setuptools from 61.0.0 to 61.1.0.
Changelog
Sourced from setuptools's changelog.
Commits
6310e32
Bump version: 61.0.0 → 61.1.04ddc98f
Disable auto-discovery when the 'configuration' attribute is passed (#3211)a72fb09
Update news fragment6b0a021
Disable auto-discovery when the 'configuration' attribute is passed1a3e1cc
Make sure dynamic classifiers in pyproject.toml don't fail (#3210)4569a87
Add news fragment7c9761a
Make sure dynamic classifiers don't fail on unexisting files1957e0e
Addconvert_path
back but with deprecated status (#3207)83669e5
Avoid overwriting dist.include_package_data given by setup.py (#3205)c3c9c97
Make sure auto-discovery does not break include_package_data (#3202)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)