We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46a3917 commit edf0f3eCopy full SHA for edf0f3e
docs/changelog-fragments/778.packaging.rst
@@ -0,0 +1,18 @@
1
+The build backend now dynamically enables Cython line tracing only when
2
+explicitly requested via the ``with-cython-tracing=true`` config setting.
3
+Previously, having ``linetrace = "True"`` in :file:`pyproject.toml` was
4
+making our PyPI-published wheels slower due to debug symbols.
5
+
6
+Now, line tracing is truly opt-in:
7
8
+- Regular builds: ``pip install .`` (no line tracing)
9
+- Tracing builds:
10
+ ``pip install . --config-setting=with-cython-tracing=true``
11
12
+ (enables line tracing)
13
14
+When tracing is requested, the build backend automatically adds the
15
+``linetrace=True`` and ``profile=True`` Cython directives and sets the
16
+appropriate C compiler flags.
17
18
+-- by :user:`webknjaz`
0 commit comments