From aeab7ed085b1a026e76774f77dd9626ff745d4b8 Mon Sep 17 00:00:00 2001 From: Eero af Heurlin Date: Sun, 25 Jan 2026 14:21:09 +0200 Subject: [PATCH] fix: use python3 explicitly --- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 35c2114..3e30e33 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ jobs: python-version: "3.11" # TODO: the current pylint version fails on py3.12 - name: Install dependencies run: | - python -m pip install --upgrade pip + python3 -m pip install --upgrade pip pip install poetry poetry install - name: Do pre-commit checks (black, lint, mypy) @@ -46,7 +46,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - python -m pip install --upgrade pip + python3 -m pip install --upgrade pip pip install poetry poetry install - name: Test with pytest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e567d61..d04c749 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: uses: actions/checkout@v5 - name: Install dependencies run: | - python -m pip install --upgrade pip + python3 -m pip install --upgrade pip pip install poetry - name: Parse tag to ENV run: | @@ -39,7 +39,7 @@ jobs: python-version: 3.11 - name: Install dependencies run: | - python -m pip install --upgrade pip + python3 -m pip install --upgrade pip pip install poetry twine - name: build dist run: |