From 15e5c1a90daf44e139de4fc5acf7b53bdaf6cda7da6288d9b8f3a37e7355fc9b Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 12 Mar 2024 11:01:01 +0000 Subject: [PATCH] Accepting request 1157151 from home:bmwiedemann:branches:devel:languages:python restore correct reproducible.patch OBS-URL: https://build.opensuse.org/request/show/1157151 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=64 --- python-yarl.changes | 5 +++++ reproducible.patch | 26 +++++++++++++------------- 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/python-yarl.changes b/python-yarl.changes index 696a401..3307588 100644 --- a/python-yarl.changes +++ b/python-yarl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 12 10:35:11 UTC 2024 - Bernhard Wiedemann + +- restore correct reproducible.patch + ------------------------------------------------------------------- Tue Jan 16 22:10:35 UTC 2024 - Dirk Müller diff --git a/reproducible.patch b/reproducible.patch index 8759ec1..585b487 100644 --- a/reproducible.patch +++ b/reproducible.patch @@ -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(