From 46135d03cd0eb4e509b4a716adc05f89b1d3e3eb Mon Sep 17 00:00:00 2001 From: Sebastian Zumbrunn Date: Mon, 26 Jan 2026 16:32:01 +0100 Subject: [PATCH] fix stale python version issue --- .github/actions/config-poetry/config-poetry.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/actions/config-poetry/config-poetry.sh b/.github/actions/config-poetry/config-poetry.sh index 98aa7628..64b6b47a 100755 --- a/.github/actions/config-poetry/config-poetry.sh +++ b/.github/actions/config-poetry/config-poetry.sh @@ -15,6 +15,8 @@ set_build_env() { config_poetry() { jf config add repox --artifactory-url "$ARTIFACTORY_URL" --access-token "$ARTIFACTORY_ACCESS_TOKEN" jf poetry-config --server-id-resolve repox --repo-resolve "$ARTIFACTORY_PYPI_REPO" + # force poetry to use python available in the environment to avoid cached .venv to point to old python version + jf poetry env use python --build-name="$PROJECT" --build-number="$BUILD_NUMBER" jf poetry install --build-name="$PROJECT" --build-number="$BUILD_NUMBER" }