SHA256
1
0
forked from pool/python-yarl

Accepting request 1157158 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1157158
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yarl?expand=0&rev=30
This commit is contained in:
Ana Guerrero 2024-03-13 21:16:45 +00:00 committed by Git OBS Bridge
commit db7f96ff94
2 changed files with 18 additions and 13 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 12 10:35:11 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
- restore correct reproducible.patch
-------------------------------------------------------------------
Tue Jan 16 22:10:35 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -7,16 +7,16 @@ For this we avoid the use of a random tmp path
that gets embedded into
/usr/lib64/python3.10/site-packages/yarl/_quoting_c.cpython-310-x86_64-linux-gnu.so
Index: yarl-1.9.4/packaging/pep517_backend/_backend.py
===================================================================
--- yarl-1.9.4.orig/packaging/pep517_backend/_backend.py
+++ yarl-1.9.4/packaging/pep517_backend/_backend.py
@@ -207,7 +207,7 @@ def _in_temporary_directory(src_dir: Pat
@contextmanager
def maybe_prebuild_c_extensions(
line_trace_cython_when_unset: bool = False,
- build_inplace: bool = False,
+ build_inplace: bool = True,
config_settings: dict[str, str] | None = None,
) -> t.Generator[None, t.Any, t.Any]:
"""Pre-build C-extensions in a temporary directory, when needed.
diff --git a/packaging/pep517_backend/_backend.py b/packaging/pep517_backend/_backend.py
index 9a28ace..3e7db07 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(