* #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
* Set sys.argv[0] in setup script run by build_meta.__legacy__
* Fix for Python 4: replace unsafe six.PY3 with six.PY2
* Fixed a bug in the “setuptools.finalize_distribution_options” hook
that lead to ignoring the order attribute of entry points managed
by this hook.
* Avoid loading working set during Distribution.finalize_options prior
to invoking _install_setup_requires, broken since v42.0.0.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=199
- last version with python2 support
- add testdata.tar.gz -> missing data for testsuite
* Drop support for Python 3.4.
* include pyproject.toml in source distribution by default.
Projects relying on the previous behavior where pyproject.toml
* Setuptools once again declares 'setuptools' in the build-system.requires
and adds PEP 517 build support by declaring itself as the build-backend
* Fix support for easy_install's find-links option in setup.cfg
* Build dependencies (setup_requires and tests_require) now install transitive
dependencies indicated by extras.
* Mark the easy_install script and setuptools command as deprecated, and use
pip when available to fetch/build wheels for missing setup_requires/tests_require
requirements, with the following differences in behavior:
+ support for python_requires
+ better support for wheels (proper handling of priority with respect to PEP 425 tags)
+ PEP 517/518 support
+ eggs are not supported
+ no support for the allow_hosts easy_install option (index_url/find_links are still honored)
+ pip environment variables are honored (and take precedence over easy_install options)
* Removed the "upload" and "register" commands in favor of twine.
* Add support for the license_files option in setup.cfg to automatically
include multiple license files in a source distribution.
* Update handling of wheels compatibility tags: * add support for manylinux2010
* fix use of removed 'm' ABI flag in Python 3.8 on Windows
* Fix empty namespace package installation from wheel.
* Setuptools now exposes a new entry point hook "setuptools.finalize_distribution_options",
enabling plugins like setuptools_scm to configure options on the distribution
at finalization time.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=189
* #479: Remove some usage of the deprecated imp module.
* #1565: Changed html_sidebars from string to list of string as per https://www.sphinx-doc.org/en/master/changes.html#id58
* #1697: Moved most of the constants from setup.py to setup.cfg
* #1756: Forse metadata-version >= 1.2. when project urls are present.
- build python3 subpackage (FATE#323875)
- update to 18.0.1 for fate#319032
* see full changelog in CHANGES.txt
- fix vulnerability in non-RFC6125-compliant host name matching
(bsc#930189, setuptools-1.1.7-match-hostname.patch)
- Add package to SLE 12 SDK (FATE#318137, bnc#913229)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=174
* #1735: When parsing setup.cfg files, setuptools now requires the files
to be encoded as UTF-8. Any other encoding will lead to a UnicodeDecodeError.
This change removes support for specifying an encoding using a 'coding: '
directive in the header of the file, a feature that was introduces in 40.7.
Given the recent release of the aforementioned feature, it is assumed that
few if any projects are utilizing the feature to specify an encoding
other than UTF-8.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=170