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

ImportError: cannot import name 'FixtureDef' from 'pytest' #129

Open
amotl opened this issue Dec 24, 2024 · 0 comments
Open

ImportError: cannot import name 'FixtureDef' from 'pytest' #129

amotl opened this issue Dec 24, 2024 · 0 comments

Comments

@amotl
Copy link
Member

amotl commented Dec 24, 2024

Problem

Error on downstream project when just installing the package.

uv pip install pueblo[testing]
pytest -vvv path/to/test_foo.py
PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown.
Plugin: helpconfig, Hook: pytest_cmdline_parse
ImportError: cannot import name 'FixtureDef' from 'pytest' (/path/to/.venv/lib/python3.12/site-packages/pytest/__init__.py)
For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning
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

No branches or pull requests

1 participant