Skip to content

Commit 0fc396c

Browse files
committed
WIP
1 parent f7b6efb commit 0fc396c

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/Tests.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,7 @@ jobs:
3939

4040
- name: Upload coverage report to codecov
4141
if: matrix.os == 'ubuntu-24.04' && matrix.python == '3.14'
42-
<<<<<<< HEAD
4342
uses: codecov/codecov-action@v5
44-
=======
45-
uses: codecov/codecov-action@v4
46-
>>>>>>> 89f9199 (Add support for Python 3.14 and upgrade dependencies)
4743
with:
4844
fail_ci_if_error: true
4945
token: ${{ secrets.CODECOV_TOKEN }}

setup.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,13 @@ def get_cython_extension() -> list[Extension]:
392392
compiler_directives = {"language_level": "3"}
393393

394394
if config.profiling:
395-
define_macros += [("CYTHON_TRACE", "1"), ("CYTHON_TRACE_NOGIL", "1")]
395+
define_macros += [
396+
("CYTHON_TRACE", "1"),
397+
("CYTHON_TRACE_NOGIL", "1"),
398+
# Disable sys.monitoring for Python 3.13+ to enable coverage.py support
399+
# coverage.py doesn't support sys.monitoring yet (Cython 3.1+ issue)
400+
("CYTHON_USE_SYS_MONITORING", "0"),
401+
]
396402
compiler_directives.update(linetrace="true")
397403

398404
include_dirs: list[str] = []

0 commit comments

Comments
 (0)