We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3ad78b commit ea22ce3Copy full SHA for ea22ce3
1 file changed
.github/workflows/integration.yml
@@ -27,7 +27,14 @@ jobs:
27
28
- name: Install poetry
29
run: |
30
- [[ "${{ matrix.python-version }}" < "3.9" ]] && pipx install "poetry==1.8.5" || pipx install poetry
+ IFS=. read -r major minor <<< "${{ matrix.python-version }}"
31
+ if [ "$major" -eq 3 ] && [ "$minor" -lt 9 ]; then
32
+ echo "Installing Poetry 1.x for Python ${{ matrix.python-version }}"
33
+ pipx install "poetry==1.8.5"
34
+ else
35
+ echo "Installing latest Poetry for Python ${{ matrix.python-version }}"
36
+ pipx install poetry
37
+ fi
38
39
- name: Setup Python
40
uses: actions/setup-python@v5
0 commit comments