Skip to content

Commit edf0f3e

Browse files
committed
📝 Add a change note for PR ansible#778
1 parent 46a3917 commit edf0f3e

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)