Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .coveragerc

This file was deleted.

22 changes: 22 additions & 0 deletions .coveragerc.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[run]
branch = true
# NOTE: `ctrace` tracing method is needed because the `sysmon` tracer
# NOTE: which is default on Python 3.14, causes unprecedented slow-down
# NOTE: of the test runs.
# Ref: https://github.com/coveragepy/coveragepy/issues/2099
core = 'ctrace'
source = [
'aiohttp',
'tests',
]
omit = [
'site-packages',
]

[report]
exclude_also = [
'if TYPE_CHECKING',
'assert False',
': \.\.\.(\s*#.*)?$',
'^ +\.\.\.$',
]
7 changes: 7 additions & 0 deletions CHANGES/11826.contrib.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
The coverage tool is now configured using the new native
auto-discovered :file:`.coveragerc.toml` file
-- by :user:`webknjaz`.

It is also set up to use the ``ctrace`` core that works
around the performance issues in the ``sysmon`` tracer
which is default under Python 3.14.
2 changes: 1 addition & 1 deletion requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ click==8.3.1
# slotscheck
# towncrier
# wait-for-it
coverage==7.11.0
coverage==7.13.0
# via
# -r requirements/test-common.in
# pytest-cov
Expand Down
2 changes: 1 addition & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ click==8.3.1
# slotscheck
# towncrier
# wait-for-it
coverage==7.11.0
coverage==7.13.0
# via
# -r requirements/test-common.in
# pytest-cov
Expand Down
2 changes: 1 addition & 1 deletion requirements/test-common.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ cffi==2.0.0
# pytest-codspeed
click==8.3.1
# via wait-for-it
coverage==7.11.0
coverage==7.13.0
# via
# -r requirements/test-common.in
# pytest-cov
Expand Down
2 changes: 1 addition & 1 deletion requirements/test-ft.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ cffi==2.0.0
# pytest-codspeed
click==8.3.1
# via wait-for-it
coverage==7.11.0
coverage==7.13.0
# via
# -r requirements/test-common.in
# pytest-cov
Expand Down
2 changes: 1 addition & 1 deletion requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ cffi==2.0.0
# pytest-codspeed
click==8.3.1
# via wait-for-it
coverage==7.11.0
coverage==7.13.0
# via
# -r requirements/test-common.in
# pytest-cov
Expand Down
Loading