From bb48ecb5eb48eef555b4f77074e7f56089d09b67 Mon Sep 17 00:00:00 2001 From: eltbus <33374178+eltbus@users.noreply.github.com> Date: Sun, 21 Jan 2024 18:10:10 +0100 Subject: [PATCH 1/2] Use latest invoke version (2.2.0) --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1ad20d2..4eea5b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,7 @@ dev = [ "pytest==7.2.0", "pytest-cov==4.0.0", "PyYAML==5.1", - "invoke==1.7.3", + "invoke==2.2.0", "pytest-timeout==2.1.0", "hatch", ] From a613a354aef8e260c144070815fc67d75b4c784f Mon Sep 17 00:00:00 2001 From: eltbus <33374178+eltbus@users.noreply.github.com> Date: Sun, 21 Jan 2024 18:17:49 +0100 Subject: [PATCH 2/2] Use 'inv test' --- .github/workflows/test.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 21428c5..21452ec 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -28,6 +28,4 @@ jobs: pip install .[dev] - name: Test with pytest run: | - # This should be inv test but invoke does not have python3.11 support yet. - # See https://github.com/pyinvoke/invoke/issues/891 for details - pytest + inv test