Skip to content

Fix: Update pytest_report_parameters markers to include latest pytest markers

  • Fix: Update pytest_report_parameters markers to include latest pytest markers
  • Fix: Upgrade Python interpreter version in gitlab runner CI
  • Chore: Upgrade pre-commit packages

Fixes the following PytestDeprecationWarning in Python >=3.9 pytest runs:

See details
pytest_report_parameters.py:60: PytestDeprecationWarning: The hookimpl AddPropertiesToJunitPlugin.pytest_runtest_logreport uses old-style configuration options (marks or attributes).
  Please use the pytest.hookimpl(tryfirst=True) decorator instead
   to configure the hooks.
   See https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markers
    @pytest.mark.tryfirst

More details at https://docs.pytest.org/en/stable/how-to/capture-warnings.html

Edited by Victor Wildner

Merge request reports

Loading