From 7c61463d2dc7603ea22b3cc917b81088cf1c566a Mon Sep 17 00:00:00 2001 From: skshetry <18718008+skshetry@users.noreply.github.com> Date: Wed, 29 Nov 2023 12:05:46 +0545 Subject: [PATCH] tests: do not setup pytest plugin entrypoint (#10121) We should not register a pytest plugin automaticallly, as we may have fixtures that might override user's fixtures. Also, it might raise import errors as in https://github.com/iterative/dvc/issues/10118. We can still use this as a plugin ourselves by setting the following in `conftest.py` file. ```python pytest_plugins = ['dvc.testing.plugin'] ``` --- pyproject.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index bc1194695..eec2bd86d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -127,9 +127,6 @@ dvc = "dvc.cli:main" [project.entry-points."fsspec.specs"] dvc = "dvc.api:DVCFileSystem" -[project.entry-points."pytest11"] -dvc-testing = "dvc.testing.plugin" - [project.entry-points."pyinstaller40"] hook-dirs = "dvc.__pyinstaller:get_hook_dirs" tests = "dvc.__pyinstaller:get_PyInstaller_tests"