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 authored Mar 31, 2023
1 parent fc7f725 commit 04489f5
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 @@ -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
Expand Down

0 comments on commit 04489f5

Please sign in to comment.