Skip to content

Not compatible with pytest 8.0 ? #14

Closed

Description

@pllim

I am not sure what is going on because I cannot reproduce this locally with pytest 8.0rc but I see this in astropy CI (astropy/astropy#15810):

File "_pytest/config/__init__.py", line 1309, in _preparse
    self.pluginmanager.load_setuptools_entrypoints("pytest11")
  File "pluggy/_manager.py", line 399, in load_setuptools_entrypoints
    self.register(plugin, name=ep.name)
  File _pytest/config/__init__.py", line 496, in register
    ret: Optional[str] = super().register(plugin, name)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "pluggy/_manager.py", line 163, in register
    self._verify_hook(hook, hookimpl)
  File "pluggy/_manager.py", line 328, in _verify_hook
    raise PluginValidationError(
pluggy._manager.PluginValidationError: Plugin 'pytest_filter_subpackage' for hook 'pytest_ignore_collect'
hookimpl definition: pytest_ignore_collect(path, config)
Argument(s) {'path'} are declared in the hookimpl but can not be found in the hookspec

Does Argument(s) {'path'} are declared in the hookimpl but can not be found in the hookspec mean anything to you?

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions