Repository navigation
Commit 17bd096
committed
build-kivy: tighten the pytest cap to <8, not just <9.1
<9.1 fixed the hard `Failed: Marks cannot be applied to fixtures.`
error (that's pytest 9.1.0+ only), but the resolved 9.0.x still
promotes the same underlying PytestRemovedIn9Warning to a collection
ERROR at import time -- same test_app.py collection failure, different
error class. pytest's own deprecation-escalation policy in the 9.0
pre-9.1 window apparently already enforces this one as fatal, not just
warn-worthy.
Drop the cap below the whole 8.x/9.0 cycle to pytest<8, the last major
line predating this deprecation existing at all (my earlier diff of
7.4.4's _pytest/fixtures.py and deprecated.py found neither the
warning nor the hard-error string). No change to pytest-asyncio's own
version -- pip's resolver picks whichever release is compatible with
pytest<8.
Signed-off-by: Ludovic Henry <git@ludovic.dev>1 parent bdbeaba commit 17bd096
1 file changed
Lines changed: 9 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
232 | 233 | | |
233 | 234 | | |
234 | | - | |
| 235 | + | |
235 | 236 | | |
236 | 237 | | |
237 | 238 | | |
| |||
0 commit comments