Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Work around coverage slowness on Python 3.14. (#7574)

Andrey Rakhmatullin58af57a3ea3a
diff --git a/pyproject.toml b/pyproject.toml
index e027ea74d..2d857dc6d 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -157,6 +157,8 @@ parse = """(?P<major>0|[1-9]\\d*)\\.(?P<minor>0|[1-9]\\d*)"""
serialize = ["{major}.{minor}"]
[tool.coverage.run]
+# sysmon, default on 3.14, is too slow: https://github.com/coveragepy/coveragepy/issues/2172
+core = "ctrace"
branch = true
include = ["scrapy/*"]
omit = ["tests/*"]