Skip to content

fix(ci): drop abandoned pytest-pep8 from test requirements#82

Merged
martinkersner merged 1 commit into
mainfrom
issue-81-ci-build-3-14-fails
Jun 30, 2026
Merged

fix(ci): drop abandoned pytest-pep8 from test requirements#82
martinkersner merged 1 commit into
mainfrom
issue-81-ci-build-3-14-fails

Conversation

@martinkersner

Copy link
Copy Markdown
Member

Closes #81

Summary

Remove pytest-pep8>=1.0.6 from requirements/requirements-test.txt. The abandoned plugin (last release ~2014) registers a pytest_collect_file(path, parent) hook whose path arg modern pytest dropped from the hookspec, so pytest aborts at startup on py3.14 with PluginValidationError — the only matrix job that runs pytest (if: matrix.python-version == '3.14'). Nothing invokes --pep8; flake8 (7.3.0) already runs as its own CI step covering style.

Test plan

  • Grepped repo: no --pep8 / pep8-marker usage anywhere (only the requirements line).
  • Local venv (py3.12, pytest 9.1.1 / pluggy 1.6.0) with reqs minus pytest-pep8: python -m pytest tests/ runs to completion — 8 passed, 151 skipped, no PluginValidationError.

pytest-pep8 (last release ~2014) registers a pytest_collect_file(path,
parent) hook whose path arg modern pytest dropped from the hookspec,
aborting pytest at startup on py3.14 with PluginValidationError. Nothing
invokes --pep8; flake8 already covers style as its own CI step.
@martinkersner martinkersner self-assigned this Jun 30, 2026
@martinkersner martinkersner merged commit 4a17a2f into main Jun 30, 2026
6 of 7 checks passed
@martinkersner martinkersner deleted the issue-81-ci-build-3-14-fails branch June 30, 2026 04:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: build (3.14) fails — pytest-pep8 incompatible with modern pytest

1 participant