From af25d0ddc5063683d81108d66a9a25a6ed7903d4 Mon Sep 17 00:00:00 2001 From: George Dang <53052793+gtdang@users.noreply.github.com> Date: Tue, 21 Mar 2023 11:47:24 -0400 Subject: [PATCH 1/2] fix: Added line to change poetry config for installer.modern-installation to false. This correct an issue with and invalid debugpy wheel with Poetry v1.4.1 modern installer. --- .github/workflows/test-pytest.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test-pytest.yml b/.github/workflows/test-pytest.yml index 9c0b9ca94..ce5de0ec7 100644 --- a/.github/workflows/test-pytest.yml +++ b/.github/workflows/test-pytest.yml @@ -24,5 +24,6 @@ jobs: with: python-version: ${{ matrix.python-version }} cache: "poetry" + - run: poetry config installer.modern-installation false - run: poetry install - run: poetry run pytest From 7d4a0d85a835bd8113ca7810cfb5b060d4e9bc23 Mon Sep 17 00:00:00 2001 From: John Gerrard Holland Date: Wed, 22 Mar 2023 19:03:30 -0400 Subject: [PATCH 2/2] test: make github action only install main and test dependencies --- .github/workflows/test-pytest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-pytest.yml b/.github/workflows/test-pytest.yml index 9c0b9ca94..31c2a6e47 100644 --- a/.github/workflows/test-pytest.yml +++ b/.github/workflows/test-pytest.yml @@ -24,5 +24,5 @@ jobs: with: python-version: ${{ matrix.python-version }} cache: "poetry" - - run: poetry install + - run: poetry install --only main,test - run: poetry run pytest