Repository navigation
Commit bdbeaba
committed
build-kivy: constrain pytest below 9.1 for the test run
Test collection failed on all matrix legs with "Failed: Marks cannot
be applied to fixtures." in common.py's async_run helper
(pytest.mark.asyncio(pytest_asyncio.fixture(func))).
Not riscv64-specific: setup.cfg's [dev] extra pins pytest>=3.6 and
pytest-asyncio!=0.11.0, both open-ended, so install_kivy_wheel dev
resolves against today's PyPI and lands on pytest 9.1+. Verified by
diffing the pytest 9.0.3 and 9.1.0 wheels directly: the same message
lives in _pytest/deprecated.py (a PytestRemovedIn8Warning) through
9.0.3, and moves to _pytest/fixtures.py as a hard fail() in 9.1.0.
A PIP_CONSTRAINT file caps pytest for the test install only, without
touching setup.cfg's own bound or the shipped wheel's dependencies
(kivy declares no pytest runtime dependency at all).
Signed-off-by: Ludovic Henry <git@ludovic.dev>1 parent 159a1e6 commit bdbeaba
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
224 | 237 | | |
225 | 238 | | |
226 | 239 | | |
| |||
0 commit comments