AdamOswald / tes

2 stars 1 forks source link

Update dependency setuptools to v65 #87

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
setuptools (changelog) ==56.2.0 -> ==65.6.3 age adoption passing confidence

Release Notes

pypa/setuptools ### [`v65.6.3`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6563) [Compare Source](https://togithub.com/pypa/setuptools/compare/v65.6.2...v65.6.3) Misc ^^^^ - [#​3709](https://togithub.com/pypa/setuptools/issues/3709): Fix condition to patch `distutils.dist.log` to only apply when using `distutils` from the stdlib. ### [`v65.6.2`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6562) [Compare Source](https://togithub.com/pypa/setuptools/compare/v65.6.1...v65.6.2) No significant changes. ### [`v65.6.1`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6561) [Compare Source](https://togithub.com/pypa/setuptools/compare/v65.6.0...v65.6.1) Documentation changes ^^^^^^^^^^^^^^^^^^^^^ - [#​3689](https://togithub.com/pypa/setuptools/issues/3689): Documented that `distutils.cfg` might be ignored unless `SETUPTOOLS_USE_DISTUTILS=stdlib`. Misc ^^^^ - [#​3678](https://togithub.com/pypa/setuptools/issues/3678): Improve clib builds reproducibility by sorting sources -- by :user:`danigm` - [#​3684](https://togithub.com/pypa/setuptools/issues/3684): Improved exception/traceback when invalid entry-points are specified. - [#​3690](https://togithub.com/pypa/setuptools/issues/3690): Fixed logging errors: 'underlying buffer has been detached' (issue [#​1631](https://togithub.com/pypa/setuptools/issues/1631)). - [#​3693](https://togithub.com/pypa/setuptools/issues/3693): Merge [pypa/distutils@`3e9d47e`](https://togithub.com/pypa/distutils/commit/3e9d47e) with compatibility fix for distutils.log.Log. - [#​3695](https://togithub.com/pypa/setuptools/issues/3695), [#​3697](https://togithub.com/pypa/setuptools/issues/3697), [#​3698](https://togithub.com/pypa/setuptools/issues/3698), [#​3699](https://togithub.com/pypa/setuptools/issues/3699): Changed minor text details (spelling, spaces ...) - [#​3696](https://togithub.com/pypa/setuptools/issues/3696): Removed unnecessary `coding: utf-8` annotations - [#​3704](https://togithub.com/pypa/setuptools/issues/3704): Fixed temporary build directories interference with auto-discovery. ### [`v65.6.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6560) [Compare Source](https://togithub.com/pypa/setuptools/compare/v65.5.1...v65.6.0) Changes ^^^^^^^ - [#​3674](https://togithub.com/pypa/setuptools/issues/3674): Sync with [pypa/distutils@`e0787fa`](https://togithub.com/pypa/distutils/commit/e0787fa), including [pypa/distutils#​183](https://togithub.com/pypa/distutils/issues/183) updating distutils to use the Python logging framework. ### [`v65.5.1`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6551) [Compare Source](https://togithub.com/pypa/setuptools/compare/v65.5.0...v65.5.1) Misc ^^^^ - [#​3638](https://togithub.com/pypa/setuptools/issues/3638): Drop a test dependency on the `mock` package, always use :external+python:py:mod:`unittest.mock` -- by :user:`hroncok` - [#​3659](https://togithub.com/pypa/setuptools/issues/3659): Fixed REDoS vector in package_index. ### [`v65.5.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6550) [Compare Source](https://togithub.com/pypa/setuptools/compare/v65.4.1...v65.5.0) Changes ^^^^^^^ - [#​3624](https://togithub.com/pypa/setuptools/issues/3624): Fixed editable install for multi-module/no-package `src`-layout projects. - [#​3626](https://togithub.com/pypa/setuptools/issues/3626): Minor refactorings to support distutils using stdlib logging module. Documentation changes ^^^^^^^^^^^^^^^^^^^^^ - [#​3419](https://togithub.com/pypa/setuptools/issues/3419): Updated the example version numbers to be compliant with PEP-440 on the "Specifying Your Project’s Version" page of the user guide. Misc ^^^^ - [#​3569](https://togithub.com/pypa/setuptools/issues/3569): Improved information about conflicting entries in the current working directory and editable install (in documentation and as an informational warning). - [#​3576](https://togithub.com/pypa/setuptools/issues/3576): Updated version of `validate_pyproject`. ### [`v65.4.1`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6541) [Compare Source](https://togithub.com/pypa/setuptools/compare/v65.4.0...v65.4.1) Misc ^^^^ - [#​3613](https://togithub.com/pypa/setuptools/issues/3613): Fixed encoding errors in `expand.StaticModule` when system default encoding doesn't match expectations for source files. - [#​3617](https://togithub.com/pypa/setuptools/issues/3617): Merge with [pypa/distutils@`6852b20`](https://togithub.com/pypa/distutils/commit/6852b20) including fix for [pypa/distutils#​181](https://togithub.com/pypa/distutils/issues/181). ### [`v65.4.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6540) [Compare Source](https://togithub.com/pypa/setuptools/compare/v65.3.0...v65.4.0) Changes ^^^^^^^ - [#​3609](https://togithub.com/pypa/setuptools/issues/3609): Merge with [pypa/distutils@`d82d926`](https://togithub.com/pypa/distutils/commit/d82d926) including support for DIST_EXTRA_CONFIG in [pypa/distutils#​177](https://togithub.com/pypa/distutils/issues/177). ### [`v65.3.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6530) [Compare Source](https://togithub.com/pypa/setuptools/compare/v65.2.0...v65.3.0) Changes ^^^^^^^ - [#​3547](https://togithub.com/pypa/setuptools/issues/3547): Stop `ConfigDiscovery.analyse_name` from splatting the `Distribution.name` attribute -- by :user:`jeamland` Documentation changes ^^^^^^^^^^^^^^^^^^^^^ - [#​3554](https://togithub.com/pypa/setuptools/issues/3554): Changed requires to requests in the pyproject.toml example in the :doc:`Dependency management section of the Quickstart guide ` -- by :user:`mfbutner` Misc ^^^^ - [#​3561](https://togithub.com/pypa/setuptools/issues/3561): Fixed accidental name matching in editable hooks. ### [`v65.2.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6520) [Compare Source](https://togithub.com/pypa/setuptools/compare/v65.1.1...v65.2.0) Changes ^^^^^^^ - [#​3553](https://togithub.com/pypa/setuptools/issues/3553): Sync with [pypa/distutils@`22b9bcf`](https://togithub.com/pypa/distutils/commit/22b9bcf), including fixed cross-compiling support and removing deprecation warning per [pypa/distutils#​169](https://togithub.com/pypa/distutils/issues/169). ### [`v65.1.1`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6511) [Compare Source](https://togithub.com/pypa/setuptools/compare/v65.1.0...v65.1.1) Misc ^^^^ - [#​3551](https://togithub.com/pypa/setuptools/issues/3551): Avoided circular imports in meta path finder for editable installs when a missing module has the same name as its parent. ### [`v65.1.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6510) [Compare Source](https://togithub.com/pypa/setuptools/compare/v65.0.2...v65.1.0) Changes ^^^^^^^ - [#​3536](https://togithub.com/pypa/setuptools/issues/3536): Remove monkeypatching of msvc9compiler. Documentation changes ^^^^^^^^^^^^^^^^^^^^^ - [#​3538](https://togithub.com/pypa/setuptools/issues/3538): Corrected documentation on how to use the `legacy-editable` mode. ### [`v65.0.2`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6502) [Compare Source](https://togithub.com/pypa/setuptools/compare/v65.0.1...v65.0.2) Misc ^^^^ - [#​3505](https://togithub.com/pypa/setuptools/issues/3505): Restored distutils msvccompiler and msvc9compiler modules and marked as deprecated ([pypa/distutils@`c802880`](https://togithub.com/pypa/distutils/commit/c802880)). ### [`v65.0.1`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6501) [Compare Source](https://togithub.com/pypa/setuptools/compare/v65.0.0...v65.0.1) Documentation changes ^^^^^^^^^^^^^^^^^^^^^ - [#​3529](https://togithub.com/pypa/setuptools/issues/3529): Added clarification to :doc:`/userguide/quickstart` about support to `setup.py`. Misc ^^^^ - [#​3526](https://togithub.com/pypa/setuptools/issues/3526): Fixed backward compatibility of editable installs and custom `build_ext` commands inheriting directly from `distutils`. - [#​3528](https://togithub.com/pypa/setuptools/issues/3528): Fixed `buid_meta.prepare_metadata_for_build_wheel` when given `metadata_directory` is `"."`. ### [`v65.0.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6500) [Compare Source](https://togithub.com/pypa/setuptools/compare/v64.0.3...v65.0.0) Breaking Changes ^^^^^^^^^^^^^^^^ - [#​3505](https://togithub.com/pypa/setuptools/issues/3505): Removed 'msvccompiler' and 'msvc9compiler' modules from distutils. - [#​3521](https://togithub.com/pypa/setuptools/issues/3521): Remove bdist_msi and bdist_wininst commands, which have been deprecated since Python 3.9. Use older Setuptools for these behaviors if needed. Documentation changes ^^^^^^^^^^^^^^^^^^^^^ - [#​3519](https://togithub.com/pypa/setuptools/issues/3519): Changed the note in `keywords` documentation regarding editable installations to specify which `setuptools` version require a minimal `setup.py` file or not. ### [`v64.0.3`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6403) [Compare Source](https://togithub.com/pypa/setuptools/compare/v64.0.2...v64.0.3) Misc ^^^^ - [#​3515](https://togithub.com/pypa/setuptools/issues/3515): Fixed "inline" file copying for editable installations and optional extensions. - [#​3517](https://togithub.com/pypa/setuptools/issues/3517): Fixed `editable_wheel` to ensure other commands are finalized before using them. This should prevent errors with plugins trying to use different commands or reinitializing them. - [#​3517](https://togithub.com/pypa/setuptools/issues/3517): Augmented filter to prevent transient/temporary source files from being considered `package_data` or `data_files`. ### [`v64.0.2`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6402) [Compare Source](https://togithub.com/pypa/setuptools/compare/v64.0.1...v64.0.2) Misc ^^^^ - [#​3506](https://togithub.com/pypa/setuptools/issues/3506): Suppress errors in custom `build_py` implementations when running editable installs in favor of a warning indicating what is the most appropriate migration path. This is a *transitional* measure. Errors might be raised in future versions of `setuptools`. - [#​3512](https://togithub.com/pypa/setuptools/issues/3512): Added capability of handling namespace packages created accidentally/purposefully via discovery configuration during editable installs. This should emulate the behaviour of a non-editable installation. ### [`v64.0.1`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6401) [Compare Source](https://togithub.com/pypa/setuptools/compare/v64.0.0...v64.0.1) Misc ^^^^ - [#​3497](https://togithub.com/pypa/setuptools/issues/3497): Fixed `editable_wheel` for legacy namespaces. - [#​3502](https://togithub.com/pypa/setuptools/issues/3502): Fixed issue with editable install and single module distributions. - [#​3503](https://togithub.com/pypa/setuptools/issues/3503): Added filter to ignore external `.egg-info` files in manifest. Some plugins might rely on the fact that the `.egg-info` directory is produced inside the project dir, which may not be the case in editable installs (the `.egg-info` directory is produced inside the metadata directory given by the build frontend via PEP 660 hooks). ### [`v64.0.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6400) [Compare Source](https://togithub.com/pypa/setuptools/compare/v63.4.3...v64.0.0) Deprecations ^^^^^^^^^^^^ - [#​3380](https://togithub.com/pypa/setuptools/issues/3380): Passing some types of parameters via `--global-option` to setuptools PEP 517/PEP 660 backend is now considered deprecated. The user can pass the same arbitrary parameter via `--build-option` (`--global-option` is now reserved for flags like `--verbose` or `--quiet`). Both `--build-option` and `--global-option` are supported as a **transitional** effort (a.k.a. "escape hatch"). In the future a proper list of allowed `config_settings` may be created. Breaking Changes ^^^^^^^^^^^^^^^^ - [#​3265](https://togithub.com/pypa/setuptools/issues/3265): Added implementation for *editable install* hooks (PEP 660). By default the users will experience a *lenient* behavior which prioritises the ability of the users of changing the distributed packages (e.g. adding new files or removing old ones). But they can also opt into a *strict* mode, which will try to replicate as much as possible the behavior of the package as if it would be normally installed by end users. The *strict* editable installation is not able to detect if files are added or removed from the project (a new installation is required). This implementation might also affect plugins and customizations that assume certain `build` subcommands don't run during editable installs or that they always copy files to the temporary build directory. .. important:: The *editable* aspect of the *editable install* supported this implementation is restricted to the Python modules contained in the distributed package. Changes in binary extensions (e.g. C/C++), entry-point definitions, dependencies, metadata, datafiles, etc may require a new installation. Changes ^^^^^^^ - [#​3380](https://togithub.com/pypa/setuptools/issues/3380): Improved the handling of the `config_settings` parameter in both PEP 517 and PEP 660 interfaces: - It is possible now to pass both `--global-option` and `--build-option`. As discussed in [#​1928](https://togithub.com/pypa/setuptools/issues/1928), arbitrary arguments passed via `--global-option` should be placed before the name of the setuptools' internal command, while `--build-option` should come after. - Users can pass `editable-mode=strict` to select a strict behaviour for the editable installation. - [#​3392](https://togithub.com/pypa/setuptools/issues/3392): Exposed `get_output_mapping()` from `build_py` and `build_ext` subcommands. This interface is reserved for the use of `setuptools` Extensions and third part packages are explicitly disallowed to calling it. However, any implementation overwriting `build_py` or `build_ext` are required to honour this interface. - [#​3412](https://togithub.com/pypa/setuptools/issues/3412): Added ability of collecting source files from custom build sub-commands to `sdist`. This allows plugins and customization scripts to automatically add required source files in the source distribution. - [#​3414](https://togithub.com/pypa/setuptools/issues/3414): Users can *temporarily* specify an environment variable `SETUPTOOLS_ENABLE_FEATURES=legacy-editable` as a escape hatch for the :pep:`660` behavior. This setting is **transitional** and may be removed in the future. - [#​3484](https://togithub.com/pypa/setuptools/issues/3484): Added *transient* `compat` mode to editable installs. This more will be temporarily available (to facilitate the transition period) for those that want to emulate the behavior of the `develop` command (in terms of what is added to `sys.path`). This mode is provided "as is", with limited support, and will be removed in future versions of `setuptools`. Documentation changes ^^^^^^^^^^^^^^^^^^^^^ - [#​3414](https://togithub.com/pypa/setuptools/issues/3414): Updated :doc:`Development Mode ` to reflect on the implementation of :pep:`660`. ### [`v63.4.3`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6343) [Compare Source](https://togithub.com/pypa/setuptools/compare/v63.4.2...v63.4.3) Misc ^^^^ - [#​3496](https://togithub.com/pypa/setuptools/issues/3496): Update to [pypa/distutils@`b65aa40`](https://togithub.com/pypa/distutils/commit/b65aa40) including more robust support for library/include dir handling in msvccompiler ([pypa/distutils#​153](https://togithub.com/pypa/distutils/issues/153)) and test suite improvements. ### [`v63.4.2`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6342) [Compare Source](https://togithub.com/pypa/setuptools/compare/v63.4.1...v63.4.2) Misc ^^^^ - [#​3453](https://togithub.com/pypa/setuptools/issues/3453): Bump vendored version of :pypi:`pyparsing` to 3.0.9. - [#​3481](https://togithub.com/pypa/setuptools/issues/3481): Add warning for potential `install_requires` and `extras_require` misconfiguration in `setup.cfg` - [#​3487](https://togithub.com/pypa/setuptools/issues/3487): Modified `pyproject.toml` validation exception handling to make relevant debugging information easier to spot. ### [`v63.4.1`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6341) [Compare Source](https://togithub.com/pypa/setuptools/compare/v63.4.0...v63.4.1) Misc ^^^^ - [#​3482](https://togithub.com/pypa/setuptools/issues/3482): Sync with [pypa/distutils@`274758f`](https://togithub.com/pypa/distutils/commit/274758f1c02048d295efdbc13d2f88d9923547f8), restoring compatibility shim in bdist.format_commands. ### [`v63.4.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6340) [Compare Source](https://togithub.com/pypa/setuptools/compare/v63.3.0...v63.4.0) Changes ^^^^^^^ - [#​2971](https://togithub.com/pypa/setuptools/issues/2971): `upload_docs` command is deprecated once again. Documentation changes ^^^^^^^^^^^^^^^^^^^^^ - [#​3443](https://togithub.com/pypa/setuptools/issues/3443): Installed `sphinx-hoverxref` extension to show tooltips on internal an external references. \-- by :user:`humitos` - [#​3444](https://togithub.com/pypa/setuptools/issues/3444): Installed `sphinx-notfound-page` extension to generate nice 404 pages. \-- by :user:`humitos` Misc ^^^^ - [#​3480](https://togithub.com/pypa/setuptools/issues/3480): Merge with [pypa/distutils@`c397f4c`](https://togithub.com/pypa/distutils/commit/c397f4c) ### [`v63.3.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6330) [Compare Source](https://togithub.com/pypa/setuptools/compare/v63.2.0...v63.3.0) Changes ^^^^^^^ - [#​3475](https://togithub.com/pypa/setuptools/issues/3475): Merge with [pypa/distutils@`129480b`](https://togithub.com/pypa/distutils/commit/129480b), including substantial delinting and cleanup, some refactoring around compiler logic, better messaging in cygwincompiler ([pypa/distutils#​161](https://togithub.com/pypa/distutils/issues/161)). ### [`v63.2.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6320) [Compare Source](https://togithub.com/pypa/setuptools/compare/v63.1.0...v63.2.0) Changes ^^^^^^^ - [#​3395](https://togithub.com/pypa/setuptools/issues/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](https://togithub.com/pypa/setuptools/issues/3435): Corrected issue in macOS framework builds on Python 3.9 not installed by homebrew ([pypa/distutils#​158](https://togithub.com/pypa/distutils/issues/158)). ### [`v63.1.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6310) [Compare Source](https://togithub.com/pypa/setuptools/compare/v63.0.0...v63.1.0) Changes ^^^^^^^ - [#​3430](https://togithub.com/pypa/setuptools/issues/3430): Merge with [pypa/distutils@`152c13d`](https://togithub.com/pypa/distutils/commit/152c13d) including [pypa/distutils#​155](https://togithub.com/pypa/distutils/issues/155) (improved compatibility for editable installs on homebrew Python 3.9), [pypa/distutils#​150](https://togithub.com/pypa/distutils/issues/150) (better handling of runtime_library_dirs on cygwin), and [pypa/distutils#​151](https://togithub.com/pypa/distutils/issues/151) (remove warnings for namespace packages). ### [`v63.0.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6300) [Compare Source](https://togithub.com/pypa/setuptools/compare/v62.6.0...v63.0.0) Breaking Changes ^^^^^^^^^^^^^^^^ - [#​3421](https://togithub.com/pypa/setuptools/issues/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](https://togithub.com/pypa/setuptools/issues/3305): Updated the example pyproject.toml -- by :user:`jacalata` - [#​3394](https://togithub.com/pypa/setuptools/issues/3394): This updates the documentation for the `file_finders` hook so that the logging recommendation aligns with the suggestion to not use `distutils` directly. - [#​3397](https://togithub.com/pypa/setuptools/issues/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](https://togithub.com/pypa/setuptools/issues/3402): Reordered the User Guide's Table of Contents -- by :user:`codeandfire` ### [`v62.6.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6260) [Compare Source](https://togithub.com/pypa/setuptools/compare/v62.5.0...v62.6.0) Changes ^^^^^^^ - [#​3253](https://togithub.com/pypa/setuptools/issues/3253): Enabled using `file:` for requirements in setup.cfg -- by :user:`akx` (this feature is currently considered to be in **beta** stage). - [#​3255](https://togithub.com/pypa/setuptools/issues/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](https://togithub.com/pypa/setuptools/issues/3391): Updated `attr:` to also extract simple constants with type annotations -- by :user:`karlotness` ### [`v62.5.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6250) [Compare Source](https://togithub.com/pypa/setuptools/compare/v62.4.0...v62.5.0) Changes ^^^^^^^ - [#​3347](https://togithub.com/pypa/setuptools/issues/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](https://togithub.com/pypa/setuptools/issues/3383): In \_distutils_hack, suppress/undo the use of local distutils when select tests are imported in CPython. Documentation changes ^^^^^^^^^^^^^^^^^^^^^ - [#​3368](https://togithub.com/pypa/setuptools/issues/3368): Added documentation page about extension modules -- by :user:`mkoeppe` - [#​3371](https://togithub.com/pypa/setuptools/issues/3371): Moved documentation from `/userguide/commands` to `/depracted/commands`. This change was motived by the fact that running `python setup.py` directly is considered a deprecated practice. - [#​3372](https://togithub.com/pypa/setuptools/issues/3372): Consolidated sections about `sdist` contents and `MANIFEST.in` into a single page. Added a simple `MANIFEST.in` example. - [#​3373](https://togithub.com/pypa/setuptools/issues/3373): Moved remarks about using :pypi:`Cython` to the newly created page for extension modules. - [#​3374](https://togithub.com/pypa/setuptools/issues/3374): Added clarification that using `python setup.py egg_info` commands to manage project versions is only supported in a *transitional* basis, and that eventually `egg_info` will be deprecated. Reorganized sections with tips for managing versions. - [#​3378](https://togithub.com/pypa/setuptools/issues/3378): Updated `Quickstart` docs to make it easier to follow for beginners. Misc ^^^^ - [#​3385](https://togithub.com/pypa/setuptools/issues/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`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6240) [Compare Source](https://togithub.com/pypa/setuptools/compare/v62.3.4...v62.4.0) Changes ^^^^^^^ - [#​3256](https://togithub.com/pypa/setuptools/issues/3256): Added setuptools.command.build command to match distutils.command.build -- by :user:`isuruf` - [#​3366](https://togithub.com/pypa/setuptools/issues/3366): Merge with [pypa/distutils@`75ed79d`](https://togithub.com/pypa/distutils/commit/75ed79d) including reformat using black, fix for Cygwin support ([pypa/distutils#​139](https://togithub.com/pypa/distutils/issues/139)), and improved support for cross compiling ([pypa/distutils#​144](https://togithub.com/pypa/distutils/issues/144) and [pypa/distutils#​145](https://togithub.com/pypa/distutils/issues/145)). Documentation changes ^^^^^^^^^^^^^^^^^^^^^ - [#​3355](https://togithub.com/pypa/setuptools/issues/3355): Changes to the User Guide's Entry Points page -- by :user:`codeandfire` - [#​3361](https://togithub.com/pypa/setuptools/issues/3361): Further minor corrections to the Entry Points page -- by :user:`codeandfire` - [#​3363](https://togithub.com/pypa/setuptools/issues/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](https://togithub.com/pypa/setuptools/issues/3364): Update documentation about dependency management, removing mention to the deprecated `dependency_links` and adding some small improvements. - [#​3367](https://togithub.com/pypa/setuptools/issues/3367): Extracted text about automatic resource extraction and the zip-safe flag from `userguide/miscellaneous` to `deprecated/resource_extraction` and `deprecated/zip_safe`. Extracted text about additional metadata files from `userguide/miscellaneous` into the existing `userguide/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`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6234) [Compare Source](https://togithub.com/pypa/setuptools/compare/v62.3.3...v62.3.4) Documentation changes ^^^^^^^^^^^^^^^^^^^^^ - [#​3349](https://togithub.com/pypa/setuptools/issues/3349): Fixed two small issues preventing docs from building locally -- by :user:`codeandfire` - [#​3350](https://togithub.com/pypa/setuptools/issues/3350): Added note explaining `package_data` glob pattern matching for dotfiles -- by :user:`comabrewer` - [#​3358](https://togithub.com/pypa/setuptools/issues/3358): Clarify the role of the `package_dir` configuration. Misc ^^^^ - [#​3354](https://togithub.com/pypa/setuptools/issues/3354): Improve clarity in warning about unlisted namespace packages. ### [`v62.3.3`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6233) [Compare Source](https://togithub.com/pypa/setuptools/compare/v62.3.2...v62.3.3) Documentation changes ^^^^^^^^^^^^^^^^^^^^^ - [#​3331](https://togithub.com/pypa/setuptools/issues/3331): Replaced single backticks with double ones in `CHANGES.rst` -- by :user:`codeandfire` - [#​3332](https://togithub.com/pypa/setuptools/issues/3332): Fixed grammar/typos, modified example directory trees for src-layout and flat-layout -- by :user:`codeandfire` - [#​3335](https://togithub.com/pypa/setuptools/issues/3335): Changes to code snippets and other examples in the Data Files page of the User Guide -- by :user:`codeandfire` Misc ^^^^ - [#​3336](https://togithub.com/pypa/setuptools/issues/3336): Modified `test_setup_install_includes_dependencies` to work with custom `PYTHONPATH` –- by :user:`hroncok` ### [`v62.3.2`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6232) [Compare Source](https://togithub.com/pypa/setuptools/compare/v62.3.1...v62.3.2) Misc ^^^^ - [#​3328](https://togithub.com/pypa/setuptools/issues/3328): Include a first line summary to some of the existing multi-line warnings. ### [`v62.3.1`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6231) [Compare Source](https://togithub.com/pypa/setuptools/compare/v62.3.0...v62.3.1) Misc ^^^^ - [#​3320](https://togithub.com/pypa/setuptools/issues/3320): Fixed typo which causes `namespace_packages` to raise an error instead of warning. ### [`v62.3.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6230) [Compare Source](https://togithub.com/pypa/setuptools/compare/v62.2.0...v62.3.0) Deprecations ^^^^^^^^^^^^ - [#​3262](https://togithub.com/pypa/setuptools/issues/3262): 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 ` and the :doc:`Python Packaging User Guide `, therefore this change just make the deprecation more official. Users can consider migrating to native/implicit namespaces (as introduced in :pep:`420`). - [#​3308](https://togithub.com/pypa/setuptools/issues/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](https://togithub.com/pypa/setuptools/issues/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](https://togithub.com/pypa/setuptools/issues/1806): Allowed recursive globs (`**`) in `package_data`. -- by :user:`nullableVoidPtr` - [#​3206](https://togithub.com/pypa/setuptools/issues/3206): 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 ^^^^^^^^^^^^^^^^^^^^^ - [#​3307](https://togithub.com/pypa/setuptools/issues/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](https://togithub.com/pypa/setuptools/issues/3274): Updated version of vendored `pyparsing` to 3.0.8 to avoid problems with upcoming deprecation in Python 3.11. - [#​3292](https://togithub.com/pypa/setuptools/issues/3292): Added warning about incompatibility with old versions of `importlib-metadata`. ### [`v62.2.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6220) [Compare Source](https://togithub.com/pypa/setuptools/compare/v62.1.0...v62.2.0) Changes ^^^^^^^ - [#​3299](https://togithub.com/pypa/setuptools/issues/3299): Optional metadata fields are now truly optional. Includes merge with [pypa/distutils@`a7cfb56`](https://togithub.com/pypa/distutils/commit/a7cfb56) per [pypa/distutils#​138](https://togithub.com/pypa/distutils/issues/138). Misc ^^^^ - [#​3282](https://togithub.com/pypa/setuptools/issues/3282): Added CI cache for `setup.cfg` examples used when testing `setuptools.config`. ### [`v62.1.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6210) [Compare Source](https://togithub.com/pypa/setuptools/compare/v62.0.0...v62.1.0) Changes ^^^^^^^ - [#​3258](https://togithub.com/pypa/setuptools/issues/3258): Merge [pypa/distutils@`5229dad`](https://togithub.com/pypa/distutils/commit/5229dad46b). Misc ^^^^ - [#​3249](https://togithub.com/pypa/setuptools/issues/3249): Simplified `package_dir` obtained via auto-discovery. ### [`v62.0.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6200) [Compare Source](https://togithub.com/pypa/setuptools/compare/v61.3.1...v62.0.0) Breaking Changes ^^^^^^^^^^^^^^^^ - [#​3151](https://togithub.com/pypa/setuptools/issues/3151): Made `setup.py develop --user` install to the user site packages directory even if it is disabled in the current interpreter. Changes ^^^^^^^ - [#​3153](https://togithub.com/pypa/setuptools/issues/3153): When resolving requirements use both canonical and normalized names -- by :user:`ldaniluk` - [#​3167](https://togithub.com/pypa/setuptools/issues/3167): Honor unix file mode in ZipFile when installing wheel via `install_as_egg` -- by :user:`delijati` Misc ^^^^ - [#​3088](https://togithub.com/pypa/setuptools/issues/3088): Fixed duplicated tag with the `dist-info` command. - [#​3247](https://togithub.com/pypa/setuptools/issues/3247): Fixed problem preventing `readme` specified as dynamic in `pyproject.toml` from being dynamically specified in `setup.py`. ### [`v61.3.1`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6131) [Compare Source](https://togithub.com/pypa/setuptools/compare/v61.3.0...v61.3.1) Misc ^^^^ - [#​3233](https://togithub.com/pypa/setuptools/issues/3233): Included missing test file `setupcfg_examples.txt` in `sdist`. - [#​3233](https://togithub.com/pypa/setuptools/issues/3233): Added script that allows developers to download `setupcfg_examples.txt` prior to running tests. By caching these files it should be possible to run the test suite offline. ### [`v61.3.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6130) [Compare Source](https://togithub.com/pypa/setuptools/compare/v61.2.0...v61.3.0) Changes ^^^^^^^ - [#​3229](https://togithub.com/pypa/setuptools/issues/3229): Disabled automatic download of `trove-classifiers` to facilitate reproducibility. Misc ^^^^ - [#​3229](https://togithub.com/pypa/setuptools/issues/3229): Updated `pyproject.toml` validation via `validate-pyproject` v0.7.1. - [#​3229](https://togithub.com/pypa/setuptools/issues/3229): New internal tool made available for updating the code responsible for the validation of `pyproject.toml`. This tool can be executed via `tox -e generate-validation-code`. ### [`v61.2.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6120) [Compare Source](https://togithub.com/pypa/setuptools/compare/v61.1.1...v61.2.0) Changes ^^^^^^^ - [#​3215](https://togithub.com/pypa/setuptools/issues/3215): Ignored a subgroup of invalid `pyproject.toml` files that use the `[project]` table to specify only `requires-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 ` is given. - [#​3215](https://togithub.com/pypa/setuptools/issues/3215): Updated `pyproject.toml` validation, as generated by `validate-pyproject==0.6.1`. - [#​3218](https://togithub.com/pypa/setuptools/issues/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 setting `dynamic` properly. .. important:: This is a **transitional** behaviour. Future releases of `setuptools` may simply ignore externally set metadata not backed by `dynamic` or even halt the build with an error. - [#​3224](https://togithub.com/pypa/setuptools/issues/3224): Merge changes from [pypa/distutils@`e1d5c9b`](https://togithub.com/pypa/distutils/commit/e1d5c9b1f6) Documentation changes ^^^^^^^^^^^^^^^^^^^^^ - [#​3217](https://togithub.com/pypa/setuptools/issues/3217): Fixed typo in `pyproject.toml` example in Quickstart -- by :user:`pablo-cardenas`. Misc ^^^^ - [#​3223](https://togithub.com/pypa/setuptools/issues/3223): Fixed missing requirements with environment markers when `optional-dependencies` is set in `pyproject.toml`. ### [`v61.1.1`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6111) [Compare Source](https://togithub.com/pypa/setuptools/compare/v61.1.0...v61.1.1) Misc ^^^^ - [#​3212](https://togithub.com/pypa/setuptools/issues/3212): Fixed missing dependencies when running `setup.py install`. Note that calling `setup.py install` directly is still deprecated and will be removed in future versions of `setuptools`. Please check the release notes for :ref:`setup_install_deprecation_note`. ### [`v61.1.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6110) [Compare Source](https://togithub.com/pypa/setuptools/compare/v61.0.0...v61.1.0) Deprecations ^^^^^^^^^^^^ - [#​3206](https://togithub.com/pypa/setuptools/issues/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](https://togithub.com/pypa/setuptools/issues/3202): Changed behaviour of auto-discovery to not explicitly expand `package_dir` for flat-layouts and to not use relative paths starting with `./`. - [#​3203](https://togithub.com/pypa/setuptools/issues/3203): Prevented `pyproject.toml` parsing from overwriting `dist.include_package_data` explicitly set in `setup.py` with default value. - [#​3208](https://togithub.com/pypa/setuptools/issues/3208): Added a warning for non existing files listed with the `file` directive in `setup.cfg` and `pyproject.toml`. - [#​3208](https://togithub.com/pypa/setuptools/issues/3208): Added a default value for dynamic `classifiers` in `pyproject.toml` when files are missing and errors being ignored. - [#​3211](https://togithub.com/pypa/setuptools/issues/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`. ### [`v61.0.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6100) [Compare Source](https://togithub.com/pypa/setuptools/compare/v60.10.0...v61.0.0) Deprecations ^^^^^^^^^^^^ - [#​3068](https://togithub.com/pypa/setuptools/issues/3068): Deprecated `setuptools.config.read_configuration`, `setuptools.config.parse_configuration` and other functions or classes from `setuptools.config`. Users that still need to parse and process configuration from `setup.cfg` can import a direct replacement from `setuptools.config.setupcfg`, however this module is transitional and might be removed in the future (the `setup.cfg` configuration format itself is likely to be deprecated in the future). Breaking Changes ^^^^^^^^^^^^^^^^ - [#​2894](https://togithub.com/pypa/setuptools/issues/2894): If you purposefully want to create an *"empty distribution"*, please be aware that some Python files (or general folders) might be automatically detected and included. Projects that currently don't specify both `packages` and `py_modules` in their configuration and contain extra folders or Python files (not meant for distribution), might see these files being included in the wheel archive or even experience the build to fail. You can check details about the automatic discovery (and how to configure a different behaviour) in :doc:`/userguide/package_discovery`. - [#​3067](https://togithub.com/pypa/setuptools/issues/3067): If the file `pyproject.toml` exists and it includes project metadata/config (via `[project]` table or `[tool.setuptools]`), a series of new behaviors that are not backward compatible may take place: - The default value of `include_package_data` will be considered to be `True`. - Setuptools will attempt to validate the `pyproject.toml` file according to PEP 621 specification. - The values specified in `pyproject.toml` will take precedence over those specified in `setup.cfg` or `setup.py`. Changes ^^^^^^^ - [#​2887](https://togithub.com/pypa/setuptools/issues/2887): **\[EXPERIMENTAL]** Added automatic discovery for `py_modules` and `packages` \-- by :user:`abravalheri`. Setuptools will try to find these values assuming that the package uses either the *src-layout* (a `src` directory containing all the packages or modules), the *flat-layout* (package directories directly under the project root), or the *single-module* approach (an isolated Python file, directly under the project root). The automatic discovery will also respect layouts that are explicitly configured using the `package_dir` option. For backward-compatibility, this behavior will be observed **only if both** `py_modules` **and** `packages` **are not set**. (**Note**: specifying `ext_modules` might also prevent auto-discover from taking place) If setuptools detects modules or packages that are not supposed to be in the distribution, please manually set `py_modules` and `packages` in your `setup.cfg` or `setup.py` file. If you are using a *flat-layout*, you can also consider switching to *src-layout*. - [#​2887](https://togithub.com/pypa/setuptools/issues/2887): **\[EXPERIMENTAL]** Added automatic configuration for the `name` metadata \-- by :user:`abravalheri`. Setuptools will adopt the name of the top-level package (or module in the case of single-module distributions), **only when** `name` **is not explicitly provided**. Please note that it is not possible to automatically derive a single name when the distribution consists of multiple top-level packages or modules. - [#​3066](https://togithub.com/pypa/setuptools/issues/3066): Added vendored dependencies for :pypi:`tomli`, :pypi:`validate-pyproject`. These dependencies are used to read `pyproject.toml` files and validate them. - [#​3067](https://togithub.com/pypa/setuptools/issues/3067): **\[EXPERIMENTAL]** When using `pyproject.toml` metadata, the default value of `include_package_data` is changed to `True`. - [#​3068](https://togithub.com/pypa/setuptools/issues/3068): **\[EXPERIMENTAL]** Add support for `pyproject.toml` configuration (as introduced by :pep:`621`). Configuration parameters not covered by standards are handled in the `[tool.setuptools]` sub-table. In the future, existing `setup.cfg` configuration may be automatically converted into the `pyproject.toml` equivalent before taking effect (as proposed in [#​1688](https://togithub.com/pypa/setuptools/issues/1688)). Meanwhile users can use automated tools like :pypi:`ini2toml` to help in the transition. Please note that the legacy backend is not guaranteed to work with `pyproject.toml` configuration. \-- by :user:`abravalheri` - [#​3125](https://togithub.com/pypa/setuptools/issues/3125): Implicit namespaces (as introduced in :pep:`420`) are now considered by default during :doc:`package discovery `, when `setuptools` configuration and project metadata are added to the `pyproject.toml` file. To disable this behaviour, use `namespaces = False` when explicitly setting the `[tool.setuptools.packages.find]` section in `pyproject.toml`. This change is backwards compatible and does not affect the behaviour of configuration done in `setup.cfg` or `setup.py`. - [#​3152](https://togithub.com/pypa/setuptools/issues/3152): **\[EXPERIMENTAL]** Added support for `attr:` and `cmdclass` configurations in `setup.cfg` and `pyproject.toml` when `package_dir` is implicitly found via auto-discovery. - [#​3178](https://togithub.com/pypa/setuptools/issues/3178): Postponed importing `ctypes` when hiding files on Windows. This helps to prevent errors in systems that might not have `libffi` installed. - [#​3179](https://togithub.com/pypa/setuptools/issues/3179): Merge with [pypa/distutils@`267dbd2`](https://togithub.com/pypa/distutils/commit/267dbd25ac) Documentation changes ^^^^^^^^^^^^^^^^^^^^^ - [#​3172](https://togithub.com/pypa/setuptools/issues/3172): Added initial documentation about configuring `setuptools` via `pyproject.toml` (using standard project metadata). Misc ^^^^ - [#​3065](https://togithub.com/pypa/setuptools/issues/3065): Refactored `setuptools.config` by separating configuration parsing (specific to the configuration file format, e.g. `setup.cfg`) and post-processing (which includes directives such as `file:` that can be used across different configuration formats). ### [`v60.10.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v60100) [Compare Source](https://togithub.com/pypa/setuptools/compare/v60.9.3...v60.10.0) Changes ^^^^^^^ - [#​2971](https://togithub.com/pypa/setuptools/issues/2971): Deprecated upload_docs command, to be removed in the future. - [#​3137](https://togithub.com/pypa/setuptools/issues/3137): Use samefile from stdlib, supported on Windows since Python 3.2. - [#​3170](https://togithub.com/pypa/setuptools/issues/3170): Adopt nspektr (vendored) to implement Distribution.\_install_dependencies. Documentation changes ^^^^^^^^^^^^^^^^^^^^^ - [#​3144](https://togithub.com/pypa/setuptools/issues/3144): Added documentation on using console_scripts from setup.py, which was previously only shown in setup.cfg -- by :user:`xhlulu` - [#​3148](https://togithub.com/pypa/setuptools/issues/3148): Added clarifications about `MANIFEST.in`, that include links to PyPUG docs and more prominent mentions to using a revision control system plugin as an alternative. - [#​3148](https://togithub.com/pypa/setuptools/issues/3148): Removed mention to `pkg_resources` as the recommended way of accessing data files, in favour of importlib.resources. Additionally more emphasis was put on the fact that *package data files* reside **inside** the *package directory* (and therefore should be *read-only*). Misc ^^^^ - [#​3120](https://togithub.com/pypa/setuptools/issues/3120): Added workaround for intermittent failures of backend tests on PyPy. These tests now are marked with `XFAIL `\_, instead of erroring out directly. - [#​3124](https://togithub.com/pypa/setuptools/issues/3124): Improved configuration for :pypi:`rst-linker` (extension used to build the changelog). - [#​3133](https://togithub.com/pypa/setuptools/issues/3133): Enhanced isolation of tests using virtual environments - PYTHONPATH is not leaking to spawned subprocesses -- by :user:`befeleme` - [#​3147](https://togithub.com/pypa/setuptools/issues/3147): Added options to provide a pre-built `setuptools` wheel or sdist for being used during tests with virtual environments. Paths for these pre-built distribution files can now be set via the environment variables: `PRE_BUILT_SETUPTOOLS_SDIST` and `PRE_BUILT_SETUPTOOLS_WHEEL`. ### [`v60.9.3`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6093) [Compare Source](https://togithub.com/pypa/setuptools/compare/v60.9.2...v60.9.3) Misc ^^^^ - [#​3093](https://togithub.com/pypa/setuptools/issues/3093): Repaired automated release process. ### [`v60.9.2`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6092) [Compare Source](https://togithub.com/pypa/setuptools/compare/v60.9.1...v60.9.2) Misc ^^^^ - [#​3035](https://togithub.com/pypa/setuptools/issues/3035): When loading distutils from the vendored copy, rewrite `__name__` to ensure consistent importing from inside and out. ### [`v60.9.1`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6091) [Compare Source](https://togithub.com/pypa/setuptools/compare/v60.9.0...v60.9.1) Misc ^^^^ - [#​3102](https://togithub.com/pypa/setuptools/issues/3102): Prevent vendored importlib_metadata from loading distributions from older importlib_metadata. - [#​3103](https://togithub.com/pypa/setuptools/issues/3103): Fixed issue where string-based entry points would be omitted. - [#​3107](https://togithub.com/pypa/setuptools/issues/3107): Bump importlib_metadata to 4.11.1 addressing issue with parsing requirements in egg-info as found in PyPy. ### [`v60.9.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6090) [Compare Source](https://togithub.com/pypa/setuptools/compare/v60.8.2...v60.9.0) Changes ^^^^^^^ - [#​2876](https://togithub.com/pypa/setuptools/issues/2876): In the build backend, allow single config settings to be supplied. - [#​2993](https://togithub.com/pypa/setuptools/issues/2993): Removed workaround in distutils hack for get-pip now that [pypa/get-pip#​137](https://togithub.com/pypa/get-pip/issues/137) is closed. - [#​3085](https://togithub.com/pypa/setuptools/issues/3085): Setuptools no longer relies on `pkg_resources` for entry point handling. - [#​3098](https://togithub.com/pypa/setuptools/issues/3098): Bump vendored packaging to 21.3. - Removed bootstrap script. .. warning:: Users trying to install the unmaintained :pypi:`pathlib` backport from PyPI/`sdist`/source code may find problems when using `setuptools >= 60.9.0`. This happens because during the installation, the unmaintained implementation of `pathlib` is loaded and may cause compatibility problems (it does not expose the same public API defined in the Python standard library). Whenever possible users should avoid declaring `pathlib` as a dependency. An alternative is to pre-build a wheel for `pathlib` using a separated virtual environment with an older version of setuptools and install the library directly from the pre-built wheel. ### [`v60.8.2`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6082) [Compare Source](https://togithub.com/pypa/setuptools/compare/v60.8.1...v60.8.2) Misc ^^^^ - [#​3091](https://togithub.com/pypa/setuptools/issues/3091): Make `concurrent.futures` import lazy in vendored `more_itertools` package to a avoid importing threading as a side effect (which caused `gevent/gevent#​1865 `\__). \-- by :user:`maciejp-ro` ### [`v60.8.1`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6081) [Compare Source](https://togithub.com/pypa/setuptools/compare/v60.8.0...v60.8.1) Misc ^^^^ - [#​3084](https://togithub.com/pypa/setuptools/issues/3084): When vendoring jaraco packages, ensure the namespace package is converted to a simple package to support zip importer. ### [`v60.8.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6080) [Compare Source](https://togithub.com/pypa/setuptools/compare/v60.7.1...v60.8.0) Changes ^^^^^^^ - [#​3085](https://togithub.com/pypa/setuptools/issues/3085): Setuptools now vendors importlib_resources and importlib_metadata and jaraco.text. Setuptools no longer relies on pkg_resources for ensure_directory nor parse_requirements. ### [`v60.7.1`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6071) [Compare Source](https://togithub.com/pypa/setuptools/compare/v60.7.0...v60.7.1) Misc ^^^^ - [#​3072](https://togithub.com/pypa/setuptools/issues/3072): Remove lorem_ipsum from jaraco.text when vendored. ### [`v60.7.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6070) [Compare Source](https://togithub.com/pypa/setuptools/compare/v60.6.0...v60.7.0) Changes ^^^^^^^ - [#​3061](https://togithub.com/pypa/setuptools/issues/3061): Vendored jaraco.text and use line processing from that library in pkg_resources. Misc ^^^^ - [#​3070](https://togithub.com/pypa/setuptools/issues/3070): Avoid AttributeError in easy_install.create_home_path when sysconfig.get_config_vars values are not strings. ### [`v60.6.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6060) [Compare Source](https://togithub.com/pypa/setuptools/compare/v60.5.0...v60.6.0) Changes ^^^^^^^ - [#​3043](https://togithub.com/pypa/setuptools/issues/3043): Merge with [pypa/distutils@`bb018f1`](https://togithub.com/pypa/distutils/commit/bb018f1ac3) including consolidated behavior in sysconfig.get_platform ([pypa/distutils#​104](https://togithub.com/pypa/distutils/issues/104)). - [#​3057](https://togithub.com/pypa/setuptools/issues/3057): Don't include optional `Home-page` in metadata if no `url` is specified. -- by :user:`cdce8p` - [#​3062](https://togithub.com/pypa/setuptools/issues/3062): Merge with [pypa/distutils@`b53a824`](https://togithub.com/pypa/distutils/commit/b53a824ec3) including improved support for lib directories on non-x64 Windows builds. Documentation changes ^^^^^^^^^^^^^^^^^^^^^ - [#​2897](https://togithub.com/pypa/setuptools/issues/2897): Added documentation about wrapping `setuptools.build_meta` in a in-tree custom backend. This is a :pep:`517`-compliant way of dynamically specifying build dependencies (e.g. when platform, OS and other markers are not enough). \-- by :user:`abravalheri` - [#​3034](https://togithub.com/pypa/setuptools/issues/3034): Replaced occurrences of the defunct distutils-sig mailing list with pointers to GitHub Discussions. \-- by :user:`ashemedai` - [#​3056](https://togithub.com/pypa/setuptools/issues/3056): The documentation has stopped suggesting to add `wheel` to :pep:`517` requirements -- by :user:`webknjaz` Misc ^^^^ - [#​3054](https://togithub.com/pypa/setuptools/issues/3054): Used Py3 syntax `super().__init__()` -- by :user:`imba-tjd` ### [`v60.5.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6050) [Compare Source](https://togithub.com/pypa/setuptools/compare/v60.4.0...v60.5.0) Changes ^^^^^^^ - [#​2990](https://togithub.com/pypa/setuptools/issues/2990): Set the `.origin` attribute of the `distutils` module to the module's `__file__`. ### [`v60.4.0`](https://togithub.com/pypa/setuptools/blob/HEAD/CHANGES.rst#v6040) [Compare Source](https://togithub.com/pypa/setuptools/compare/v60.3.1...v60.4.0) Changes ^^^^^^^ - [#​2839](https://togithub.com/pypa/setuptools/issues/2839): Removed `requires` sorting when installing wheels as an egg dir. - [#​2953](https://togithub.com/pypa/setuptools/issues/2953): Fixed a bug that easy install incorrectly parsed Python 3.10 version string. - [#​3006](https://togithub.com/pypa/setuptools/issues/3006): Fixed startup performance issue of Python interpreter due to imports of costly modules in `_distutils_hack` -- by :user:`tiran` Documentation changes ^^^^^^^^^^^^^^^^^^^^^ - [#​2674](https://togithub.com/pypa/setuptools/issues/2674): Added link to additional resources on packaging in Quickstart guide - [#​3008](https://togithub.com/pypa/setuptools/issues/3008): "In-tree" Sphinx extension for "favicons" replaced with `sphinx-favicon`. - [#​3008](https://togithub.com/pypa/setuptools/issues/3008): SVG images (logo, banners, ...) optimised with the help of the `scour` package. Misc ^^^^ - [#​2862](https://togithub.com/pypa/setuptools/issues/2862): Added integration tests that focus on building and installing some packages in the Python ecosystem via `pip` -- by :user:`abravalheri` - [#​2952](https://togithub.com/pypa/setuptools/issues/2952): Modified "vendoring" logic to keep license files. - [#​2968](https://togithub.com/pypa/setuptools/issues/2968): Improved isolation for some tests that where inadvertently using the project root for builds, and therefore creating directories (e.g. `build`, `dist`, `*.egg-info`) that could interfere with the outcome of other tests \-- by :user:`abravalheri`. - [#​2968](https://togithub.com/pypa/setuptools/issues/2968): Introduced new test fixtures `venv`, `venv_without_setu

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

performance-testing-bot[bot] commented 1 year ago

Unable to locate .performanceTestingBot config file

viezly[bot] commented 1 year ago

Pull request by bot. No need to analyze

difflens[bot] commented 1 year ago

View changes in DiffLens

guide-bot[bot] commented 1 year ago

Thanks for opening this Pull Request! We need you to:

  1. Fill out the description.

    Action: Edit description and replace <!- ... --> with actual values.

  2. Complete the activities.

    Action: Complete If you want to rebase/retry this PR, check this box

    If an activity is not applicable, use '\~activity description\~' to mark it not applicable.

difflens[bot] commented 1 year ago

View changes in DiffLens

difflens[bot] commented 1 year ago

View changes in DiffLens

pull-request-quantifier-deprecated[bot] commented 1 year ago

This PR has 0 quantified lines of changes. In general, a change size of upto 200 lines is ideal for the best PR experience!


Quantification details

``` Label : No Changes Size : +0 -0 Percentile : 0% Total files changed: 1 Change summary by file extension: .txt : +0 -0 ``` > Change counts above are quantified counts, based on the [PullRequestQuantifier customizations](https://github.com/microsoft/PullRequestQuantifier/blob/main/docs/prquantifier-yaml.md).

Why proper sizing of changes matters

Optimal pull request sizes drive a better predictable PR flow as they strike a balance between between PR complexity and PR review overhead. PRs within the optimal size (typical small, or medium sized PRs) mean: - Fast and predictable releases to production: - Optimal size changes are more likely to be reviewed faster with fewer iterations. - Similarity in low PR complexity drives similar review times. - Review quality is likely higher as complexity is lower: - Bugs are more likely to be detected. - Code inconsistencies are more likely to be detected. - Knowledge sharing is improved within the participants: - Small portions can be assimilated better. - Better engineering practices are exercised: - Solving big problems by dividing them in well contained, smaller problems. - Exercising separation of concerns within the code changes. #### What can I do to optimize my changes - Use the PullRequestQuantifier to quantify your PR accurately - Create a context profile for your repo using the [context generator](https://github.com/microsoft/PullRequestQuantifier/releases) - Exclude files that are not necessary to be reviewed or do not increase the review complexity. Example: Autogenerated code, docs, project IDE setting files, binaries, etc. Check out the `Excluded` section from your `prquantifier.yaml` context profile. - Understand your typical change complexity, drive towards the desired complexity by adjusting the label mapping in your `prquantifier.yaml` context profile. - Only use the labels that matter to you, [see context specification](./docs/prquantifier-yaml.md) to customize your `prquantifier.yaml` context profile. - Change your engineering behaviors - For PRs that fall outside of the desired spectrum, review the details and check if: - Your PR could be split in smaller, self-contained PRs instead - Your PR only solves one particular issue. (For example, don't refactor and code new features in the same PR). #### How to interpret the change counts in git diff output - One line was added: `+1 -0` - One line was deleted: `+0 -1` - One line was modified: `+1 -1` (git diff doesn't know about modified, it will interpret that line like one addition plus one deletion) - Change percentiles: Change characteristics (addition, deletion, modification) of this PR in relation to all other PRs within the repository.


Was this comment helpful? :thumbsup:  :ok_hand:  :thumbsdown: (Email) Customize PullRequestQuantifier for this repository.