- Update to 67.6.0:
* 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/request/show/1070290
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=74
* 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
- Update to 65.6.3:
* #3709: Fix condition to patch distutils.dist.log to only apply when using
distutils from the stdlib.
- v65.6.2
* No significant changes.
- Update to 65.6.1:
* #3689: Document that distutils.cfg might be ignored unless
SETUPTOOLS_USE_DISTUTILS=stdlib.
* #3678: Improve clib builds reproducibility by sorting sources -- by
:user:`danigm`, fixing bsc#1201127
* #3684: Improved exception/traceback when invalid entry-points are
specified.
* #3690: Fixed logging errors: 'underlying buffer has been detached' (issue
#1631).
* #3693: Merge pypa/distutils@3e9d47e with compatibility fix for
distutils.log.Log.
* #3704: Fix temporary build directories interference with auto-discovery.
- v65.6.0:
* #3674: Sync with pypa/distutils@e0787fa, including pypa/distutils#183
updating distutils to use the Python logging framework.
OBS-URL: https://build.opensuse.org/request/show/1037861
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=73
- Skip test_pbr_integration because it tries to install pbr using pip from
network
- Add fix-get-python-lib-python38.patch to fix get_python_lib() method in
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.
- v65.1.1
* #3551: Avoided circular imports in meta path finder for editable installs
when a missing module has the same name as its parent.
- v65.1.0
* #3536: Remove monkeypatching of msvc9compiler.
* #3538: Corrected documentation on how to use the legacy-editable mode.
- v65.0.2
* #3505: Restored distutils msvccompiler and msvc9compiler modules and marked
as deprecated (pypa/distutils@c802880).
- v65.0.1
* #3529: Added clarification to :doc:`/userguide/quickstart` about support to
setup.py.
* #3526: Fixed backward compatibility of editable installs and custom
build_ext commands inheriting directly from distutils.
* #3528: Fixed buid_meta.prepare_metadata_for_build_wheel when given
metadata_directory is ".".
- v65.0.0
* #3505: Removed 'msvccompiler' and 'msvc9compiler' modules from distutils.
* #3521: Remove bdist_msi and bdist_wininst commands, which have been
deprecated since Python 3.9. Use older Setuptools for these behaviors if
needed.
* #3519: Changed the note in keywords documentation regarding editable
installations to specify which setuptools version require a minimal
setup.py file or not.
- v64.0.3
* #3515: Fixed "inline" file copying for editable installations and optional
extensions.
* #3517: Fixed editable_wheel to ensure other commands are finalized before
using them. This should prevent errors with plugins trying to use different
commands or reinitializing them.
* #3517: Augmented filter to prevent transient/temporary source files from
being considered package_data or data_files.
- v64.0.2
* #3506: Suppress errors in custom build_py implementations when running
editable installs in favor of a warning indicating what is the most
appropriate migration path. This is a transitional measure. Errors might be
raised in future versions of setuptools.
* #3512: Added capability of handling namespace packages created
accidentally/purposefully via discovery configuration during editable
installs. This should emulate the behaviour of a non-editable installation.
- v64.0.1
* #3497: Fixed editable_wheel for legacy namespaces.
* #3502: Fixed issue with editable install and single module distributions.
* #3503: Added filter to ignore external .egg-info files in manifest.
* Some plugins might rely on the fact that the .egg-info directory is
produced inside the project dir, which may not be the case in editable
installs (the .egg-info directory is produced inside the metadata directory
given by the build frontend via PEP 660 hooks).
- v64.0.0
* #3380: Passing some types of parameters via --global-option to setuptools
PEP 517/PEP 660 backend is now considered deprecated. The user can pass the
same arbitrary parameter via --build-option (--global-option is now
reserved for flags like --verbose or --quiet).
* Both --build-option and --global-option are supported as a transitional
effort (a.k.a. "escape hatch"). In the future a proper list of allowed
config_settings may be created.
* #3265: Added implementation for editable install hooks (PEP 660).
* #3380: Improved the handling of the config_settings parameter in both PEP
517 and PEP 660 interfaces:
* #3392: Exposed get_output_mapping() from build_py and build_ext
subcommands. This interface is reserved for the use of setuptools
Extensions and third part packages are explicitly disallowed to calling it.
However, any implementation overwriting build_py or build_ext are required
to honour this interface.
* #3412: Added ability of collecting source files from custom build
sub-commands to sdist. This allows plugins and customization scripts to
automatically add required source files in the source distribution.
* #3414: Users can temporarily specify an environment variable
SETUPTOOLS_ENABLE_FEATURES=legacy-editable as a escape hatch for the PEP
660 behavior. This setting is transitional and may be removed in the
future.
* #3484: Added transient compat mode to editable installs. This more will be
temporarily available (to facilitate the transition period) for those that
want to emulate the behavior of the develop command (in terms of what is
added to sys.path). This mode is provided "as is", with limited support,
and will be removed in future versions of setuptools.
* #3414: Updated :doc:`Development Mode </userguide/development_mode>` to
reflect on the implementation of PEP 660.
- v63.4.3
* #3496: Update to pypa/distutils@b65aa40 including more robust support for
library/include dir handling in msvccompiler (pypa/distutils#153) and test
suite improvements.
- v63.4.2
* #3453: Bump vendored version of :pypi:`pyparsing` to 3.0.9.
* #3481: Add warning for potential install_requires and extras_require
misconfiguration in setup.cfg
* #3487: Modified pyproject.toml validation exception handling to make
relevant debugging information easier to spot.
- v63.4.1
* #3482: Sync with pypa/distutils@274758f1c0,
restoring compatibility shim in bdist.format_commands.
- v63.4.0
* #2971: upload_docs command is deprecated once again.
* #3443: Installed sphinx-hoverxref extension to show tooltips on internal an
external references. -- by :user:`humitos`
* #3444: Installed sphinx-notfound-page extension to generate nice 404 pages.
-- by :user:`humitos`
* #3480: Merge with pypa/distutils@c397f4c
- v63.3.0
* #3475: Merge with pypa/distutils@129480b, including substantial delinting
and cleanup, some refactoring around compiler logic, better messaging in
cygwincompiler (pypa/distutils#161).
OBS-URL: https://build.opensuse.org/request/show/1029961
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=71
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
- update to 58.3.0:
* ``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/request/show/952221
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=68
* ``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
- update to 44.1.0
* 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/request/show/826260
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=61
* 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