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

Not compatible with pytest 8.0 ? #14

Closed
pllim opened this issue Jan 5, 2024 · 0 comments · Fixed by #15
Closed

Not compatible with pytest 8.0 ? #14

pllim opened this issue Jan 5, 2024 · 0 comments · Fixed by #15

Comments

@pllim
Copy link
Member

pllim commented Jan 5, 2024

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?

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 a pull request may close this issue.

1 participant