Skip to content

Commit fb722b8

Browse files
authored
Bump coverage from 7.11.0 to 7.13.0 (aio-libs#11826)
This patch includes pinning the tracer to `ctrace` in the coveragepy config and migrating said config to TOML.
1 parent a02b999 commit fb722b8

File tree

8 files changed

+34
-16
lines changed

8 files changed

+34
-16
lines changed

.coveragerc

Lines changed: 0 additions & 11 deletions
This file was deleted.

.coveragerc.toml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[run]
2+
branch = true
3+
# NOTE: `ctrace` tracing method is needed because the `sysmon` tracer
4+
# NOTE: which is default on Python 3.14, causes unprecedented slow-down
5+
# NOTE: of the test runs.
6+
# Ref: https://github.com/coveragepy/coveragepy/issues/2099
7+
core = 'ctrace'
8+
source = [
9+
'aiohttp',
10+
'tests',
11+
]
12+
omit = [
13+
'site-packages',
14+
]
15+
16+
[report]
17+
exclude_also = [
18+
'if TYPE_CHECKING',
19+
'assert False',
20+
': \.\.\.(\s*#.*)?$',
21+
'^ +\.\.\.$',
22+
]

CHANGES/11826.contrib.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
The coverage tool is now configured using the new native
2+
auto-discovered :file:`.coveragerc.toml` file
3+
-- by :user:`webknjaz`.
4+
5+
It is also set up to use the ``ctrace`` core that works
6+
around the performance issues in the ``sysmon`` tracer
7+
which is default under Python 3.14.

requirements/constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ click==8.3.1
5353
# slotscheck
5454
# towncrier
5555
# wait-for-it
56-
coverage==7.11.0
56+
coverage==7.13.0
5757
# via
5858
# -r requirements/test-common.in
5959
# pytest-cov

requirements/dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ click==8.3.1
5353
# slotscheck
5454
# towncrier
5555
# wait-for-it
56-
coverage==7.11.0
56+
coverage==7.13.0
5757
# via
5858
# -r requirements/test-common.in
5959
# pytest-cov

requirements/test-common.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ cffi==2.0.0
1414
# pytest-codspeed
1515
click==8.3.1
1616
# via wait-for-it
17-
coverage==7.11.0
17+
coverage==7.13.0
1818
# via
1919
# -r requirements/test-common.in
2020
# pytest-cov

requirements/test-ft.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cffi==2.0.0
2727
# pytest-codspeed
2828
click==8.3.1
2929
# via wait-for-it
30-
coverage==7.11.0
30+
coverage==7.13.0
3131
# via
3232
# -r requirements/test-common.in
3333
# pytest-cov

requirements/test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cffi==2.0.0
2727
# pytest-codspeed
2828
click==8.3.1
2929
# via wait-for-it
30-
coverage==7.11.0
30+
coverage==7.13.0
3131
# via
3232
# -r requirements/test-common.in
3333
# pytest-cov

0 commit comments

Comments
 (0)