Remove redundant `conftest.py` to fix compatibility with pytest 9 by thunze · Pull Request #5521 · plotly/plotly.py

pytest_ignore_collect takes only collection_path starting with pytest 9. Most of the paths referenced in plotly/conftest.py don't exist anymore and wouldn't be collected anyway, so we can just remove the file (I think?).

I ran into this issue while running pytest instead of pytest tests with pytest 9.0.2 installed.

https://docs.pytest.org/en/latest/deprecations.html#py-path-local-arguments-for-hooks-replaced-with-pathlib-path

Code PR

  • I have read through the contributing notes and understand the structure of the package. In particular, if my PR modifies code of plotly.graph_objects, my modifications concern the code generator and not the generated files.
  • I have added tests or modified existing tests.
  • For a new feature, I have added documentation examples (please see the doc checklist as well).
  • I have added a CHANGELOG entry if changing anything substantial.
  • For a new feature or a change in behavior, I have updated the relevant docstrings in the code.