Setuptools

Latest version: v69.5.1

Safety actively analyzes 630169 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 109

67.3.3

=======


Misc
----
* 3820: Restore quoted ``include`` argument to ``has_function``.

67.3.2

=======


Misc
----
* 3827: Improve deprecation warning message on ``pkg_resources.declare_namespace``
to display package name.

67.3.1

=======


Misc
----
* 3823: Fixes ``egg_info`` code path triggered during integration with ``pip``.

67.3.0

=======


Deprecations
------------
* 3434: Added deprecation warning for ``pkg_resources.declare_namespace``.
Users that wish to implement namespace packages, are recommended to follow the
practice described in PEP 420 and omit the ``__init__.py`` file entirely.

Changes
-------
* 3792: Reduced usage of ``pkg_resources`` in ``setuptools`` via internal
restructuring and refactoring.

Misc
----
* 3822: Added debugging tips for "editable mode" and update related docs.
Instead of using a custom exception to display the help message to the user,
``setuptools`` will now use a warning and re-raise the original exception.
* 3822: Added clarification about ``editable_wheel`` and ``dist_info`` CLI commands:
they should not be called directly with ``python setup.py ...``.
Instead they are reserved for internal use of ``setuptools`` (effectively as "private" commands).
Users are recommended to rely on build backend APIs (:pep:`517` and :pep:`660`)
exposed by ``setuptools.build_meta``.

67.2.0

=======


Changes
-------
* 3809: Merge with distutils8c3c3d29, including fix for ``sysconfig.get_python_inc()`` (pypa/distutils178), fix for segfault on MinGW (pypa/distutils196), and better ``has_function`` support (pypa/distutils195, 3648).

67.1.0

=======


Changes
-------
* 3795: Ensured that ``__file__`` is an absolute path when executing ``setup.py`` as
part of ``setuptools.build_meta``.

Misc
----
* 3798: Updated validations for ``pyproject.toml`` using ``validate-pyproject==0.12.1``
to allow stub packages (:pep:`561`) to be listed in ``tool.setuptools.packages``
and ``tool.setuptools.package-dir``.

Page 6 of 109

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.