Skip to content

Commit

Permalink
GH actions: Don't use Poetry >=v2
Browse files Browse the repository at this point in the history
Poetry v2 drops support for Python v3.8 which we are still using.
  • Loading branch information
jherland committed Jan 28, 2025
1 parent fda200d commit 8bb16b1
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- uses: Gr1N/setup-poetry@v8
with:
poetry-version: "<2"
- uses: actions/cache@v2
with:
path: ~/.cache/pypoetry/virtualenvs
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Set up Poetry
uses: Gr1N/setup-poetry@v8
with:
poetry-version: "<2"
- uses: actions/cache@v2
with:
path: ~/.cache/pypoetry/virtualenvs
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
- uses: actions/setup-python@v4
- name: Set up Poetry
uses: Gr1N/setup-poetry@v8
with:
poetry-version: "<2"
- name: Configure access
run: |
poetry config repositories.testpypi https://test.pypi.org/legacy/
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/self_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Set up Poetry
uses: Gr1N/setup-poetry@v8
with:
poetry-version: "<2"
- uses: actions/cache@v2
with:
path: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Set up Poetry
uses: Gr1N/setup-poetry@v8
with:
poetry-version: "<2"
- uses: actions/cache@v2
with:
path: |
Expand Down

0 comments on commit 8bb16b1

Please sign in to comment.