Skip to content

Commit

Permalink
Set modern-installation config option to false
Browse files Browse the repository at this point in the history
As of Poetry v1.4.1, packages were required to use modern installation (see: python-poetry/poetry#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.
  • Loading branch information
kaitj committed Mar 31, 2023
1 parent fc7f725 commit 9383f4f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/python-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ jobs:
with:
virtualenvs-create: true
virtualenvs-in-project: true
- name: Disable Poetry modern installation
run: |
poetry config installer.modern-installation false
#----------------------------------------------
#----------------------------------------------
# load cached venv if cache exists
#----------------------------------------------
Expand Down Expand Up @@ -97,6 +101,9 @@ jobs:
with:
virtualenvs-create: true
virtualenvs-in-project: true
- name: Disable Poetry modern installation
run: |
poetry config installer.modern-installation false
#----------------------------------------------
# load cached venv if cache exists
#----------------------------------------------
Expand Down

0 comments on commit 9383f4f

Please sign in to comment.