Skip to content

Commit 0aa6b15

Browse files
authored
Fix version of Poetry in CI to 1.5.1 to support Py3.7 (#354)
1 parent 31dbd02 commit 0aa6b15

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

.github/workflows/lint.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ jobs:
1717
uses: actions/setup-python@v4
1818
with:
1919
python-version: ${{ matrix.python-version }}
20-
- uses: Gr1N/setup-poetry@v8
20+
- name: Set up Poetry
21+
uses: Gr1N/setup-poetry@v8
22+
with:
23+
poetry-version: "1.5.1" # support for Python 3.7 was dropped in 1.6.0
2124
- uses: actions/cache@v2
2225
with:
2326
path: ~/.cache/pypoetry/virtualenvs

.github/workflows/publish.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v3
1616
- uses: actions/setup-python@v4
17-
- uses: Gr1N/setup-poetry@v8
17+
- name: Set up Poetry
18+
uses: Gr1N/setup-poetry@v8
19+
with:
20+
poetry-version: "1.5.1" # support for Python 3.7 was dropped in 1.6.0
1821
- name: Configure access
1922
run: |
2023
poetry config repositories.testpypi https://test.pypi.org/legacy/

.github/workflows/tests.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ jobs:
1717
uses: actions/setup-python@v4
1818
with:
1919
python-version: ${{ matrix.python-version }}
20-
- uses: Gr1N/setup-poetry@v8
20+
- name: Set up Poetry
21+
uses: Gr1N/setup-poetry@v8
22+
with:
23+
poetry-version: "1.5.1" # support for Python 3.7 was dropped in 1.6.0
2124
- uses: actions/cache@v2
2225
with:
2326
path: |

0 commit comments

Comments
 (0)