From 0942bf2d5975e927dd8c9f37008056a28b85b650 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 31 Jul 2024 00:08:16 +0000 Subject: [PATCH 1/2] Bump mypy from 1.10.1 to 1.11.1 Bumps [mypy](https://github.com/python/mypy) from 1.10.1 to 1.11.1. - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v1.10.1...v1.11.1) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- mypy-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mypy-requirements.txt b/mypy-requirements.txt index 43adedd..2002bdc 100644 --- a/mypy-requirements.txt +++ b/mypy-requirements.txt @@ -1,4 +1,4 @@ -mypy==1.10.1 +mypy==1.11.1 types-setuptools types-requests types-PyYAML From 647658b56dfc5b8a805495fbb730ada30e97f76b Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" Date: Wed, 31 Jul 2024 15:31:52 +0200 Subject: [PATCH 2/2] pytest 8.3 changed an internal detail --- cwltest/plugin.py | 4 ++-- mypy-requirements.txt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cwltest/plugin.py b/cwltest/plugin.py index 57a8ab4..a27ee92 100644 --- a/cwltest/plugin.py +++ b/cwltest/plugin.py @@ -28,7 +28,7 @@ from cwltest import REQUIRED, UNSUPPORTED_FEATURE, logger, utils if TYPE_CHECKING: - from _pytest._code.code import ExceptionInfo, _TracebackStyle + from _pytest._code.code import ExceptionInfo, TracebackStyle from _pytest.config import Config from _pytest.config import Config as PytestConfig from _pytest.config import PytestPluginManager @@ -207,7 +207,7 @@ def runtest(self) -> None: def repr_failure( self, excinfo: "ExceptionInfo[BaseException]", - style: Optional["_TracebackStyle"] = None, + style: Optional["TracebackStyle"] = None, ) -> str: """ Document failure reason. diff --git a/mypy-requirements.txt b/mypy-requirements.txt index 2002bdc..0976a9f 100644 --- a/mypy-requirements.txt +++ b/mypy-requirements.txt @@ -1,4 +1,5 @@ mypy==1.11.1 +pytest >= 8.3, < 9 types-setuptools types-requests types-PyYAML