python-yarl/reproducible.patch
Matej Cepl 60463dc6a0 - updaze to 1.9.7:
* Removed support :rfc:3986#section-3.2.3 port normalization
    when the scheme is not one of http, https, wss, or ws
  * Joining URLs with empty segments has been changed
    to match :rfc:3986

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=66
2024-09-03 12:37:53 +00:00

23 lines
759 B
Diff

Date: 2023-12-12
Author: Bernhard M. Wiedemann <bwiedemann suse de>
Make package build reproducible
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
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(