diff --git a/pytest_github_actions_annotate_failures/plugin.py b/pytest_github_actions_annotate_failures/plugin.py index 54663f8..f3c6ce1 100644 --- a/pytest_github_actions_annotate_failures/plugin.py +++ b/pytest_github_actions_annotate_failures/plugin.py @@ -6,7 +6,6 @@ import pytest from _pytest._code.code import ExceptionRepr, ReprEntry -from packaging import version if TYPE_CHECKING: from warnings import WarningMessage @@ -23,9 +22,6 @@ # https://github.com/pytest-dev/pytest/blob/master/src/_pytest/terminal.py -PYTEST_VERSION = version.parse(pytest.__version__) - - class _AnnotateErrors: @pytest.hookimpl(tryfirst=True) def pytest_runtest_logreport(self, report: TestReport):