scipy / scipy_doctest

Floating-point aware doctesting
BSD 3-Clause "New" or "Revised" License
5 stars 4 forks source link

plugin breaks with pytest 8.1.0 #142

Closed ev-br closed 5 months ago

ev-br commented 5 months ago

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 commented 5 months ago

https://github.com/pytest-dev/pytest/issues/11475 hints that maybe wait out until dust settles a bit.