From 04489f52cad05a8009450c071f6ff15336933134 Mon Sep 17 00:00:00 2001 From: Jason Kai Date: Fri, 31 Mar 2023 14:36:03 -0400 Subject: [PATCH] Set modern-installation config option to false As of Poetry v1.4.1, packages were required to use modern installation (see: https://github.com/python-poetry/poetry/issues/7686). This is potentially problematic when relying on older versions of packages and for packages who are still using non-modern installers. This commit adds an additional step to disable that modern-installation requirement, which should get the workflow working again. --- .github/workflows/python-testing.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/python-testing.yml b/.github/workflows/python-testing.yml index d248cbf7..923600ce 100644 --- a/.github/workflows/python-testing.yml +++ b/.github/workflows/python-testing.yml @@ -38,6 +38,13 @@ jobs: virtualenvs-create: true virtualenvs-in-project: true #---------------------------------------------- + # ----- disable poetry modern installer ----- + - name: Disable Poetry modern-installation + uses: snok/install-poetry@v1 + run: | + poetry config installer.modern-installation false + #---------------------------------------------- + #---------------------------------------------- # load cached venv if cache exists #---------------------------------------------- - name: Load cached venv