Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-setuptools for 
openSUSE:Factory checked in at 2023-05-30 22:01:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-setuptools (Old)
 and      /work/SRC/openSUSE:Factory/.python-setuptools.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-setuptools"

Tue May 30 22:01:57 2023 rev:76 rq:1084684 version:67.7.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-setuptools/python-setuptools.changes      
2023-04-17 17:40:59.198111910 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-setuptools.new.1533/python-setuptools.changes
    2023-05-30 22:02:02.042865890 +0200
@@ -1,0 +2,23 @@
+Thu May  4 12:50:17 UTC 2023 - Matej Cepl <mc...@suse.com>
+
+- Testing must be single-spec as well.
+
+-------------------------------------------------------------------
+Wed May  3 02:23:58 UTC 2023 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Update to 67.7.2:
+  * #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.
+
+-------------------------------------------------------------------
+Fri Apr 21 12:33:50 UTC 2023 - Dirk Müller <dmuel...@suse.com>
+
+- add sle15_python_module_pythons (jsc#PED-68)
+
+-------------------------------------------------------------------
@@ -10,0 +34,5 @@
+
+-------------------------------------------------------------------
+Sun Mar 26 06:36:38 UTC 2023 - Matej Cepl <mc...@suse.com>
+
+- Refresh sort-for-reproducibility.patch

Old:
----
  setuptools-67.6.1.tar.gz

New:
----
  setuptools-67.7.2.tar.gz
  use-tarfile-extraction_filter.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-setuptools.spec ++++++
--- /var/tmp/diff_new_pack.UNLDnY/_old  2023-05-30 22:02:02.994871501 +0200
+++ /var/tmp/diff_new_pack.UNLDnY/_new  2023-05-30 22:02:02.998871525 +0200
@@ -36,8 +36,9 @@
 
 # in order to avoid rewriting for subpackage generator
 %define mypython python
+%{?sle15_python_module_pythons}
 Name:           python-setuptools%{psuffix}
-Version:        67.6.1
+Version:        67.7.2
 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
@@ -46,6 +47,8 @@
 Patch0:         sort-for-reproducibility.patch
 # PATCH-FIX-OPENSUSE fix-get-python-lib-python38.patch bsc#1204395
 Patch2:         fix-get-python-lib-python38.patch
+# PATCH-FIX-UPSTREAM gh#pypa/setuptools#3917
+Patch3:         use-tarfile-extraction_filter.patch
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -68,10 +71,10 @@
 BuildRequires:  %{python_module pytest-timeout}
 BuildRequires:  %{python_module pytest-xdist}
 BuildRequires:  %{python_module setuptools = %{version}}
+BuildRequires:  %{python_module setuptools-wheel = %{version}}
 BuildRequires:  %{python_module tomli-w >= 1.0.0}
 BuildRequires:  %{python_module virtualenv >= 13.0.0}
 BuildRequires:  %{python_module wheel}
-BuildRequires:  python3-setuptools-wheel = %{version}
 %endif
 %if 0%{?suse_version} || 0%{?fedora_version} >= 24
 Recommends:     ca-certificates-mozilla
@@ -108,7 +111,7 @@
 
 %check
 %if %{with test}
-export 
PRE_BUILT_SETUPTOOLS_WHEEL=%{python3_sitelib}/../wheels/setuptools-%{version}-py2.py3-none-any.whl
+%python_expand export 
PRE_BUILT_SETUPTOOLS_WHEEL=%{$python_sitelib}/../wheels/setuptools-%{version}-py2.py3-none-any.whl
 export LANG=en_US.UTF-8
 # tests need imports from local source dir
 export PYTHONPATH=$(pwd)

++++++ setuptools-67.6.1.tar.gz -> setuptools-67.7.2.tar.gz ++++++
++++ 2215 lines of diff (skipped)

++++++ sort-for-reproducibility.patch ++++++
--- /var/tmp/diff_new_pack.UNLDnY/_old  2023-05-30 22:02:03.354873622 +0200
+++ /var/tmp/diff_new_pack.UNLDnY/_new  2023-05-30 22:02:03.358873646 +0200
@@ -1,7 +1,13 @@
-Index: setuptools-63.1.0/setuptools/command/easy_install.py
-===================================================================
---- setuptools-63.1.0.orig/setuptools/command/easy_install.py
-+++ setuptools-63.1.0/setuptools/command/easy_install.py
+---
+ setuptools/command/easy_install.py |    2 +-
+ setuptools/command/egg_info.py     |    2 +-
+ setuptools/dist.py                 |    2 +-
+ setuptools/tests/test_egg_info.py  |    2 +-
+ setuptools/tests/test_wheel.py     |    8 ++++----
+ 5 files changed, 8 insertions(+), 8 deletions(-)
+
+--- a/setuptools/command/easy_install.py
++++ b/setuptools/command/easy_install.py
 @@ -419,7 +419,7 @@ class easy_install(Command):
              for spec in self.args:
                  self.easy_install(spec, not self.no_deps)
@@ -11,11 +17,9 @@
                  if self.root:  # strip any package prefix
                      root_len = len(self.root)
                      for counter in range(len(outputs)):
-Index: setuptools-63.1.0/setuptools/command/egg_info.py
-===================================================================
---- setuptools-63.1.0.orig/setuptools/command/egg_info.py
-+++ setuptools-63.1.0/setuptools/command/egg_info.py
-@@ -683,7 +683,7 @@ def _write_requirements(stream, reqs):
+--- a/setuptools/command/egg_info.py
++++ b/setuptools/command/egg_info.py
+@@ -694,7 +694,7 @@ def _write_requirements(stream, reqs):
  
      def append_cr(line):
          return line + '\n'
@@ -24,11 +28,9 @@
      stream.writelines(lines)
  
  
-Index: setuptools-63.1.0/setuptools/dist.py
-===================================================================
---- setuptools-63.1.0.orig/setuptools/dist.py
-+++ setuptools-63.1.0/setuptools/dist.py
-@@ -222,7 +222,7 @@ def write_pkg_file(self, file):  # noqa:
+--- a/setuptools/dist.py
++++ b/setuptools/dist.py
+@@ -221,7 +221,7 @@ def write_pkg_file(self, file):  # noqa:
      if self.long_description_content_type:
          write_field('Description-Content-Type', 
self.long_description_content_type)
      if self.provides_extras:
@@ -37,11 +39,9 @@
              write_field('Provides-Extra', extra)
  
      self._write_list(file, 'License-File', self.license_files or [])
-Index: setuptools-63.1.0/setuptools/tests/test_egg_info.py
-===================================================================
---- setuptools-63.1.0.orig/setuptools/tests/test_egg_info.py
-+++ setuptools-63.1.0/setuptools/tests/test_egg_info.py
-@@ -297,8 +297,8 @@ class TestEggInfo:
+--- a/setuptools/tests/test_egg_info.py
++++ b/setuptools/tests/test_egg_info.py
+@@ -304,8 +304,8 @@ class TestEggInfo:
              wheel>=0.5
              pytest
  
@@ -51,11 +51,9 @@
          ''',
  
          '''
-Index: setuptools-63.1.0/setuptools/tests/test_wheel.py
-===================================================================
---- setuptools-63.1.0.orig/setuptools/tests/test_wheel.py
-+++ setuptools-63.1.0/setuptools/tests/test_wheel.py
-@@ -425,30 +425,30 @@ WHEEL_INSTALL_TESTS = (
+--- a/setuptools/tests/test_wheel.py
++++ b/setuptools/tests/test_wheel.py
+@@ -423,30 +423,30 @@ WHEEL_INSTALL_TESTS = (
      dict(
          id='requires_ensure_order',
          install_requires='''

++++++ use-tarfile-extraction_filter.patch ++++++
>From 788a7601c88db28435a70e5bb17e6eba23a31e4c Mon Sep 17 00:00:00 2001
From: Steve Kowalik <ste...@wedontsleep.org>
Date: Wed, 3 May 2023 12:02:19 +1000
Subject: [PATCH] tests: Add extraction_filter for tarfile

Python 3.12, and earlier via security backports now issue an
DeprecationWarning when calling tarfile.extractall without an extraction
filter set. Since the only place we've called extractall is literally
right after we've created the archive, use a fully trusted filter. This
can be replaced with a filter argument to extractall in future.
---
 setuptools/tests/test_easy_install.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/setuptools/tests/test_easy_install.py 
b/setuptools/tests/test_easy_install.py
index bca86066ad..edc9af8252 100644
--- a/setuptools/tests/test_easy_install.py
+++ b/setuptools/tests/test_easy_install.py
@@ -615,6 +615,7 @@ def test_setup_requires_override_nspkg(self, use_setup_cfg):
                 foobar_1_dir = os.path.join(temp_dir, 'foo.bar-0.1')
                 os.mkdir(foobar_1_dir)
                 with tarfile.open(foobar_1_archive) as tf:
+                    tf.extraction_filter = (lambda member, path: member)
                     tf.extractall(foobar_1_dir)
                 sys.path.insert(1, foobar_1_dir)
 

Reply via email to