Setuptools

Latest version: v75.8.0

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

Scan your dependencies

Page 12 of 114

67.1.0

Not secure
=======


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``.

67.0.0

Not secure
=======


Breaking Changes
----------------
* 3741: Removed patching of ``distutils._msvccompiler.gen_lib_options``
for compatibility with Numpy < 1.11.2 -- by :user:`mgorny`
* 3790: Bump vendored version of :pypi:`packaging` to 23.0
(:pypi:`pyparsing` is no longer required and was removed).
As a consequence, users will experience a more strict parsing of requirements.
Specifications that don't comply with :pep:`440` and :pep:`508` will result
in build errors.

66.1.1

Not secure
=======


Misc
----
* 3782: Fixed problem with ``file`` directive in ``tool.setuptools.dynamic``
(``pyproject.toml``) when value is a simple string instead of list.

66.1.0

Not secure
=======


Changes
-------
* 3685: Fix improper usage of deprecated/removed ``pkgutil`` APIs in Python 3.12+.
* 3779: Files referenced by ``file:`` in ``setup.cfg`` and by ``project.readme.file``,
``project.license.file`` or ``tool.setuptools.dynamic.*.file`` in
``pyproject.toml`` are now automatically included in the generated sdists.

Misc
----
* 3776: Added note about using the ``--pep-517`` flag with ``pip`` to workaround
``InvalidVersion`` errors for packages that are already installed in the system.

66.0.0

Not secure
=======


Breaking Changes
----------------
* 2497: Support for PEP 440 non-conforming versions has been removed. Environments containing packages with non-conforming versions may fail or the packages may not be recognized.

Changes
-------
* 3769: Replace 'appdirs' with 'platformdirs'.

65.7.0

Not secure
=======


Changes
-------
* 3594: Added ``htmlcov`` to FlatLayoutModuleFinder.DEFAULT_EXCLUDE -- by :user:`demianbrecht`
* 3667: Added a human-readable error description when ``.egg-info`` directory is not writeable -- by :user:`droodev`

Misc
----
* 3713: Fixed incomplete ``getattr`` statement that caused problems when accessing
undefined attribute.

Page 12 of 114

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.