Skip to content

Commit 624a38c

Browse files
[PR #11826/fb722b8b backport][3.14] Bump coverage from 7.11.0 to 7.13.0 (#11827)
**This is a backport of PR #11826 as merged into master (fb722b8).** This patch includes pinning the tracer to `ctrace` in the coveragepy config and migrating said config to TOML. Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <sviat@redhat.com>
1 parent 8a4e76d commit 624a38c

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
@@ -55,7 +55,7 @@ click==8.3.1
5555
# slotscheck
5656
# towncrier
5757
# wait-for-it
58-
coverage==7.11.0
58+
coverage==7.13.0
5959
# via
6060
# -r requirements/test-common.in
6161
# pytest-cov

requirements/dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ click==8.3.1
5555
# slotscheck
5656
# towncrier
5757
# wait-for-it
58-
coverage==7.11.0
58+
coverage==7.13.0
5959
# via
6060
# -r requirements/test-common.in
6161
# 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
@@ -29,7 +29,7 @@ cffi==2.0.0
2929
# pytest-codspeed
3030
click==8.3.1
3131
# via wait-for-it
32-
coverage==7.11.0
32+
coverage==7.13.0
3333
# via
3434
# -r requirements/test-common.in
3535
# pytest-cov

requirements/test.txt

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

0 commit comments

Comments
 (0)