- 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