forked from pool/python-frozenlist
- Update to 1.7.0
* Added deepcopy support to FrozenList
* Fixed an issue where ``frozenlist`` binary wheels would be
built with debugging symbols and line tracing enabled, which
significantly impacted performance. Line tracing is now disabled
by default and can only be enabled explicitly
- This change ensures that production builds are optimized for
performance. Developers who need line tracing for debugging
purposes can still enable it by:
1. Setting the ``FROZENLIST_CYTHON_TRACING`` environment variable
2. Using the ``--config-setting=with-cython-tracing=true`` option with pip
* Enabled ``PIP_CONSTRAINT`` environment variable in the build configuration
to ensure the pinned Cython version from ``requirements/cython.txt`` is
used during wheel builds.
OBS-URL: https://build.opensuse.org/request/show/1307084
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-frozenlist?expand=0&rev=24
16 lines
558 B
Diff
16 lines
558 B
Diff
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(
|