Repository navigation
Commit 64a63c1
build: hold pytest below 9.2.0 until pylint-pytest catches up
pytest 9.2.0 renamed the private FixtureManager._arg2fixturedefs to
_arg2node2fixturedefs as part of the fixture-resolution rework in
pytest-dev/pytest#14635. pylint-pytest 1.1.9.post1
still reads the old name in its pytest_sessionfinish hook, so with pytest
9.2.0 every file pylint checks fails with F0002 (astroid-error):
AttributeError: 'FixtureManager' object has no attribute
'_arg2fixturedefs'. Did you mean: '_arg2node2fixturedefs'?
That is why all seven pylint jobs went red on the requirements bump
that moved pytest 9.1.1 -> 9.2.0. The fix is upstream in
pylint-dev/pylint-pytest#164 (approved, unreleased),
tracked by pylint-dev/pylint-pytest#163.
Constrain pytest to <9.2.0 in [tool.edx_lint].uv_constraints and
regenerate with `make compile-requirements`; only pytest moves. Removing
the constraint once a pylint-pytest release includes that fix is
#39337.
Co-Authored-By: Claude Fable 5.1 <[email protected]>1 parent 3cbb05b commit 64a63c1
3 files changed
Lines changed: 15 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
| 295 | + | |
295 | 296 | | |
296 | 297 | | |
297 | 298 | | |
| |||
414 | 415 | | |
415 | 416 | | |
416 | 417 | | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
417 | 427 | | |
418 | 428 | | |
419 | 429 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1156 | 1156 | | |
1157 | 1157 | | |
1158 | 1158 | | |
1159 | | - | |
| 1159 | + | |
1160 | 1160 | | |
1161 | 1161 | | |
1162 | 1162 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments