Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pip for openSUSE:Factory 
checked in at 2022-08-10 17:12:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pip (Old)
 and      /work/SRC/openSUSE:Factory/.python-pip.new.1521 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pip"

Wed Aug 10 17:12:28 2022 rev:56 rq:994298 version:22.0.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pip/python-pip.changes    2022-03-22 
19:36:13.762839236 +0100
+++ /work/SRC/openSUSE:Factory/.python-pip.new.1521/python-pip.changes  
2022-08-10 17:12:36.989600949 +0200
@@ -1,0 +2,13 @@
+Wed Aug 10 10:33:35 UTC 2022 - Dirk M??ller <dmuel...@suse.com>
+
+- skip subversion tests, not that relevant to pull in
+  dozens of dependencies into small bootstrap
+
+-------------------------------------------------------------------
+Thu Jun 23 20:08:32 UTC 2022 - Matej Cepl <mc...@suse.com>
+
+- Add distutils-reproducible-compile.patch to make installed
+  files ordered correctly and thus builds reproducible again
+  (port of the fix for bpo#29708 and gh#python/cpython#8057).
+
+-------------------------------------------------------------------

New:
----
  distutils-reproducible-compile.patch

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

Other differences:
------------------
++++++ python-pip.spec ++++++
--- /var/tmp/diff_new_pack.gMbVoS/_old  2022-08-10 17:12:37.621602599 +0200
+++ /var/tmp/diff_new_pack.gMbVoS/_new  2022-08-10 17:12:37.629602620 +0200
@@ -50,6 +50,9 @@
 Source:         
https://github.com/pypa/pip/archive/%{version}.tar.gz#/pip-%{version}-gh.tar.gz
 # PATCH-FIX-OPENSUSE pip-shipped-requests-cabundle.patch -- adapted patch from 
python-certifi package
 Patch0:         pip-shipped-requests-cabundle.patch
+# PATCH-FIX-UPSTREAM distutils-reproducible-compile.patch 
gh#python/cpython#8057 mc...@suse.com
+# To get reproducible builds, byte_compile() of distutils.util now sorts 
filenames.
+Patch1:         distutils-reproducible-compile.patch
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module setuptools >= 40.8.0}
 BuildRequires:  fdupes
@@ -85,8 +88,7 @@
 BuildRequires:  %{python_module mock}
 %endif
 BuildRequires:  ca-certificates
-BuildRequires:  git
-BuildRequires:  subversion
+BuildRequires:  git-core
 %endif
 %if %{with wheel}
 BuildRequires:  %{python_module wheel}

++++++ distutils-reproducible-compile.patch ++++++
---
 src/pip/_vendor/distlib/wheel.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/src/pip/_vendor/distlib/wheel.py
+++ b/src/pip/_vendor/distlib/wheel.py
@@ -538,7 +538,7 @@ class Wheel(object):
             maker.source_dir = workdir
             maker.target_dir = None
             try:
-                for zinfo in zf.infolist():
+                for zinfo in sorted(zf.infolist()):
                     arcname = zinfo.filename
                     if isinstance(arcname, text_type):
                         u_arcname = arcname

Reply via email to