Repository navigation
Commit 709f260
authored
Trim the test run of the emulated wheel jobs (#1762)
<!-- Thank you for your contribution! -->
## What do these changes do?
The third `v7.1.0` tag run passed every job except the manylinux riscv64
wheel build, which hit its 120 minute timeout on the last of its eight
wheels; all wheels it built passed their tests. The job took 72 minutes
for 7.0.0: the suite grew from about 2650 to about 4090 tests since
then, and under QEMU each wheel's test run went from about 3.5 to about
8 minutes.
Measured under QEMU on the riscv64 cp314 wheel, two thirds of the time
in the slow tests was the pure-Python parametrization, mostly
large-table tests and the benchmark tests, and most of the rest was a
handful of threaded tests. The pure-Python backend gives the same result
whichever wheel is under test, and native jobs, 32-bit i686 included,
keep running all of it.
This adds four markers: `pure_python` on the pure-Python parametrization
(mirroring `c_extension`), `gil_build` on every test of a GIL build,
`expensive` on 11 large-table tests and `test_multidict_benchmarks.py`,
and `threaded` on the 9 slowest threaded tests. The odd-arch wheel jobs
that run under QEMU add `not (pure_python and expensive) and not
(gil_build and threaded)` to the test command. FT wheels keep every
threaded test, GIL wheels keep the other threaded tests (48 of 61 test
items), and native jobs, aarch64 included, run everything as before.
The changelog entry goes into the unpublished 7.1.0 section, since the
tag gets moved to this merge commit.
## Are there changes in behavior for the user?
No.
## Is it a substantial burden for the maintainers to support this?
No; a new test that is slow under emulation needs one of the two
markers.
## Related issue number
Follow-up to #1760. Failed run:
https://github.com/aio-libs/multidict/actions/runs/37838988742
## Checklist
- [x] I think the code is well written
- [ ] Unit tests for the changes exist N/A, test selection change;
verified as described below
- [x] Documentation reflects the changes
- [ ] If you provide code modification, please add yourself to
`CONTRIBUTORS.txt` N/A
- [ ] Add a new news fragment into the `CHANGES/` folder N/A, the entry
is added to the unreleased 7.1.0 section of `CHANGES.rst` directly
- [x] `make doc-spelling` passes and any new technical words are added
to `docs/spelling_wordlist.txt`
Drafted with Claude Code (Claude Opus 5.5); reviewed by @asvetlov.
<details>
<summary>Agent run details (optional, for reviewers)</summary>
Under QEMU (local docker, `manylinux_2_39_riscv64`, cp314 wheel), the
cibuildwheel test command took 427s (4069 passed). With only the
`pure_python and expensive` part, 307s (3930 passed). The run with the
`gil_build and threaded` part added is still going; numbers will be
added here.
Collection, CPython 3.14.7: the default selection is unchanged at 4088
items on GIL and FT. The emulated selection keeps 3936 on GIL and 3949
on FT; it deselects only pure-Python items and, on GIL, the 13
`threaded` items. No C-extension item is deselected on FT.
Native: C extension 4250 passed (3.14.7) and 4235 passed (3.14.7t);
pure-Python leg from a `MULTIDICT_NO_EXTENSIONS=1` install 1690 passed.
pre-commit (yamllint included) and `make doc-spelling` pass.
</details>1 parent dbc3aba commit 709f260
10 files changed
Lines changed: 65 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1070 | 1070 | | |
1071 | 1071 | | |
1072 | 1072 | | |
| 1073 | + | |
| 1074 | + | |
| 1075 | + | |
1073 | 1076 | | |
1074 | 1077 | | |
1075 | 1078 | | |
1076 | 1079 | | |
1077 | 1080 | | |
1078 | 1081 | | |
1079 | 1082 | | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
1080 | 1093 | | |
1081 | 1094 | | |
1082 | 1095 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
375 | 384 | | |
376 | 385 | | |
377 | 386 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
85 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
86 | 91 | | |
87 | 92 | | |
88 | 93 | | |
| |||
205 | 210 | | |
206 | 211 | | |
207 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
208 | 217 | | |
209 | 218 | | |
210 | 219 | | |
| |||
224 | 233 | | |
225 | 234 | | |
226 | 235 | | |
227 | | - | |
| 236 | + | |
228 | 237 | | |
229 | 238 | | |
230 | 239 | | |
231 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
232 | 249 | | |
233 | 250 | | |
234 | 251 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
| |||
271 | 272 | | |
272 | 273 | | |
273 | 274 | | |
| 275 | + | |
274 | 276 | | |
275 | 277 | | |
276 | 278 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1973 | 1973 | | |
1974 | 1974 | | |
1975 | 1975 | | |
| 1976 | + | |
1976 | 1977 | | |
1977 | 1978 | | |
1978 | 1979 | | |
| |||
2034 | 2035 | | |
2035 | 2036 | | |
2036 | 2037 | | |
| 2038 | + | |
2037 | 2039 | | |
2038 | 2040 | | |
2039 | 2041 | | |
| |||
2215 | 2217 | | |
2216 | 2218 | | |
2217 | 2219 | | |
| 2220 | + | |
2218 | 2221 | | |
2219 | 2222 | | |
2220 | 2223 | | |
| |||
2631 | 2634 | | |
2632 | 2635 | | |
2633 | 2636 | | |
| 2637 | + | |
2634 | 2638 | | |
2635 | 2639 | | |
2636 | 2640 | | |
| |||
2713 | 2717 | | |
2714 | 2718 | | |
2715 | 2719 | | |
| 2720 | + | |
2716 | 2721 | | |
2717 | 2722 | | |
2718 | 2723 | | |
| |||
3891 | 3896 | | |
3892 | 3897 | | |
3893 | 3898 | | |
| 3899 | + | |
3894 | 3900 | | |
3895 | 3901 | | |
3896 | 3902 | | |
| |||
3926 | 3932 | | |
3927 | 3933 | | |
3928 | 3934 | | |
| 3935 | + | |
3929 | 3936 | | |
3930 | 3937 | | |
3931 | 3938 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
| 536 | + | |
536 | 537 | | |
537 | 538 | | |
538 | 539 | | |
| |||
541 | 542 | | |
542 | 543 | | |
543 | 544 | | |
| 545 | + | |
544 | 546 | | |
545 | 547 | | |
546 | 548 | | |
| |||
1124 | 1126 | | |
1125 | 1127 | | |
1126 | 1128 | | |
| 1129 | + | |
1127 | 1130 | | |
1128 | 1131 | | |
1129 | 1132 | | |
| |||
1138 | 1141 | | |
1139 | 1142 | | |
1140 | 1143 | | |
| 1144 | + | |
1141 | 1145 | | |
1142 | 1146 | | |
1143 | 1147 | | |
| |||
1161 | 1165 | | |
1162 | 1166 | | |
1163 | 1167 | | |
| 1168 | + | |
1164 | 1169 | | |
1165 | 1170 | | |
1166 | 1171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| |||
73 | 75 | | |
74 | 76 | | |
75 | 77 | | |
| 78 | + | |
76 | 79 | | |
77 | 80 | | |
78 | 81 | | |
| |||
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
| 87 | + | |
84 | 88 | | |
85 | 89 | | |
86 | 90 | | |
| |||
91 | 95 | | |
92 | 96 | | |
93 | 97 | | |
| 98 | + | |
94 | 99 | | |
95 | 100 | | |
96 | 101 | | |
| |||
0 commit comments