Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin breaks with pytest 8.1.0 #142

Closed
ev-br opened this issue Mar 4, 2024 · 1 comment · Fixed by #143
Closed

plugin breaks with pytest 8.1.0 #142

ev-br opened this issue Mar 4, 2024 · 1 comment · Fixed by #143
Labels
bug Something isn't working pytest-plugin

Comments

@ev-br
Copy link
Member

ev-br commented Mar 4, 2024

pytest 8.1.0 is out 13 hrs ago, and

==================================== ERRORS ====================================
_________________ ERROR collecting scpdt/tests/module_cases.py _________________
/home/runner/work/scpdt/scpdt/scpdt/plugin.py:197: in collect
    module = import_path(
E   TypeError: import_path() missing 1 required keyword-only argument: 'consider_namespace_packages'
=========================== short test summary info ============================
ERROR ../../../../home/runner/work/scpdt/scpdt/scpdt/tests/module_cases.py - TypeError: import_path() missing 1 required keyword-only argument: 'consider_namespace_packages'
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.08s ===============================
FAILED

seen in, e.g. https://github.com/ev-br/scpdt/actions/runs/8136567655/job/22233146231.

The failure is in pytest-vendored code, so cross-ref gh-123.

pytest release notes (https://github.com/pytest-dev/pytest/releases) mention consider_namespace_package, need to investigate.

@ev-br ev-br added bug Something isn't working pytest-plugin labels Mar 4, 2024
@ev-br
Copy link
Member Author

ev-br commented Mar 4, 2024

pytest-dev/pytest#11475 hints that maybe wait out until dust settles a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pytest-plugin
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant