You should be able to run the test suite even without the `components` optional dependencies. Use [importorskip](https://docs.pytest.org/en/stable/how-to/skipping.html#skipping-on-a-missing-import-dependency) to skip the test that require such an optional dependency.