I am getting a warning when I run `pytest` on a du...
# questions
g
I am getting a warning when I run
pytest
on a dummy project:
Copy code
PytestDeprecationWarning: The hookimpl CovPlugin.pytest_configure_node uses old-style configuration options (marks or attributes).
  Please use the pytest.hookimpl(optionalhook=True) decorator instead
   to configure the hooks.
   See <https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markers>
    def pytest_configure_node(self, node):

..\venv\lib\site-packages\pytest_cov\plugin.py:265
\venv\lib\site-packages\pytest_cov\plugin.py:265: PytestDeprecationWarning: The hookimpl CovPlugin.pytest_testnodedown uses old-style configuration options (marks or attributes).
  Please use the pytest.hookimpl(optionalhook=True) decorator instead
   to configure the hooks.
   See <https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markers>
    def pytest_testnodedown(self, node, error):

-- Docs: <https://docs.pytest.org/en/stable/how-to/capture-warnings.html>
Is this something I should do anything about, or will it be addressed in a future version of Kedro?
d
@Merel do you think it's our internal version of pluggy conflicting with pytest's? 🤔
n
Copy code
pip install pytest-cov --upgrade
should make this disappear
❤️ 1
This complains
pytest-cov
, not kedro
d
facepalming
sily me
g
@Nok Lam Chan Worked like a charm! Thank you! 🙏
👍🏼 1