diff --git a/python-setuptools.changes b/python-setuptools.changes index 167055c..57407bf 100644 --- a/python-setuptools.changes +++ b/python-setuptools.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Tue Jul 30 02:22:34 UTC 2024 - Steve Kowalik + +- 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). + ------------------------------------------------------------------- Sat Jun 29 05:45:24 UTC 2024 - Dirk Müller @@ -40,6 +62,8 @@ Tue May 28 05:20:31 UTC 2024 - Steve Kowalik + Updated and removed obsolete Python < 3.8 code and comments. + Updated pkg_resources to use stdlib importlib.machinery instead of importlib_machinery. + + Modernized and refactored VCS handling in package_index. + (bsc#1228105, CVE-2024-6345) * Bugfixes + In install command, use super to call the superclass methods. Avoids race conditions when monkeypatching from _distutils_system_mod occurs diff --git a/python-setuptools.spec b/python-setuptools.spec index a20c976..cd81b3d 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -16,7 +16,6 @@ # -%define skip_python2 1 %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %define psuffix -test @@ -31,7 +30,7 @@ %define mypython python %{?sle15_python_module_pythons} Name: python-setuptools%{psuffix} -Version: 70.1.1 +Version: 72.1.0 Release: 0 Summary: Download, build, install, upgrade, and uninstall Python packages License: Apache-2.0 AND MIT AND BSD-2-Clause AND Python-2.0 @@ -54,6 +53,7 @@ BuildRequires: %{python_module filelock >= 3.4.0} BuildRequires: %{python_module ini2toml-lite >= 0.9} BuildRequires: %{python_module jaraco.develop >= 7.21} BuildRequires: %{python_module jaraco.envs >= 2.2} +BuildRequires: %{python_module jaraco.packaging >= 10.0} BuildRequires: %{python_module jaraco.path >= 3.2.0} BuildRequires: %{python_module jaraco.test} BuildRequires: %{python_module pip >= 19.1} @@ -128,6 +128,8 @@ donttest="(test_apply_pyproject_equivalent_to_setupcfg and https)" donttest+=" or test_pbr_integration" # test_example_file_in_sdist wants wheel.whl donttest+=" or test_example_file_in_sdist" +# looks for .exe files that we do not ship +donttest+=" or test_wheel_includes_cli_scripts" %pytest -rfE -n auto -k "not ($donttest)" %endif diff --git a/setuptools-70.1.1.tar.gz b/setuptools-70.1.1.tar.gz deleted file mode 100644 index aa4695c..0000000 --- a/setuptools-70.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:937a48c7cdb7a21eb53cd7f9b59e525503aa8abaf3584c730dc5f7a5bec3a650 -size 2292324 diff --git a/setuptools-72.1.0.tar.gz b/setuptools-72.1.0.tar.gz new file mode 100644 index 0000000..e7523f7 --- /dev/null +++ b/setuptools-72.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d243eff56d095e5817f796ede6ae32941278f542e0f941867cc05ae52b162ec +size 2419487