15
0

Accepting request 1139190 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1139190
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-frozenlist?expand=0&rev=8
This commit is contained in:
2024-01-17 21:14:45 +00:00
committed by Git OBS Bridge
3 changed files with 22 additions and 0 deletions

View File

@@ -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>

View File

@@ -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
View 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(