Accepting request 994298 from devel:languages:python
- skip subversion tests, not that relevant to pull in dozens of dependencies into small bootstrap - 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). OBS-URL: https://build.opensuse.org/request/show/994298 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip?expand=0&rev=56
This commit is contained in:
commit
7e09a496cb
15
distutils-reproducible-compile.patch
Normal file
15
distutils-reproducible-compile.patch
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
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
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 10 10:33:35 UTC 2022 - Dirk Müller <dmueller@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 <mcepl@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).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 19 17:14:58 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -50,6 +50,9 @@ URL: http://www.pip-installer.org
|
||||
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 mcepl@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 wheel}
|
||||
BuildRequires: %{python_module mock}
|
||||
%endif
|
||||
BuildRequires: ca-certificates
|
||||
BuildRequires: git
|
||||
BuildRequires: subversion
|
||||
BuildRequires: git-core
|
||||
%endif
|
||||
%if %{with wheel}
|
||||
BuildRequires: %{python_module wheel}
|
||||
|
Loading…
Reference in New Issue
Block a user