Skip to content

Commit 639a3ad

Browse files
committed
fix(ci): force pipx install poetry
Otherwise poetry is not set to the desired version. Signed-off-by: Fatih Acar <[email protected]>
1 parent a141de5 commit 639a3ad

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ jobs:
178178

179179
- name: "Setup Python environment"
180180
run: |
181-
pipx install poetry==${{ needs.prepare-environment.outputs.POETRY_VERSION }}
181+
pipx install -f poetry==${{ needs.prepare-environment.outputs.POETRY_VERSION }}
182182
poetry config virtualenvs.create true --local
183183
poetry env use 3.12
184184
@@ -524,7 +524,7 @@ jobs:
524524
python-version: 3.12
525525
- name: "Setup environment"
526526
run: |
527-
pipx install poetry==${{ needs.prepare-environment.outputs.POETRY_VERSION }}
527+
pipx install -f poetry==${{ needs.prepare-environment.outputs.POETRY_VERSION }}
528528
poetry config virtualenvs.create true --local
529529
poetry env use 3.12
530530
pip install invoke toml
@@ -641,7 +641,7 @@ jobs:
641641
python-version: "3.12"
642642
- name: "Setup Python environment"
643643
run: |
644-
pipx install poetry==${{ needs.prepare-environment.outputs.POETRY_VERSION }}
644+
pipx install -f poetry==${{ needs.prepare-environment.outputs.POETRY_VERSION }}
645645
poetry config virtualenvs.create true --local
646646
poetry env use 3.12
647647
- name: "Install dependencies"

.github/workflows/poetry-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
python-version: "3.12"
2626
- name: "Setup environment"
2727
run: |
28-
pipx install poetry==${{ needs.prepare-environment.outputs.POETRY_VERSION }}
28+
pipx install -f poetry==${{ needs.prepare-environment.outputs.POETRY_VERSION }}
2929
- name: "Validate pyproject.toml and consistency with poetry.lock"
3030
run: |
3131
poetry check

.github/workflows/update-compose-file-and-chart.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
python-version: 3.12
4242
- name: "Setup environment"
4343
run: |
44-
pipx install poetry==${{ needs.prepare-environment.outputs.POETRY_VERSION }}
44+
pipx install -f poetry==${{ needs.prepare-environment.outputs.POETRY_VERSION }}
4545
poetry config virtualenvs.create true --local
4646
- name: "Install Package"
4747
run: "poetry install --all-extras"

.github/workflows/version-upgrade.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
python-version: 3.12
5656
- name: "Setup python environment"
5757
run: |
58-
pipx install poetry==${{ env.POETRY_VERSION }}
58+
pipx install -f poetry==${{ env.POETRY_VERSION }}
5959
poetry config virtualenvs.create true --local
6060
pip install invoke toml
6161
- name: "Install Package"

0 commit comments

Comments
 (0)