Re: [LFS Trac] #5676: setuptools-78.1.0
| Newsgroups | gmane.linux.lfs.book |
|---|---|
| Message-ID | <[email protected]> |
#5676: setuptools-78.1.0
-------------------------+-----------------------
Reporter: Bruce Dubbs | Owner: lfs-book
Type: enhancement | Status: new
Priority: normal | Milestone: 12.4
Component: Book | Version: git
Severity: normal | Resolution:
Keywords: |
-------------------------+-----------------------
Comment (by Bruce Dubbs):
v78.1.0
- Restore access to _get_vc_env with a warning.
v78.0.2
- Postponed removals of deprecated dash-separated and uppercase fields in
``setup.cfg``.
All packages with deprecated configurations are advised to move before
2026.
v78.0.0
- Reverted distutils changes that broke the monkey patching of command
classes.
- Deprecations and Removals
- Setuptools no longer accepts options containing uppercase or dash
characters in ``setup.cfg``.
Please ensure to write the options in ``setup.cfg`` using
the :wiki:`lower_snake_case <Snake_case>` convention
(e.g. ``Name => name``, ``install-requires => install_requires``).
This is a follow-up on deprecations introduced in
`v54.1.0 <https://setuptools.pypa.io/en/latest/history.html#v54-1-0>`_
and
`v54.1.1 <https://setuptools.pypa.io/en/latest/history.html#v54-1-1>`_ .
-- note::
This change *does not affect configurations in* ``pyproject.toml``
(which uses the :wiki:`lower-kebab-case <Letter_case#Kebab_case>`
convention following the precedent set in :pep:`517`/:pep:`518`).
v77.0.3
- Temporarily convert error for license glob patterns
containing ``../`` into a deprecation warning to allow an
accomodation period.
- Better error messages for ``packaging.licenses`` import errors
in environments with ``packaging<24.2``\.
The import statement was also deferred to spare users that are not using
license expressions.
- Avoided eagerly raising an exception when ``license-files`` is defined
simultaneously inside and outside of ``pyproject.toml``.
Instead we rely on the existing deprecation error.
v77.0.2
- Restore ``distutils.ccompiler._default_compilers`` -- by
:user:`ManiacDC`
- Fixed copy pasta in ``msvc.shared_lib_format``\.
v77.0.1
- Manually fix news fragment entries causing CI to crash when building
docs.
v77.0.0
- Added initial support for license expression
(PEP :pep:`639 <639#add-license-expression-field>`).
- Store ``License-File``\s in ``.dist-info/licenses`` subfolder and
added support for recursive globs for ``license_files``
(PEP :pep:`639 <639#add-license-expression-field>`).
- Bump core metadata version to ``2.4``\. -- by :user:`cdce8p`
- Updated vendored copy of ``wheel`` to ``v0.45.1``\.
Deprecations and Removals
- Added initial implementation of :pep:`639`.
Users relying on pre- :pep:`639` implementation details
(like precise license file paths inside ``dist-info`` directory)
may need to adjust their code base to avoid problems.
Deprecations and stronger validation were also introduced
- Added exception (or warning) when deprecated license classifiers are
used,
according to PEP :pep:`639 <639#deprecate-license-classifiers>`.
- Deprecated ``tools.setuptools.license-files`` in favor
of ``project.license-files`` and added exception
if ``project.license-files`` and ``tools.setuptools.license-files``
are used together.
- Deprecated ``project.license`` as a TOML table in
``pyproject.toml``\. Users are expected to move towards using
``project.license-files`` and/or SPDX expressions (as strings) in
``pyproject.license``\.
See PEP :pep:`639 <639#deprecate-license-key-table-subkeys>`. (#4840)
- Added simple validation for given glob patterns in ``license-files``\:
a warning will be generated if no file is matched.
Invalid glob patterns can raise an exception.
v76.1.0
- In setuptools.msvc.EnvironmentInfo, now honor the correct paths
when on an ARM host.
- Restored implicit distutils.ccompiler import for g-ir-scanner.
- Restore ``distutils.ccompiler.compiler_class``
--
Ticket URL: <https://wiki.linuxfromscratch.org/lfs/ticket/5676#comment:5>
LFS Trac <https://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page