15
0

2 Commits

8 changed files with 112 additions and 23 deletions

3
.gitattributes vendored
View File

@@ -1,4 +1,4 @@
## Default LFS *.changes merge=merge-changes
*.7z filter=lfs diff=lfs merge=lfs -text *.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text *.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text *.bz2 filter=lfs diff=lfs merge=lfs -text
@@ -12,6 +12,7 @@
*.pdf filter=lfs diff=lfs merge=lfs -text *.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text *.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text *.rpm filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text *.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text *.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text *.tgz filter=lfs diff=lfs merge=lfs -text

5
.gitignore vendored
View File

@@ -1 +1,4 @@
.osc *.obscpio
*.osc
_build.*
.pbuild

View File

@@ -1,3 +1,75 @@
-------------------------------------------------------------------
Thu Jan 29 14:55:29 UTC 2026 - Daniel Garcia <daniel.garcia@suse.com>
- Fix suse_version check to make sure that primary builds for SLE-16
series
- Add pythons_for_pypi macro. This macro will help to build the python
minimal stack for different python versions.
-------------------------------------------------------------------
Thu Jan 1 12:37:12 UTC 2026 - Ben Greiner <code@bnavigator.de>
- Update to v80.9.0
* Set a deadline for the removal of pkg_resources later this year
(December). (#3085)
* Removed reliance on pkg_resources in test_wheel. (#3085)
- Release v80.8.0
* Replaced more references to pkg_resources with importlib
equivalents in wheel module. (#3085)
* Restore explicit LICENSE file. (#5001)
- Release v80.7.1
* Only attempt to fetch eggs for unsatisfied requirements.
(#4998)
* In installer, when discovering egg dists, let metadata
discovery search each egg. (#4998)
- Release v80.7.0
* Removed usage of pkg_resources from installer. Set an official
deadline on the installer deprecation to 2025-10-31. (#4997)
- Release v80.5.0
* Replaced more references to pkg_resources with importlib
equivalents. (#3085)
- Release v80.4.0
* Simplified the error reporting in editable installs. (#4984)
- Release v80.3.0
* Removed easy_install and package_index modules. (#917)
- Release v80.2.0
* Restored support for install_scripts --executable (and classic
behavior for the executable for those invocations). Instead,
build_editable provides the portable form of the executables
for downstream installers to rewrite. (#4934)
- Release v80.1.0
* Added a deadline of Oct 31 to the setup.py install deprecation.
* With setup.py install --prefix=..., fall back to distutils
install rather than failing. Note that running setup.py install
is deprecated. (#3143)
- Release v80.0.1
* Fixed index_url logic in develop compatibility shim. (#4966)
- Release v80.0.0
## Deprecations and Removals
* Removed support for the easy_install command including the
sandbox module. (#2908)
* Develop command no longer uses easy_install, but instead defers
execution to pip (which then will re-invoke Setuptools via PEP
517 to build the editable wheel). Most of the options to
develop are dropped. This is the final warning before the
command is dropped completely in a few months. Use-cases
relying on 'setup.py develop' should pin to older Setuptools
version or migrate to modern build tooling. (#4955)
- Release v79.0.0
* Removed support for 'legacy-editable' installs. (#917)
- Add python-setuptools.rpmlintrc for false positives on
requirements
-------------------------------------------------------------------
Thu Nov 6 15:00:11 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Remove python-rpm-packaging from BuildRequires on SLE-15
-------------------------------------------------------------------
Mon Oct 27 11:27:05 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
- Remove not needed update-alternatives BuildRequires
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 13 15:45:23 UTC 2025 - Dirk Müller <dmueller@suse.com> Tue May 13 15:45:23 UTC 2025 - Dirk Müller <dmueller@suse.com>

View File

@@ -0,0 +1,13 @@
# These are false positives from the importlib call of rpmlint finding setuptools/_vendor/
addFilter("python-missing-require autocommand")
addFilter("python-missing-require backports.tarfile")
addFilter("python-missing-require inflect")
addFilter("python-missing-require jaraco.context")
addFilter("python-missing-require jaraco.functools")
addFilter("python-missing-require jaraco.text")
addFilter("python-missing-require more-itertools")
addFilter("python-missing-require typeguard")
addFilter("python-missing-require typing-extensions")
addFilter("python-missing-require zipp")
# empty test files
addFilter("zero-length .*/tests/")

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-setuptools # spec file for package python-setuptools
# #
# Copyright (c) 2025 SUSE LLC # Copyright (c) 2026 SUSE LLC and contributors
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
%global flavor @BUILD_FLAVOR@%{nil} %global flavor @BUILD_FLAVOR@%{nil}
%if 0%{?suse_version} >= 1650 %if 0%{?suse_version} >= 1600
%if "%{flavor}" == "primary" %if "%{flavor}" == "primary"
# this one is goes into Ring0: Bootstrap for primary python stack # this one is goes into Ring0: Bootstrap for primary python stack
%define pprefix %{primary_python} %define pprefix %{primary_python}
@@ -51,22 +51,35 @@ ExclusiveArch: do-not-build
# in order to avoid rewriting for subpackage generator # in order to avoid rewriting for subpackage generator
%define mypython python %define mypython python
%if "%{flavor}" == ""
%{?pythons_for_pypi}
%endif
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
%if "%{flavor}" == "" && "%{shrink:%{pythons}}" == ""
# Exclude for local osc build: unresolvable
%define python_module() empty-python-buildset
# Exclude for obs server
ExclusiveArch: do-not-build
%endif
Name: %{pprefix}-setuptools%{psuffix} Name: %{pprefix}-setuptools%{psuffix}
Version: 78.1.1 Version: 80.9.0
Release: 0 Release: 0
Summary: Download, build, install, upgrade, and uninstall Python packages Summary: Download, build, install, upgrade, and uninstall Python packages
License: Apache-2.0 AND MIT AND BSD-2-Clause AND Python-2.0 License: Apache-2.0 AND MIT AND BSD-2-Clause AND Python-2.0
URL: https://github.com/pypa/setuptools URL: https://github.com/pypa/setuptools
Source: https://files.pythonhosted.org/packages/source/s/setuptools/setuptools-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/s/setuptools/setuptools-%{version}.tar.gz
Source99: python-setuptools.rpmlintrc
Patch0: sort-for-reproducibility.patch Patch0: sort-for-reproducibility.patch
# Bootstrap: Don't BuildRequire pip here! # Bootstrap: Don't BuildRequire pip here!
BuildRequires: %{python_module base >= 3.9} BuildRequires: %{python_module base >= 3.9}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
%if 0%{?suse_version} > 1500
BuildRequires: python-rpm-packaging BuildRequires: python-rpm-packaging
Requires(post): update-alternatives %endif
Requires(postun): update-alternatives
BuildArch: noarch BuildArch: noarch
%if %{with test} %if %{with test}
BuildRequires: %{python_module build} BuildRequires: %{python_module build}

Binary file not shown.

BIN
setuptools-80.9.0.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,19 +1,6 @@
--- ---
setuptools/command/easy_install.py | 2 +-
setuptools/tests/test_wheel.py | 8 ++++---- setuptools/tests/test_wheel.py | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -436,7 +436,7 @@ class easy_install(Command):
for spec in self.args:
self.easy_install(spec, not self.no_deps)
if self.record:
- outputs = self.outputs
+ outputs = list(sorted(self.outputs))
if self.root: # strip any package prefix
root_len = len(self.root)
for counter in range(len(outputs)):
--- a/setuptools/tests/test_wheel.py --- a/setuptools/tests/test_wheel.py
+++ b/setuptools/tests/test_wheel.py +++ b/setuptools/tests/test_wheel.py
@@ -417,30 +417,30 @@ WHEEL_INSTALL_TESTS: tuple[dict[str, Any @@ -417,30 +417,30 @@ WHEEL_INSTALL_TESTS: tuple[dict[str, Any