- update to 77.0.3:
* Temporarily convert error for license glob patterns containing
../ into a deprecation warning to allow an accomodation period
* Better error messages for packaging.
* Avoided eagerly raising an exception when license-files is
defined simultaneously inside and outside of pyproject.toml.
* Added initial support for license expression (PEP 639)
* Store License-Files in .dist-info/licenses subfolder and
added support for recursive globs for license_files (PEP 639)
* Bump core metadata version to 2.4.
* Updated vendored copy of wheel to v0.45.1
OBS-URL: https://build.opensuse.org/request/show/1255200
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=288
* Preserve original PKG-INFO into METADATA when creating wheel
(instead of calling wheel.metadata.pkginfo_to_metadata). This
helps to be more compliant with the flow specified in PEP
517.
* Changed the WindowsSdkVersion, FrameworkVersion32 and
FrameworkVersion64 properties of setuptools.msvc.PlatformInfo
to return an empty tuple instead of None as a fallthrough
case -- by :user:`Avasam`
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=273
* Removed support for
SETUPTOOLS_DANGEROUSLY_SKIP_PYPROJECT_VALIDATION, as it is
deemed prone to errors.
* Added support for the environment variable
SETUPTOOLS_DANGEROUSLY_SKIP_PYPROJECT_VALIDATION=true,
allowing users to bypass the validation of pyproject.toml.
This option should be used only as a last resort when
resolving dependency issues, as it may lead to improper
functioning. Users who enable this setting are responsible
for ensuring that pyproject.toml complies with setuptools
requirements. (#4611) Attention! This environment variable
was removed in a later version of setuptools.
* Require Python 3.9 or later. (#4718)
* Remove dependency on importlib_resources and the vendored
copy of the library. Instead, setuptools consistently rely on
stdlib's importlib.resources (available on Python 3.9+).
(#4718)
* Setuptools' bdist_wheel implementation no longer produces
wheels with the m SOABI flag (pymalloc-related). This flag
was removed on Python 3.8+ (see :obj:`sys.abiflags`). (#4718)
* Updated vendored packaging version to 24.2. (#4740)
* Merge with pypa/distutils@251797602, including fix for
dirutil.mkpath handling in pypa/distutils#304.
* Allowed using dict as an ordered type in
setuptools.dist.check_requirements -- by :user:`Avasam`
* Ensured methods in setuptools.modified preferably raise a
consistent distutils.errors.DistutilsError type (except in
the deprecated use case of SETUPTOOLS_USE_DISTUTILS=stdlib)
-- by :user:`Avasam`
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=272
* Restore the tests command and deprecate access to the module.
* Added return types to typed public functions.
* Removed lingering unused code around Distribution._patched_dist.
* Reset the backports module when enabling vendored packages.
* Include all vendored files in the sdist.
* Restored package data that went missing in 71.0. This change also
incidentally causes tests to be installed once again.
* 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).
* Support for loading distutils from the standard library is now
deprecated, including use of SETUPTOOLS_USE_DISTUTILS=stdlib and
importing distutils before importing setuptools.
* Fix distribution name normalisation for valid versions that are not
canonical (e.g. 1.0-2).
+ Modernized and refactored VCS handling in package_index.
(bsc#1228105, CVE-2024-6345)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=267
* Improve error message when pkg_resources.ZipProvider tries to
extract resources with a missing Egg
Added variables and parameter type annotations to
pkg_resources to be nearly on par with typeshed.*
* Improve error message when pkg_resources.ZipProvider tries to
extract resources with a missing Egg
* Added variables and parameter type annotations to
pkg_resources to be nearly on par with typeshed.*
* Migrated Setuptools' own config to pyproject.toml
* Prevent a TypeError: 'NoneType' object is not callable when
shutil_rmtree is called without an onexc parameter on
Python<=3.11
* Replace use of mktemp with can_symlink from the stdlib test
suite.
* Improvement for attr: directives in configuration to handle
more edge cases related to complex package_dir.
* Fix accidental implicit string concatenation.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=264
* Features
+ Emit a warning when [tools.setuptools] is present in pyproject.toml and
will be ignored.
+ 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.
+ Refresh unpinned vendored dependencies.
+ Updated vendored packaging to version 24.0.
+ Merged with pypa/distutils@55982565e.
+ Support PEP 625 by canonicalizing package name and version in filenames.
+ Explicitly use encoding="locale" for .pth files whenever possible, to
reduce EncodingWarnings.
+ Updated and removed obsolete Python < 3.8 code and comments.
+ Updated pkg_resources to use stdlib importlib.machinery instead of
importlib_machinery.
* Bugfixes
+ In install command, use super to call the superclass methods. Avoids
race conditions when monkeypatching from _distutils_system_mod occurs
late.
+ Fix finder template for lenient editable installs of implicit nested
namespaces constructed by using package_dir to reorganise directory
structure.
+ Remove attempt to canonicalize the version. It's already canonical
enough.
+ Clarify some pkg_resources methods return bytes, not str. Also return an
empty bytes in EmptyProvider._get.
+ Return an empty list by default in
pkg_resources.ResourceManager.cleanup_resources.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=262
* Added missing estimated date for removing
``setuptools.dep_util`` (deprecated in v69.0.0).
* Fixed imports of ``setuptools.dep_util.newer_group``.
* A deprecation warning is issued instead of a hard failure.
* Include type information (``py.typed``, ``*.pyi``) by default
(#3136) -- by :user:`Danie-1`,
* Exported ``distutils.dep_util`` and ``setuptools.dep_util``
through ``setuptools.modified``
* Merged with pypa/distutils@7a04cbda0f.
* Replaced hardcoded numeric values with :obj:`dis.opmap`,
fixing problem with 3.13.0a1. (#4094)
* Configuring project ``version`` and ``egg_info.tag_*`` in
such a way that results in invalid version strings
(according to :pep:`440`) is no longer permitted. (#4066)
* Removed deprecated ``egg_base`` option from ``dist_info``.
* The parsing of the deprecated ``metadata.license_file`` and
``metadata.requires`` fields in ``setup.cfg`` is no longer
supported.
* Users are expected to move to ``metadata.license_files`` and
``options.install_requires`` (respectively). (#4066)
* Passing ``config_settings`` to ``setuptools.build_meta`` with
deprecated values for ``--global-option`` is no longer
allowed. (#4066)
* Removed deprecated ``namespace-packages`` from
``pyproject.toml``.
* Added strict enforcement for ``project.dynamic`` in
``pyproject.toml``.
This removes the transitional ability of users configuring
certain parameters via ``setup.py`` without making the
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=255
doesn't fix anything. just a small bump
- update to 68.1.2
* Fix editable install finder handling of nested packages, by only
handling 1 level of nesting and relying on importlib.machinery
to find the remaining modules based on the parent package path.
- update to 68.1.0
* Removed code referencing bdist_wininst in install_scripts.
* Promote pyproject.toml’s [tool.setuptools] out of beta.
* Automatically add files listed in Extension.depends to sdists,
as long as they are contained in the project directory
* Require Python 3.8 or later.
* Use default encoding to create .pth files with editable_wheel.
* Detects (and complain about) scripts and gui-scripts set via
setup.py when pyproject.toml does not include them in dynamic.
OBS-URL: https://build.opensuse.org/request/show/1108257
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=250
- update to 68.1.0
* Removed code referencing bdist_wininst in install_scripts.
* Promote pyproject.toml’s [tool.setuptools] out of beta.
* Automatically add files listed in Extension.depends to sdists,
as long as they are contained in the project directory
* Require Python 3.8 or later.
* Use default encoding to create .pth files with editable_wheel.
* Detects (and complain about) scripts and gui-scripts set via
setup.py when pyproject.toml does not include them in dynamic.
OBS-URL: https://build.opensuse.org/request/show/1104361
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=248
* Removed verification for existing ``depends.txt`` file
* Remove autofixing of broken ``.egg-info`` directories
containing the ``-`` character in their base name (without suffix).
* Remove deprecated APIs in ``easy_install``:
``get_script_args``,
``get_script_header`` and ``get_writer``.
* Removed ``egg_info.get_pkg_info_revision`` (deprecated
* Removed ``setuptools.dist._get_unpatched`` (deprecated
* Removed support for SVN in
``setuptools.package_index`` (deprecated since 2018).
* Removed support for invalid ``pyproject.toml`` files.
* Added symlink support to launcher for installed
executables -- by :user:`eugene-sevostianov-sc`
* Updated vendored ``packaging`` version from 23.0 to
23.1 -- by :user:`MetRonnie`
* Implemented workaround for old versions of
``vswhere``, which miss the
* ``-requiresAny`` parameter, such as the ones distributed
together with Visual Studio 2017 < 15.6.
* Changed ``DistutilsMetaFinder`` to skip
``spec_for_pip`` on Python >= 3.12.
* Removed ``_distutils_hack.remove_shim`` on Python >=
3.12 (since ``distutils`` was removed from the standard library,
``DistutilsMetaFinder`` cannot be disabled on Python >=
3.12).
* #3920: Add a link to deprecation warning in ``pkg_resources``
and improve ``stacklevel`` for better visibility.
- drop use-tarfile-extraction_filter.patch (upstream)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=247
* #3902: Fixed wrong URLs used in warnings and logs.
* #3898: Fixes setuptools.dist:invalid_unless_false when value is false
don’t raise error
* #3849: Overhaul warning system for better visibility.
* #3884: Add a stacklevel parameter to warnings.warn() to provide more
information to the user.
- Add patch use-tarfile-extraction_filter.patch:
* Set an extraction_filter to avoid a warning.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=240
* Deprecations
+ #3434: Added deprecation warning for pkg_resources.declare_namespace.
* Breaking Changes
+ #3741: Removed patching of distutils._msvccompiler.gen_lib_options for
compatibility with Numpy < 1.11.2 -- by :user:`mgorny`
+ #2497: Support for PEP 440 non-conforming versions has been removed.
* Changes
+ #3804: Added caching for supported wheel tags.
+ #3846: Added pruning heuristics to PackageFinder based on exclude.
+ #3843: Although pkg_resources has been discouraged for use, some
projects still consider pkg_resources viable for usage. This change
makes it clear that pkg_resources should not be used, emitting a
DeprecationWarning when imported.
+ #3809: Merge with distutils@8c3c3d29, including fix for
sysconfig.get_python_inc() (pypa/distutils#178), fix for segfault on
MinGW (pypa/distutils#196), and better has_function
support (pypa/distutils#195, #3648).
+ #3795: Ensured that __file__ is an absolute path when executing setup.py
as part of setuptools.build_meta.
+ #3685: Fix improper usage of deprecated/removed pkgutil APIs in
Python 3.12+.
+ #3769: Replace 'appdirs' with 'platformdirs'.
* Misc
+ #3838: Improved error messages for pyproject.toml validations.
+ #3839: Fixed pkg_resources errors caused when parsing metadata of
packages that are already installed but do not conform with PEP 440.
+ #3823: Fixes egg_info code path triggered during integration with pip.
+ #3782: Fixed problem with file directive in tool.setuptools.dynamic
when value is a simple string instead of list.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=236
python3.8 bsc#1204395
- Update to version 65.5.0:
* #3624: Fixed editable install for multi-module/no-package src-layout
projects.
* #3626: Minor refactorings to support distutils using stdlib logging module.
* #3419: Updated the example version numbers to be compliant with PEP-440 on
the "Specifying Your Project’s Version" page of the user guide.
* #3569: Improved information about conflicting entries in the current
working directory and editable install (in documentation and as an
informational warning).
* #3576: Updated version of validate_pyproject.
- v65.4.1
* #3613: Fixed encoding errors in expand.StaticModule when system default
encoding doesn't match expectations for source files.
* #3617: Merge with pypa/distutils@6852b20 including fix for
pypa/distutils#181.
- v65.4.0
* #3609: Merge with pypa/distutils@d82d926 including support for
DIST_EXTRA_CONFIG in pypa/distutils#177.
- v65.3.0
* #3547: Stop ConfigDiscovery.analyse_name from splatting the
Distribution.name attribute -- by :user:`jeamland`
* #3554: Changed requires to requests in the pyproject.toml example in the
:doc:`Dependency management section of the Quickstart guide
<userguide/quickstart>` -- by :user:`mfbutner`
* #3561: Fixed accidental name matching in editable hooks.
- v65.2.0
* #3553: Sync with pypa/distutils@22b9bcf, including fixed cross-compiling
support and removing deprecation warning per pypa/distutils#169.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=227
- Update to version 63.1.0
* #3430: Merge with pypa/distutils@152c13d including
pypa/distutils#155 (improved compatibility for editable
installs on homebrew Python 3.9), pypa/distutils#150 (better
handling of runtime_library_dirs on cygwin), and
pypa/distutils#151 (remove warnings for namespace packages).
- v63.0.0
* #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
* #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).
- v62.6.0
* #3253: Enabled using file: for requirements in setup.cfg -- by
:user:`akx` (this feature is currently considered to be in beta
stage).
* #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: Updated attr: to also extract simple constants with type
annotations -- by :user:`karlotness`
- v62.5.0
* #3347: Changed warnings and documentation notes about
experimental aspect of pyproject.toml configuration: now
OBS-URL: https://build.opensuse.org/request/show/989053
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=223
* ``setup.py install`` and ``easy_install`` commands are now officially
deprecated. Use other standards-based installers (like pip) and builders (like
build). Workloads reliant on this behavior should pin to this major version of
Setuptools.
* #1988: Deprecated the ``bdist_rpm`` command.
* #2785: Replace confirparser's readfp with read_file, deprecated since Python 3.2.
* #2823: Officially deprecated support for ``setup_requires``. Users are
encouraged instead to migrate to PEP 518 ``build-system.requires`` in
``pyproject.toml``. Users reliant on ``setup_requires`` should consider
pinning to this major version to avoid disruption.
* #2762: Changed codecov.yml to configure the threshold to be lower
* #2757: Add windows arm64 launchers for scripts generated by easy_install.
* #2800: Added ``--owner`` and ``--group`` options to the ``sdist`` command,
for specifying file ownership within the produced tarball (similarly
to the corresponding distutils ``sdist`` options).
* #2792: Document how the legacy and non-legacy versions are compared, and
reference to the `PEP 440 <https://www.python.org/dev/peps/pep-0440/>`_
scheme.
* #2773: Retain case in setup.cfg during sdist.
* #2777: Build does not fail fast when ``use_2to3`` is supplied but set to a
false value.
* #2769: Build now fails fast when ``use_2to3`` is supplied.
* #2765: In Distribution.finalize_options, suppress known removed entry points
to avoid issues with older Setuptools.
* #2086: Removed support for 2to3 during builds. Projects should port to a
unified codebase or pin to an older version of Setuptools using PEP 518
build-requires.
* #2712: Added implicit globbing support for `[options.data_files]` values.
* #2737: fix various syntax and style errors in code snippets in docs
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=220
- update to version 57.4.0:
* Changes
+ #2722: Added support for SETUPTOOLS_EXT_SUFFIX environment
variable to override the suffix normally detected from the
sysconfig module.
- changes from version 57.3.0:
* Changes
+ #2465: Documentation is now published using the Furo theme.
- changes from version 57.2.0:
* Changes
+ #2724: Added detection of Windows ARM64 build environments using
the VSCMD_ARG_TGT_ARCH environment variable.
- changes from version 57.1.0:
* Changes
+ #2692: Globs are now sorted in 'license_files' restoring
reproducibility by eliminating variance from disk order.
+ #2714: Update to distutils at pypa/distutils@e2627b7.
+ #2715: Removed reliance on deprecated ssl.match_hostname by
removing the ssl support. Now any index operations rely on the
native SSL implementation.
* Documentation changes
+ #2604: Revamped the backward/cross tool compatibility section to
remove some confusion. Add some examples and the version since
when entry_points are supported in declarative
configuration. Tried to make the reading flow a bit leaner,
gather some informations that were a bit dispersed.
OBS-URL: https://build.opensuse.org/request/show/907610
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=218