From 44832aead81e289596015d90f476e0022201ffc1 Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Thu, 10 Nov 2022 14:26:16 +0000 Subject: [PATCH 1/4] pin mypy otherwise crap hits the fan --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 528d34d0d7..0b63b7db48 100755 --- a/setup.py +++ b/setup.py @@ -65,7 +65,7 @@ 'pytest-env', 'pytest-html!=2.1.0', 'pytest-metadata>=1.5.1', - 'pytest-mypy', + 'pytest-mypy!=0.10.1', 'pytest-mock', 'pytest-xdist', 'ESMValTool_sample_data==0.0.3', From 84e8323b994e6f1e53132a0d927fd19696fb2fc6 Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Thu, 10 Nov 2022 14:27:06 +0000 Subject: [PATCH 2/4] run GA here --- .github/workflows/run-tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index a9322fe9e8..05ab95abee 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -21,6 +21,7 @@ on: push: branches: - main + - pin_mypy # run the test only if the PR is to main # turn it on if required #pull_request: From cfcdfe8f41500069414f9229102e4bdcc1221347 Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Thu, 10 Nov 2022 15:29:43 +0000 Subject: [PATCH 3/4] no more GA here --- .github/workflows/run-tests.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 05ab95abee..a9322fe9e8 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -21,7 +21,6 @@ on: push: branches: - main - - pin_mypy # run the test only if the PR is to main # turn it on if required #pull_request: From 1eea76041943ade48d0bc69d1a82a012c6587bfc Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Thu, 10 Nov 2022 16:19:14 +0000 Subject: [PATCH 4/4] Update setup.py Co-authored-by: Manuel Schlund <32543114+schlunma@users.noreply.github.com> --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0b63b7db48..ab7fbb873e 100755 --- a/setup.py +++ b/setup.py @@ -65,7 +65,7 @@ 'pytest-env', 'pytest-html!=2.1.0', 'pytest-metadata>=1.5.1', - 'pytest-mypy!=0.10.1', + 'pytest-mypy<0.10.1', 'pytest-mock', 'pytest-xdist', 'ESMValTool_sample_data==0.0.3',