- 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
- Update to 72.1.0:
* 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/request/show/1190360
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=84
* 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
- update to 70.1.1:
* 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/request/show/1183943
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=83
* 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
- Update to 70.0.0:
* 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/request/show/1177203
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=82
* 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
- Add patch allow-only-direct-compilation.patch:
* Allow forcing direct compilation.
- update to 69.0.2:
* 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
OBS-URL: https://build.opensuse.org/request/show/1134566
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=80
* 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
- 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.
- add sphinx72.patch: address circular imports in sphinx 7.2+
- 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.
- update to 68.0.0:
* 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`
OBS-URL: https://build.opensuse.org/request/show/1108946
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=78
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
- 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
- update to 44.0.0
- 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/request/show/769997
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=57
- 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
- update to 41.6.0
- add importlib.patch
* Replace usage of deprecated imp module with local
re-implementation in setuptools._imp
* Fix pkg_resources.Requirement hash/equality implementation
* Fix tests when running under python3.10.
* drop 'deprecated' documentation (test command, ez_setup, EasyInstall)
- Remove runtime dependency for the full python3 package, as the
actually required SSL module is in python3-base. For python(2),
SSL is in the "full" python package. Avoids build loops and
shortens the dependency chain for e.g. rust.
- Try to use system packages rather than the vendored variants
- Add patch to sort outputs for better reproducability:
* sort-for-reproducibility.patch
- Add missing dep on ordered-set as it is now in the vendored
dir too
- Update to 41.4.0
* In declarative config, now traps errors when invalid python_requires
values are supplied.
* When storing extras, rely on OrderedSet to retain order of extras
as indicated by the packager, which will also be deterministic
on Python 2.7 (with PYTHONHASHSEED unset) and Python 3.6+.
* Fixed failing integration test triggered by 'long_description_content_type' in packaging.
OBS-URL: https://build.opensuse.org/request/show/748817
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=56
* #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
- update to 41.0.0
* #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/request/show/694749
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=52
* #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
- Fix fdupes call
- update to version 40.6.2:
* #1592: Fix invalid dependency on external six module (instead of
vendored version).
- changes from version 40.6.1:
* #1590: Fixed regression where packages without author or
author_email fields generated malformed package metadata.
- changes from version 40.6.0:
* #1541: Officially deprecated the requires parameter in setup().
* #1519: In pkg_resources.normalize_path, additional path
normalization is now performed to ensure path values to a
directory is always the same, preventing false positives when
checking scripts have a consistent prefix to set up on Windows.
* #1545: Changed the warning class of all deprecation warnings;
deprecation warning classes are no longer derived from
DeprecationWarning and are thus visible by default.
* #1554: build_meta.build_sdist now includes setup.py in source
distributions by default.
* #1576: Started monkey-patching get_metadata_version and
read_pkg_file onto distutils.DistributionMetadata to retain the
correct version on the PKG-INFO file in the (deprecated) upload
command.
* #1533: Restricted the recursive-include setuptools/_vendor to
contain only .py and .txt files.
* #1395: Changed Pyrex references to Cython in the documentation.
* #1456: Documented that the rpmbuild packages is required for the
bdist_rpm command.
* #1537: Documented how to use setup.cfg for src/ layouts
* #1539: Added minimum version column in setup.cfg metadata table.
OBS-URL: https://build.opensuse.org/request/show/655602
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=47
- Version update to 39.0.1:
* Fix utf parsing with python2
* Various other fixes
- update to version 39.0.0:
* #1296: Setuptools now vendors its own direct dependencies, no
longer relying on the dependencies as vendored by pkg_resources.
* #296: Removed long-deprecated support for iteration on Version
objects as returned by pkg_resources.parse_version. Removed the
SetuptoolsVersion and SetuptoolsLegacyVersion names as well. They
should not have been used, but if they were, replace with Version
and LegacyVersion from packaging.version.
- changes from version 38.7.0:
* #1288: Add support for maintainer in PKG-INFO.
- changes from version 38.6.1:
* #1292: Avoid generating Provides-Extra in metadata when no extra
is present (but environment markers are).
- update to version 38.6.0:
* #1286: Add support for Metadata 2.1 (PEP 566).
OBS-URL: https://build.opensuse.org/request/show/588510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=39
- update to 36.5.0:
* #170: When working with Mercurial checkouts, use Windows-friendly
syntax for suppressing output.
* Inspired by #1134, performed substantial refactoring of
``pkg_resources.find_on_path`` to facilitate an optimization
for paths with many non-version entries.
* #1075: Add new ``Description-Content-Type`` metadata field. `See here for
documentation on how to use this field.
<https://packaging.python.org/specifications/#description-content-type>`_
* #1068: Sort files and directories when building eggs for
deterministic order.
* #196: Remove caching of easy_install command in fetch_build_egg.
Fixes issue where ``pytest-runner-N.N`` would satisfy the installation
of ``pytest``.
* #1129: Fix working set dependencies handling when replacing conflicting
distributions (e.g. when using ``setup_requires`` with a conflicting
transitive dependency, fix#1124).
* #1133: Improved handling of README files extensions and added
Markdown to the list of searched READMES.
* #1135: Improve performance of pkg_resources import by not invoking
``access`` or ``stat`` and using ``os.listdir`` instead.
* #1131: Make possible using several files within ``file:`` directive
in metadata.long_description in ``setup.cfg``.
* fix#1105: Fix handling of requirements with environment
markers when declared in ``setup.cfg`` (same treatment as
for #1081).
* #462: Don't assume a directory is an egg by the ``.egg``
extension alone.
* #1093: Fix test command handler with extras_require.
* #1112, #1091, #1115: Now using Trusty containers in
OBS-URL: https://build.opensuse.org/request/show/527203
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=114
* #1042: Fix import in py27compat module that still
referenced six directly, rather than through the externs
module (vendored packages hook).
* #980 and others: Once again, Setuptools vendors all
of its dependencies. It seems to be the case that in
the Python ecosystem, all build tools must run without
any dependencies (build, runtime, or otherwise). At
such a point that a mechanism exists that allows
build tools to have dependencies, Setuptools will adopt
it.
* #1015: Fix test failures on Python 3.7.
* #1024: Add workaround for Jython #2581 in monkey module.
* #992: Revert change introduced in v34.4.1, now
considered invalid.
* #1016: Revert change introduced in v35.0.0 per #1014,
referencing #436. The approach had unintended
consequences, causing sdist installs to be missing
files.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=111
* dependencies are no longer vendored and setuptools can't bootstrap
without them
* drop support for python 2.6 and 3.2
* declarative config option for setup.cfg
* nspkg.pth files for development
* switch to zip format for source dist
* ensure extras are honored when building the working set
* add support for reading dist-info metadata
* support for PEP440 version specifiers
- added build-time and run-time dependencies to appdirs and packaging,
ensured these packages build without setuptools
- drop upstreamed setuptools-certpath.patch
- drop unneeded setuptools-5.4.1-create-sitedir.patch
- add fdupes
- change source file to zip, add unzip dependency
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=108
- update to 28.3.0:
* #809: In ``find_packages()``, restore support for excluding
a parent package without excluding a child package.
* #805: Disable ``-nspkg.pth`` behavior on Python 3.3+ where
PEP-420 functionality is adequate. Fixes pip #1924.
* #803: Bump certifi to 2016.9.26.
* #733: Do not search excluded directories for packages.
This introduced a backwards incompatible change in ``find_packages()``
so that ``find_packages(exclude=['foo']) == []``, excluding subpackages of ``foo``.
Previously, ``find_packages(exclude=['foo']) == ['foo.bar']``,
even though the parent ``foo`` package was excluded.
* #795: Bump certifi.
* #719: Suppress decoding errors and instead log a warning
when metadata cannot be decoded.
* #790: In MSVC monkeypatching, explicitly patch each
function by name in the target module instead of inferring
the module from the function's ``__module__``. Improves
compatibility with other packages that might have previously
patched distutils functions (i.e. NumPy).
* #794: In test command, add installed eggs to PYTHONPATH
when invoking tests so that subprocesses will also have the
dependencies available. Fixes `tox 330
<https://github.com/tox-dev/tox/issues/330>`_.
* #795: Update vendored pyparsing 2.1.9.
* #520 and #513: Suppress ValueErrors in fixup_namespace_packages
when lookup fails.
* Nicer, more consistent interfaces for msvc monkeypatching.
* #779 via #781: Fix circular import.
* #778: Fix MSVC monkeypatching.
* Introduce the (private) ``monkey`` module to encapsulate
OBS-URL: https://build.opensuse.org/request/show/433921
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=102
- fix certificate handling with certifi, add support for SUSE's
CA bundle (setuptools-certpath.patch, fixes boo#993968)
- remove shebang lines, strip executable bit from README, to silence
the easy rpmlint warnings
- update to 26.1.1:
* Re-release of 26.1.0 with pytest pinned to allow for automated
deployement and thus proper packaging environment variables,
fixing issues with missing executable launchers.
* #763: ``pkg_resources.get_default_cache`` now defers to the
`appdirs project <https://pypi.org/project/appdirs>`_ to
resolve the cache directory. Adds a vendored dependency on
appdirs to pkg_resources.
* #748: By default, sdists are now produced in gzipped tarfile
format by default on all platforms, adding forward compatibility
for the same behavior in Python 3.6 (See Python #27819).
* #459 via #736: On Windows with script launchers,
sys.argv[0] now reflects
the name of the entry point, consistent with the behavior in
distlib and pip wrappers.
* #752 via #753: When indicating ``py_limited_api`` to Extension,
it must be passed as a keyword argument.
* Add Extension(py_limited_api=True). When set to a truthy value,
that extension gets a filename apropriate for code using Py_LIMITED_API.
When used correctly this allows a single compiled extension to work on
all future versions of CPython 3.
The py_limited_api argument only controls the filename. To be
compatible with multiple versions of Python 3, the C extension
will also need to set -DPy_LIMITED_API=... and be modified to use
only the functions in the limited API.
OBS-URL: https://build.opensuse.org/request/show/424067
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=25
- update to 26.1.1:
* Re-release of 26.1.0 with pytest pinned to allow for automated
deployement and thus proper packaging environment variables,
fixing issues with missing executable launchers.
* #763: ``pkg_resources.get_default_cache`` now defers to the
`appdirs project <https://pypi.org/project/appdirs>`_ to
resolve the cache directory. Adds a vendored dependency on
appdirs to pkg_resources.
* #748: By default, sdists are now produced in gzipped tarfile
format by default on all platforms, adding forward compatibility
for the same behavior in Python 3.6 (See Python #27819).
* #459 via #736: On Windows with script launchers,
sys.argv[0] now reflects
the name of the entry point, consistent with the behavior in
distlib and pip wrappers.
* #752 via #753: When indicating ``py_limited_api`` to Extension,
it must be passed as a keyword argument.
* Add Extension(py_limited_api=True). When set to a truthy value,
that extension gets a filename apropriate for code using Py_LIMITED_API.
When used correctly this allows a single compiled extension to work on
all future versions of CPython 3.
The py_limited_api argument only controls the filename. To be
compatible with multiple versions of Python 3, the C extension
will also need to set -DPy_LIMITED_API=... and be modified to use
only the functions in the limited API.
* #739 Fix unquoted libpaths by fixing compatibility between
`numpy.distutils` and `distutils._msvccompiler`
for numpy < 1.11.2 (Fix issue #728, error also fixed in Numpy).
* #731: Bump certifi.
* Style updates. See #740, #741, #743, #744, #742, #747.
OBS-URL: https://build.opensuse.org/request/show/423762
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=99
- update to 23.1.0:
* #619: Deprecated ``tag_svn_revision`` distribution
option.
* #611: Removed ARM executables for CLI and GUI script
launchers on Windows. If this was a feature you cared
about, please comment in the ticket.
* #604: Removed docs building support. The project
now relies on documentation hosted at
https://setuptools.readthedocs.io/.
* #604: Restore repository for upload_docs command
to restore publishing of docs during release.
* #589: Upload releases to pypi.io using the upload
hostname and legacy path.
* #589: Releases are now uploaded to pypi.io (Warehouse)
even when releases are made on Twine via Travis.
* #589: Releases are now uploaded to pypi.io (Warehouse).
* #190: On Python 2, if unicode is passed for packages to
``build_py`` command, it will be handled just as with
text on Python 3.
* #598: Setuptools now lists itself first in the User-Agent
for web requests, better following the guidelines in
`RFC 7231
<https://tools.ietf.org/html/rfc7231#section-5.5.3>`_.
* Minor fixes to changelog and docs.
* #261: Exclude directories when resolving globs in
package_data.
* #539: In the easy_install get_site_dirs, honor all
paths found in ``site.getsitepackages``.
* #572: In build_ext, now always import ``_CONFIG_VARS``
from ``distutils`` rather than from ``sysconfig``
OBS-URL: https://build.opensuse.org/request/show/405571
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=95
- update to 20.2.2:
* Issue #502: Correct regression in parsing of multiple
version specifiers separated by commas and spaces.
* Issue #499: Restore compatiblity for legacy versions
by bumping to packaging 16.4.
* Changelog now includes release dates and links to PEPs.
* Pull Request #173: Replace dual PEP 345 _markerlib implementation
and PEP 426 implementation of environment marker support from
packaging 16.1 and PEP 508. Fixes Issue #122.
See also Pull Request #175, Pull Request #168, and
Pull Request #164. Additionally:
- ``Requirement.parse`` no longer retains the order of extras.
- ``parse_requirements`` now requires that all versions be
PEP-440 compliant, as revealed in #499. Packages released
with invalid local versions should be re-released using
the proper local version syntax, e.g. ``mypkg-1.0+myorg.1``.
* Update ``upload_docs`` command to also honor keyring
for password resolution.
* Added support for using passwords from keyring in the upload
command.
* Issue #118: Once again omit the package metadata (egg-info)
from the list of outputs in ``--record``. This version of setuptools
can no longer be used to upgrade pip earlier than 6.0.
* `Off-project PR <https://github.com/jaraco/setuptools/pull/32>`_:
For FreeBSD, also honor root certificates from ca_root_nss.
OBS-URL: https://build.opensuse.org/request/show/368985
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=93
- update to 17.1:
* Issue #380: Add support for range operators on environment
marker evaluation.
* Issue #378: Do not use internal importlib._bootstrap module.
* Issue #390: Disallow console scripts with path separators in
the name. Removes unintended functionality and brings behavior
into parity with pip.
* Pull Request #130: Better error messages for errors in
parsed requirements.
* Pull Request #133: Removed ``setuptools.tests`` from the
installed packages.
* Issue #373: Provisionally expose
``pkg_resources._initialize_master_working_set``, allowing for
imperative re-initialization of the master working set.
OBS-URL: https://build.opensuse.org/request/show/311173
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=77
patch changes are now in patch name and mentioned in changelog entry
- bump to 5.4.1
Changes between 5.4.1 and 3.6
* Python #7776: (ssl_support) Correct usage of host for validation when
tunneling for HTTPS.
* Issue #154: pkg_resources will now cache the zip manifests rather than
re-processing the same file from disk multiple times, but only if the
environment variable PKG_RESOURCES_CACHE_ZIP_MANIFESTS is set. Clients
that package many modules in the same zip file will see some improvement
in startup time by enabling this feature. This feature is not enabled by
default because it causes a substantial increase in memory usage.
* Issue #185: Make svn tagging work on the new style SVN metadata. Thanks
cazabon!
* Prune revision control directories (e.g .svn) from base path as well as
sub-directories.
* Added a Developer Guide to the official documentation.
* Some code refactoring and cleanup was done with no intended behavioral
changes.
* During install_egg_info, the generated lines for namespace package .pth
files are now processed even during a dry run.
* Issue #202: Implemented more robust cache invalidation for the
ZipImporter, building on the work in Issue #168. Special thanks to Jurko
Gospodnetic and PJE.
* Issue #220: Restored script templates.
* Renamed script templates to end with .tmpl now that they no longer need to
be processed by 2to3. Fixes spurious syntax errors during build/install.
* Issue #218: Re-release of 3.8.1 to signal that it supersedes 4.x.
* Incidentally, script templates were updated not to include the
triple-quote escaping.
* Issue #213: Use legacy StringIO behavior for compatibility under pbr.
* Issue #218: Setuptools 3.8.1 superseded 4.0.1, and 4.x was removed from
OBS-URL: https://build.opensuse.org/request/show/242094
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=70
- Update to version 2.1:
* Issue #129: Suppress inspection of '*.whl' files when searching for files
in a zip-imported file.
* Issue #131: Fix RuntimeError when constructing an egg fetcher.
- Changes from version 2.0.2:
* Fix NameError during installation with Python implementations (e.g. Jython)
not containing parser module.
* Fix NameError in sdist:re_finder.
- Changes from version 2.0.1:
* Issue #124: Fixed error in list detection in upload_docs.
- Changes from version 2.0:
* Issue #121: Exempt lib2to3 pickled grammars from DirectorySandbox.
* Issue #41: Dropped support for Python 2.4 and Python 2.5. Clients requiring
setuptools for those versions of Python should use setuptools 1.x.
* Removed setuptools.command.easy_install.HAS_USER_SITE. Clients
expecting this boolean variable should use site.ENABLE_USER_SITE
instead.
* Removed pkg_resources.ImpWrapper. Clients that expected this class
should use pkgutil.ImpImporter instead.
- Changes from version 1.4.2:
* Issue #116: Correct TypeError when reading a local package index on Python
3.
- Changes from version 1.4.1:
* Issue #114: Use sys.getfilesystemencoding for decoding config in
bdist_wininst distributions.
* Issue #105 and Issue #113: Establish a more robust technique for
determining the terminal encoding
- Changes from version 1.4:
* Issue #27: easy_install will now use credentials from .pypirc if
present for connecting to the package index.
OBS-URL: https://build.opensuse.org/request/show/221655
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=8
* Issue #129: Suppress inspection of '*.whl' files when searching for files
in a zip-imported file.
* Issue #131: Fix RuntimeError when constructing an egg fetcher.
- Changes from version 2.0.2:
* Fix NameError during installation with Python implementations (e.g. Jython)
not containing parser module.
* Fix NameError in sdist:re_finder.
- Changes from version 2.0.1:
* Issue #124: Fixed error in list detection in upload_docs.
- Changes from version 2.0:
* Issue #121: Exempt lib2to3 pickled grammars from DirectorySandbox.
* Issue #41: Dropped support for Python 2.4 and Python 2.5. Clients requiring
setuptools for those versions of Python should use setuptools 1.x.
* Removed setuptools.command.easy_install.HAS_USER_SITE. Clients
expecting this boolean variable should use site.ENABLE_USER_SITE
instead.
* Removed pkg_resources.ImpWrapper. Clients that expected this class
should use pkgutil.ImpImporter instead.
- Changes from version 1.4.2:
* Issue #116: Correct TypeError when reading a local package index on Python
3.
- Changes from version 1.4.1:
* Issue #114: Use sys.getfilesystemencoding for decoding config in
bdist_wininst distributions.
* Issue #105 and Issue #113: Establish a more robust technique for
determining the terminal encoding
- Changes from version 1.4:
* Issue #27: easy_install will now use credentials from .pypirc if
present for connecting to the package index.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=56
- Update to version 1.1.6:
+ Distribute #349: ``sandbox.execfile`` now opens the target file in binary
mode, thus honoring a BOM in the file when compiled.
- Changes from version 1.1.5:
+ Issue #69: Second attempt at fix (logic was reversed).
- Changes from version 1.1.4:
+ Issue #77: Fix error in upload command (Python 2.4).
- Changes from version 1.1.3:
+ Fix NameError in previous patch.
- Changes from version 1.1.2:
+ Issue #69: Correct issue where 404 errors are returned for URLs with
fragments in them (such as #egg=).
- Changes from version 1.1.1:
+ Issue #75: Add ``--insecure`` option to ez_setup.py to accommodate
environments where a trusted SSL connection cannot be validated.
+ Issue #76: Fix AttributeError in upload command with Python 2.4.
- Changes from version 1.1:
+ Issue #71 (Distribute #333): EasyInstall now puts less emphasis on the
condition when a host is blocked via ``--allow-hosts``.
+ Issue #72: Restored Python 2.4 compatibility in ``ez_setup.py``.
- Changes from version 1.0:
+ Issue #60: On Windows, Setuptools supports deferring to another launcher,
such as Vinay Sajip's `pylauncher <https://bitbucket.org/pypa/pylauncher>`_
(included with Python 3.3) to launch console and GUI scripts and not install
its own launcher executables. This experimental functionality is currently
only enabled if the ``SETUPTOOLS_LAUNCHER`` environment variable is set to
"natural". In the future, this behavior may become default, but only after
it has matured and seen substantial adoption. The ``SETUPTOOLS_LAUNCHER``
also accepts "executable" to force the default behavior of creating launcher
executables.
OBS-URL: https://build.opensuse.org/request/show/202944
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=6
+ Distribute #349: ``sandbox.execfile`` now opens the target file in binary
mode, thus honoring a BOM in the file when compiled.
- Changes from version 1.1.5:
+ Issue #69: Second attempt at fix (logic was reversed).
- Changes from version 1.1.4:
+ Issue #77: Fix error in upload command (Python 2.4).
- Changes from version 1.1.3:
+ Fix NameError in previous patch.
- Changes from version 1.1.2:
+ Issue #69: Correct issue where 404 errors are returned for URLs with
fragments in them (such as #egg=).
- Changes from version 1.1.1:
+ Issue #75: Add ``--insecure`` option to ez_setup.py to accommodate
environments where a trusted SSL connection cannot be validated.
+ Issue #76: Fix AttributeError in upload command with Python 2.4.
- Changes from version 1.1:
+ Issue #71 (Distribute #333): EasyInstall now puts less emphasis on the
condition when a host is blocked via ``--allow-hosts``.
+ Issue #72: Restored Python 2.4 compatibility in ``ez_setup.py``.
- Changes from version 1.0:
+ Issue #60: On Windows, Setuptools supports deferring to another launcher,
such as Vinay Sajip's `pylauncher <https://bitbucket.org/pypa/pylauncher>`_
(included with Python 3.3) to launch console and GUI scripts and not install
its own launcher executables. This experimental functionality is currently
only enabled if the ``SETUPTOOLS_LAUNCHER`` environment variable is set to
"natural". In the future, this behavior may become default, but only after
it has matured and seen substantial adoption. The ``SETUPTOOLS_LAUNCHER``
also accepts "executable" to force the default behavior of creating launcher
executables.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=50
- Update to version 0.9.8:
* Issue #53: Fix NameErrors in _vcs_split_rev_from_url.
- Changes from version 0.9.7:
* Issue #49: Correct AttributeError on PyPy where a hashlib.HASH object does
not have a .name attribute.
* Issue #34: Documentation now refers to bootstrap script in code repository
referenced by bookmark.
* Add underscore-separated keys to environment markers (markerlib).
- Changes from version 0.9.6:
* Issue #44: Test failure on Python 2.4 when MD5 hash doesn't have a .name
attribute.
- Changes from version 0.9.5:
* Python #17980: Fix security vulnerability in SSL certificate validation.
- Changes from version 0.9.4:
* Issue #43: Fix issue (introduced in 0.9.1) with version resolution when
upgrading over other releases of Setuptools.
- Changes from version 0.9.3:
* Issue #42: Fix new AttributeError introduced in last fix.
- Changes from version 0.9.2:
* Issue #42: Fix regression where blank checksums would trigger an
AttributeError.
- Changes from version 0.9.1:
* Distribute #386: Allow other positional and keyword arguments to os.open.
* Corrected dependency on certifi mis-referenced in 0.9.
- Changes from version 0.9:
* package_index now validates hashes other than MD5 in download links.
- Changes from version 0.8:
* Code base now runs on Python 2.4 - Python 3.3 without Python 2to3
conversion.
OBS-URL: https://build.opensuse.org/request/show/184864
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=3
* Issue #53: Fix NameErrors in _vcs_split_rev_from_url.
- Changes from version 0.9.7:
* Issue #49: Correct AttributeError on PyPy where a hashlib.HASH object does
not have a .name attribute.
* Issue #34: Documentation now refers to bootstrap script in code repository
referenced by bookmark.
* Add underscore-separated keys to environment markers (markerlib).
- Changes from version 0.9.6:
* Issue #44: Test failure on Python 2.4 when MD5 hash doesn't have a .name
attribute.
- Changes from version 0.9.5:
* Python #17980: Fix security vulnerability in SSL certificate validation.
- Changes from version 0.9.4:
* Issue #43: Fix issue (introduced in 0.9.1) with version resolution when
upgrading over other releases of Setuptools.
- Changes from version 0.9.3:
* Issue #42: Fix new AttributeError introduced in last fix.
- Changes from version 0.9.2:
* Issue #42: Fix regression where blank checksums would trigger an
AttributeError.
- Changes from version 0.9.1:
* Distribute #386: Allow other positional and keyword arguments to os.open.
* Corrected dependency on certifi mis-referenced in 0.9.
- Changes from version 0.9:
* package_index now validates hashes other than MD5 in download links.
- Changes from version 0.8:
* Code base now runs on Python 2.4 - Python 3.3 without Python 2to3
conversion.
+ Issue #14: Use markerlib when the parser module is not available.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=45
+ Issue #20: Fix comparison of parsed SVN version on Python 3.
- Changes from version 0.7.3:
+ Issue #1: Disable installation of Windows-specific files on non-Windows systems.
+ Use new sysconfig module with Python 2.7 or >=3.2.
- Changes from version 0.7.2:
+ Issue #14: Use markerlib when the `parser` module is not available.
+ Issue #10: ``ez_setup.py`` now uses HTTPS to download setuptools from PyPI.
- Changes from version 0.7.1:
+ Fix NameError (Issue #3) again - broken in bad merge.
- Changes from version 0.7:
+ Merged Setuptools and Distribute. See docs/merge.txt for details.
+ Index URL now defaults to HTTPS.
+ Added experimental environment marker support. Now clients may designate a
PEP-426 environment marker for "extra" dependencies. Setuptools uses this
feature in ``setup.py`` for optional SSL and certificate validation support
on older platforms. Based on Distutils-SIG discussions, the syntax is
somewhat tentative. There should probably be a PEP with a firmer spec before
the feature should be considered suitable for use.
+ Added support for SSL certificate validation when installing packages from
an HTTPS service.
- Use upstream URL, SDPX style licenses
- Provide/obsolete python-distribute, which merged into setuptools-0.7.x
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=39
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.