Accepting request 1139165 from home:bmwiedemann:branches:devel:languages:python
Add reproducible.patch to avoid embedding a random tmp dir (boo#1062303) OBS-URL: https://build.opensuse.org/request/show/1139165 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozenlist?expand=0&rev=16
This commit is contained in:
parent
20d33a4464
commit
2c1aaea4f2
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 16 08:30:56 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||
|
||||
- Add reproducible.patch to avoid embedding a random tmp dir (boo#1062303)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 8 09:11:26 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -25,6 +25,8 @@ License: Apache-2.0
|
||||
URL: https://github.com/aio-libs/frozenlist
|
||||
Source: https://files.pythonhosted.org/packages/source/f/frozenlist/frozenlist-%{version}.tar.gz
|
||||
Patch1: no-pytest-cov.patch
|
||||
# PATCH-FIX-OPENSUSE - avoid embedding random tmp dir in .so
|
||||
Patch2: reproducible.patch
|
||||
BuildRequires: %{python_module Cython}
|
||||
BuildRequires: %{python_module devel >= 3.8}
|
||||
BuildRequires: %{python_module expandvars}
|
||||
|
15
reproducible.patch
Normal file
15
reproducible.patch
Normal file
@ -0,0 +1,15 @@
|
||||
workaround https://github.com/cython/cython/issues/5949
|
||||
|
||||
diff --git a/packaging/pep517_backend/_backend.py b/packaging/pep517_backend/_backend.py
|
||||
index 8bb2ee2..e640738 100644
|
||||
--- a/packaging/pep517_backend/_backend.py
|
||||
+++ b/packaging/pep517_backend/_backend.py
|
||||
@@ -286,7 +286,7 @@ def build_wheel(
|
||||
"""
|
||||
with maybe_prebuild_c_extensions(
|
||||
line_trace_cython_when_unset=False,
|
||||
- build_inplace=False,
|
||||
+ build_inplace=True,
|
||||
config_settings=config_settings,
|
||||
):
|
||||
return _setuptools_build_wheel(
|
Loading…
x
Reference in New Issue
Block a user