From eb36bd4857b31f3263cf18d4c207f042d6236b78 Mon Sep 17 00:00:00 2001 From: "Thomas A. Werne" Date: Tue, 28 Feb 2023 15:43:19 -0800 Subject: [PATCH] Config poetry to use old installer Re #143 Now playing: Apex by Mitch Murder --- .github/workflows/bandit.yml | 3 +++ .github/workflows/lint.yml | 3 +++ .github/workflows/mypy.yml | 3 +++ .github/workflows/publish.yml | 6 ++++++ .github/workflows/test.yml | 6 ++++++ 5 files changed, 21 insertions(+) diff --git a/.github/workflows/bandit.yml b/.github/workflows/bandit.yml index cb50ef41..650d3454 100644 --- a/.github/workflows/bandit.yml +++ b/.github/workflows/bandit.yml @@ -26,6 +26,9 @@ jobs: with: python-version: ${{ matrix.python-version }} cache: 'poetry' + - name: Work around poetry dep issue + continue-on-error: true + run: poetry config installer.modern-installation false - name: Install library run: poetry install --no-interaction - name: Test with tox diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 29bed97d..a55791c2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -26,6 +26,9 @@ jobs: with: python-version: ${{ matrix.python-version }} cache: 'poetry' + - name: Work around poetry dep issue + continue-on-error: true + run: poetry config installer.modern-installation false - name: Install library run: poetry install --no-interaction - name: Test with tox diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index 22b7d7ba..aac0f269 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -26,6 +26,9 @@ jobs: with: python-version: ${{ matrix.python-version }} cache: 'poetry' + - name: Work around poetry dep issue + continue-on-error: true + run: poetry config installer.modern-installation false - name: Install library run: poetry install --no-interaction - name: Test with tox diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 463021c5..79461628 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -31,6 +31,9 @@ jobs: with: python-version: '3.11.0' cache: 'poetry' + - name: Work around poetry dep issue + continue-on-error: true + run: poetry config installer.modern-installation false - name: Install library run: poetry install --no-interaction - name: Run pyinstaller @@ -62,6 +65,9 @@ jobs: with: python-version: '3.11.0' cache: 'poetry' + - name: Work around poetry dep issue + continue-on-error: true + run: poetry config installer.modern-installation false - name: Install library run: poetry install --no-interaction - name: Run pyinstaller diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2c2e2b0d..4a05a77a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,6 +34,9 @@ jobs: with: python-version: ${{ matrix.python-version }} cache: 'poetry' + - name: Work around poetry dep issue + continue-on-error: true + run: poetry config installer.modern-installation false - name: Install library run: poetry install --no-interaction --with=dev - name: Test with tox @@ -60,6 +63,9 @@ jobs: with: python-version: ${{ matrix.python-version }} cache: 'poetry' + - name: Work around poetry dep issue + continue-on-error: true + run: poetry config installer.modern-installation false - name: Make environment run: poetry env use ${{ steps.install_py.outputs.python-path }} - name: Verify version