Changelog
### 71.0.0
```
=======
Deprecations and Removals
-------------------------
- Now setuptools declares its own dependencies in the ``core`` extra. Dependencies are still vendored for bootstrapping purposes, but setuptools will prefer installed dependencies if present. The ``core`` extra is used for informational purposes and should *not* be declared in package metadata (e.g. ``build-requires``). Downstream packagers can de-vendor by simply removing the ``setuptools/_vendor`` directory. (2825)
```
### 70.3.0
```
=======
Features
--------
- Support for loading distutils from the standard library is now deprecated, including use of SETUPTOOLS_USE_DISTUTILS=stdlib and importing distutils before importing setuptools. (4137)
Bugfixes
--------
- Bugfix for building Cython extension on Windows (pypa/distutils268).
```
### 70.2.0
```
=======
Features
--------
- Updated distutils including significant changes to support Cygwin and mingw compilers. (4444)
Bugfixes
--------
- Fix distribution name normalisation (:pep:`625`) for valid versions that are
not canonical (e.g. ``1.0-2``). (4434)
```
### 70.1.1
```
=======
Misc
----
- 4429
```
### 70.1.0
```
=======
Features
--------
- Adopted the ``bdist_wheel`` command from the ``wheel`` project -- by :user:`agronholm` (1386)
- Improve error message when ``pkg_resources.ZipProvider`` tries to extract resources with a missing Egg -- by :user:`Avasam`
Added variables and parameter type annotations to ``pkg_resources`` to be nearly on par with typeshed.\* -- by :user:`Avasam`
\* Excluding ``TypeVar`` and ``overload``. Return types are currently inferred. (4246)
- Migrated Setuptools' own config to pyproject.toml (4310)
Bugfixes
--------
- Prevent a ``TypeError: 'NoneType' object is not callable`` when ``shutil_rmtree`` is called without an ``onexc`` parameter on Python<=3.11 -- by :user:`Avasam` (4382)
- Replace use of mktemp with can_symlink from the stdlib test suite. (4403)
- Improvement for ``attr:`` directives in configuration to handle
more edge cases related to complex ``package_dir``. (4405)
- Fix accidental implicit string concatenation. (4411)
Misc
----
- 4365, 4422
```
### 70.0.0
```
=======
Features
--------
- Emit a warning when ``[tools.setuptools]`` is present in ``pyproject.toml`` and will be ignored. -- by :user:`SnoopJ` (4150)
- Improved `AttributeError` error message if ``pkg_resources.EntryPoint.require`` is called without extras or distribution
Gracefully "do nothing" when trying to activate a ``pkg_resources.Distribution`` with a `None` location, rather than raising a `TypeError`
-- by :user:`Avasam` (4262)
- Typed the dynamically defined variables from `pkg_resources` -- by :user:`Avasam` (4267)
- Modernized and refactored VCS handling in package_index. (4332)
Bugfixes
--------
- In install command, use super to call the superclass methods. Avoids race conditions when monkeypatching from _distutils_system_mod occurs late. (4136)
- Fix finder template for lenient editable installs of implicit nested namespaces
constructed by using ``package_dir`` to reorganise directory structure. (4278)
- Fix an error with `UnicodeDecodeError` handling in ``pkg_resources`` when trying to read files in UTF-8 with a fallback -- by :user:`Avasam` (4348)
Improved Documentation
----------------------
- Uses RST substitution to put badges in 1 line. (4312)
Deprecations and Removals
-------------------------
- Further adoption of UTF-8 in ``setuptools``.
This change regards mostly files produced and consumed during the build process
(e.g. metadata files, script wrappers, automatically updated config files, etc..)
Although precautions were taken to minimize disruptions, some edge cases might
be subject to backwards incompatibility.
Support for ``"locale"`` encoding is now **deprecated**. (4309)
- Remove ``setuptools.convert_path`` after long deprecation period.
This function was never defined by ``setuptools`` itself, but rather a
side-effect of an import for internal usage. (4322)
- Remove fallback for customisations of ``distutils``' ``build.sub_command`` after long
deprecated period.
Users are advised to import ``build`` directly from ``setuptools.command.build``. (4322)
- Removed ``typing_extensions`` from vendored dependencies -- by :user:`Avasam` (4324)
- Remove deprecated ``setuptools.dep_util``.
The provided alternative is ``setuptools.modified``. (4360)
Misc
----
- 4255, 4280, 4282, 4308, 4348
```
Links
- PyPI: https://pypi.org/project/setuptools
- Changelog: https://data.safetycli.com/changelogs/setuptools/
This PR updates setuptools from 69.5.1 to 71.0.0.
Changelog
### 71.0.0 ``` ======= Deprecations and Removals ------------------------- - Now setuptools declares its own dependencies in the ``core`` extra. Dependencies are still vendored for bootstrapping purposes, but setuptools will prefer installed dependencies if present. The ``core`` extra is used for informational purposes and should *not* be declared in package metadata (e.g. ``build-requires``). Downstream packagers can de-vendor by simply removing the ``setuptools/_vendor`` directory. (2825) ``` ### 70.3.0 ``` ======= Features -------- - Support for loading distutils from the standard library is now deprecated, including use of SETUPTOOLS_USE_DISTUTILS=stdlib and importing distutils before importing setuptools. (4137) Bugfixes -------- - Bugfix for building Cython extension on Windows (pypa/distutils268). ``` ### 70.2.0 ``` ======= Features -------- - Updated distutils including significant changes to support Cygwin and mingw compilers. (4444) Bugfixes -------- - Fix distribution name normalisation (:pep:`625`) for valid versions that are not canonical (e.g. ``1.0-2``). (4434) ``` ### 70.1.1 ``` ======= Misc ---- - 4429 ``` ### 70.1.0 ``` ======= Features -------- - Adopted the ``bdist_wheel`` command from the ``wheel`` project -- by :user:`agronholm` (1386) - Improve error message when ``pkg_resources.ZipProvider`` tries to extract resources with a missing Egg -- by :user:`Avasam` Added variables and parameter type annotations to ``pkg_resources`` to be nearly on par with typeshed.\* -- by :user:`Avasam` \* Excluding ``TypeVar`` and ``overload``. Return types are currently inferred. (4246) - Migrated Setuptools' own config to pyproject.toml (4310) Bugfixes -------- - Prevent a ``TypeError: 'NoneType' object is not callable`` when ``shutil_rmtree`` is called without an ``onexc`` parameter on Python<=3.11 -- by :user:`Avasam` (4382) - Replace use of mktemp with can_symlink from the stdlib test suite. (4403) - Improvement for ``attr:`` directives in configuration to handle more edge cases related to complex ``package_dir``. (4405) - Fix accidental implicit string concatenation. (4411) Misc ---- - 4365, 4422 ``` ### 70.0.0 ``` ======= Features -------- - Emit a warning when ``[tools.setuptools]`` is present in ``pyproject.toml`` and will be ignored. -- by :user:`SnoopJ` (4150) - Improved `AttributeError` error message if ``pkg_resources.EntryPoint.require`` is called without extras or distribution Gracefully "do nothing" when trying to activate a ``pkg_resources.Distribution`` with a `None` location, rather than raising a `TypeError` -- by :user:`Avasam` (4262) - Typed the dynamically defined variables from `pkg_resources` -- by :user:`Avasam` (4267) - Modernized and refactored VCS handling in package_index. (4332) Bugfixes -------- - In install command, use super to call the superclass methods. Avoids race conditions when monkeypatching from _distutils_system_mod occurs late. (4136) - Fix finder template for lenient editable installs of implicit nested namespaces constructed by using ``package_dir`` to reorganise directory structure. (4278) - Fix an error with `UnicodeDecodeError` handling in ``pkg_resources`` when trying to read files in UTF-8 with a fallback -- by :user:`Avasam` (4348) Improved Documentation ---------------------- - Uses RST substitution to put badges in 1 line. (4312) Deprecations and Removals ------------------------- - Further adoption of UTF-8 in ``setuptools``. This change regards mostly files produced and consumed during the build process (e.g. metadata files, script wrappers, automatically updated config files, etc..) Although precautions were taken to minimize disruptions, some edge cases might be subject to backwards incompatibility. Support for ``"locale"`` encoding is now **deprecated**. (4309) - Remove ``setuptools.convert_path`` after long deprecation period. This function was never defined by ``setuptools`` itself, but rather a side-effect of an import for internal usage. (4322) - Remove fallback for customisations of ``distutils``' ``build.sub_command`` after long deprecated period. Users are advised to import ``build`` directly from ``setuptools.command.build``. (4322) - Removed ``typing_extensions`` from vendored dependencies -- by :user:`Avasam` (4324) - Remove deprecated ``setuptools.dep_util``. The provided alternative is ``setuptools.modified``. (4360) Misc ---- - 4255, 4280, 4282, 4308, 4348 ```Links
- PyPI: https://pypi.org/project/setuptools - Changelog: https://data.safetycli.com/changelogs/setuptools/