Skip to content

BUG: incompatibility with pytest 8.0dev #212

Closed

Description

@bsipocz

New failures due to pytest-dev/pytest#11268, but I haven't yet looked into solutions yet.

https://github.com/scientific-python/pytest-doctestplus/actions/runs/5814842359

 ==================================== ERRORS ====================================
________________________ ERROR collecting test session _________________________
../../.tox/py312-test-pytestdev/lib/python3.12/site-packages/_pytest/runner.py:340: in from_call
    result: Optional[TResult] = func()
../../.tox/py312-test-pytestdev/lib/python3.12/site-packages/_pytest/runner.py:371: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
../../.tox/py312-test-pytestdev/lib/python3.12/site-packages/_pytest/main.py:756: in collect
    for x in self._collectfile(path):
../../.tox/py312-test-pytestdev/lib/python3.12/site-packages/_pytest/main.py:605: in _collectfile
    if ihook.pytest_ignore_collect(collection_path=fspath, config=self.config):
../../.tox/py312-test-pytestdev/lib/python3.12/site-packages/_pytest/config/compat.py:66: in fixed_hook
    return hook(**kw)
../../.tox/py312-test-pytestdev/lib/python3.12/site-packages/pluggy/_hooks.py:433: in __call__
    return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
../../.tox/py312-test-pytestdev/lib/python3.12/site-packages/pluggy/_manager.py:112: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
../../.tox/py312-test-pytestdev/lib/python3.12/site-packages/pytest_doctestplus/plugin.py:512: in pytest_ignore_collect
    collect_ignore = config._getconftest_pathlist("collect_ignore",
E   TypeError: Config._getconftest_pathlist() got an unexpected keyword argument 'rootpath'
=========================== short test summary info ============================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions