Skip to content

Commit

Permalink
Config poetry to use old installer
Browse files Browse the repository at this point in the history
Re #143

Now playing:
Apex by Mitch Murder
  • Loading branch information
werneta committed Feb 28, 2023
1 parent 41218c2 commit eb36bd4
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/bandit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit eb36bd4

Please sign in to comment.