diff --git a/.github/actions/python-environment/action.yml b/.github/actions/python-environment/action.yml index 2257da93a..3a1af244f 100644 --- a/.github/actions/python-environment/action.yml +++ b/.github/actions/python-environment/action.yml @@ -35,7 +35,7 @@ runs: - name: Set up pipx if not present shell: bash run: | - python3 -m pip install --upgrade pipx + python3 -m pip install --break-system-packages --upgrade pipx python3 -m pipx ensurepath echo "$HOME/.local/bin" >> $GITHUB_PATH diff --git a/.github/actions/security-issues/action.yml b/.github/actions/security-issues/action.yml index ecfbfbd10..203872a25 100644 --- a/.github/actions/security-issues/action.yml +++ b/.github/actions/security-issues/action.yml @@ -39,7 +39,7 @@ runs: - name: Install Python Toolbox / Security tool shell: bash run: | - pip install exasol-toolbox==1.7.1 + pip install exasol-toolbox==1.7.2 - name: Create Security Issue Report shell: bash diff --git a/doc/changes/changelog.md b/doc/changes/changelog.md index 16d8a8c77..f053c5d25 100644 --- a/doc/changes/changelog.md +++ b/doc/changes/changelog.md @@ -1,6 +1,7 @@ # Changelog * [unreleased](unreleased.md) +* [1.7.2](changes_1.7.2.md) * [1.7.1](changes_1.7.1.md) * [1.7.0](changes_1.7.0.md) * [1.6.1](changes_1.6.1.md) @@ -41,6 +42,7 @@ hidden: --- unreleased +changes_1.7.2 changes_1.7.1 changes_1.7.0 changes_1.6.1 diff --git a/doc/changes/changes_1.7.2.md b/doc/changes/changes_1.7.2.md new file mode 100644 index 000000000..58f3a4d6b --- /dev/null +++ b/doc/changes/changes_1.7.2.md @@ -0,0 +1,13 @@ +# 1.7.2 - 2025-07-31 + +# Summary + +GPU runners throughout our various Python repositories were breaking due to underlying +changes in the runners. This affected the usage of the `python-environment/action`, +and it could be resolved by adding `--break-system-packages` to the `pip install` +command. The behavior then is to default to the user installation, which avoids +the global issues the GPU runners were running into. + +# Bugfix + +* Modified pip install statement to include --break-system-packages diff --git a/exasol/toolbox/templates/github/workflows/build-and-publish.yml b/exasol/toolbox/templates/github/workflows/build-and-publish.yml index a33272219..6a46ac081 100644 --- a/exasol/toolbox/templates/github/workflows/build-and-publish.yml +++ b/exasol/toolbox/templates/github/workflows/build-and-publish.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.7.1 + uses: exasol/python-toolbox/.github/actions/python-environment@1.7.2 - name: Build Artifacts run: poetry build diff --git a/exasol/toolbox/templates/github/workflows/check-release-tag.yml b/exasol/toolbox/templates/github/workflows/check-release-tag.yml index 896f0e8e8..764a91cf3 100644 --- a/exasol/toolbox/templates/github/workflows/check-release-tag.yml +++ b/exasol/toolbox/templates/github/workflows/check-release-tag.yml @@ -15,7 +15,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.7.1 + uses: exasol/python-toolbox/.github/actions/python-environment@1.7.2 - name: Check Tag Version # make sure the pushed/created tag matched the project version diff --git a/exasol/toolbox/templates/github/workflows/checks.yml b/exasol/toolbox/templates/github/workflows/checks.yml index 679eb088f..3517fe251 100644 --- a/exasol/toolbox/templates/github/workflows/checks.yml +++ b/exasol/toolbox/templates/github/workflows/checks.yml @@ -16,7 +16,7 @@ jobs: fetch-depth: 0 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.7.1 + uses: exasol/python-toolbox/.github/actions/python-environment@1.7.2 - name: Check Version(s) run: poetry run -- nox -s version:check @@ -32,7 +32,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.7.1 + uses: exasol/python-toolbox/.github/actions/python-environment@1.7.2 - name: Build Documentation run: | @@ -59,7 +59,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.7.1 + uses: exasol/python-toolbox/.github/actions/python-environment@1.7.2 - name: Run changelog update check run: poetry run -- nox -s changelog:updated @@ -78,7 +78,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.7.1 + uses: exasol/python-toolbox/.github/actions/python-environment@1.7.2 with: python-version: ${{ matrix.python-version }} @@ -109,7 +109,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.7.1 + uses: exasol/python-toolbox/.github/actions/python-environment@1.7.2 with: python-version: ${{ matrix.python-version }} @@ -131,7 +131,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.7.1 + uses: exasol/python-toolbox/.github/actions/python-environment@1.7.2 with: python-version: ${{ matrix.python-version }} @@ -155,7 +155,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.7.1 + uses: exasol/python-toolbox/.github/actions/python-environment@1.7.2 - name: Run format check run: poetry run -- nox -s project:format @@ -175,7 +175,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.7.1 + uses: exasol/python-toolbox/.github/actions/python-environment@1.7.2 with: python-version: ${{ matrix.python-version }} diff --git a/exasol/toolbox/templates/github/workflows/gh-pages.yml b/exasol/toolbox/templates/github/workflows/gh-pages.yml index 6cd3d32b8..9e600a953 100644 --- a/exasol/toolbox/templates/github/workflows/gh-pages.yml +++ b/exasol/toolbox/templates/github/workflows/gh-pages.yml @@ -17,7 +17,7 @@ jobs: fetch-depth: 0 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.7.1 + uses: exasol/python-toolbox/.github/actions/python-environment@1.7.2 - name: Build Documentation run: | diff --git a/exasol/toolbox/templates/github/workflows/matrix-all.yml b/exasol/toolbox/templates/github/workflows/matrix-all.yml index 3aee87b73..a6658cafc 100644 --- a/exasol/toolbox/templates/github/workflows/matrix-all.yml +++ b/exasol/toolbox/templates/github/workflows/matrix-all.yml @@ -17,7 +17,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.7.1 + uses: exasol/python-toolbox/.github/actions/python-environment@1.7.2 - name: Generate matrix run: poetry run -- nox -s matrix:all diff --git a/exasol/toolbox/templates/github/workflows/matrix-exasol.yml b/exasol/toolbox/templates/github/workflows/matrix-exasol.yml index 4caba3a14..4b1613674 100644 --- a/exasol/toolbox/templates/github/workflows/matrix-exasol.yml +++ b/exasol/toolbox/templates/github/workflows/matrix-exasol.yml @@ -17,7 +17,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.7.1 + uses: exasol/python-toolbox/.github/actions/python-environment@1.7.2 - name: Generate matrix run: poetry run -- nox -s matrix:exasol diff --git a/exasol/toolbox/templates/github/workflows/matrix-python.yml b/exasol/toolbox/templates/github/workflows/matrix-python.yml index 83d1f733a..6a756e2da 100644 --- a/exasol/toolbox/templates/github/workflows/matrix-python.yml +++ b/exasol/toolbox/templates/github/workflows/matrix-python.yml @@ -17,7 +17,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.7.1 + uses: exasol/python-toolbox/.github/actions/python-environment@1.7.2 - name: Generate matrix run: poetry run -- nox -s matrix:python diff --git a/exasol/toolbox/templates/github/workflows/report.yml b/exasol/toolbox/templates/github/workflows/report.yml index e29d13cf4..647b1b8a0 100644 --- a/exasol/toolbox/templates/github/workflows/report.yml +++ b/exasol/toolbox/templates/github/workflows/report.yml @@ -19,7 +19,7 @@ jobs: fetch-depth: 0 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.7.1 + uses: exasol/python-toolbox/.github/actions/python-environment@1.7.2 - name: Download Artifacts uses: actions/download-artifact@v4.2.1 diff --git a/exasol/toolbox/templates/github/workflows/slow-checks.yml b/exasol/toolbox/templates/github/workflows/slow-checks.yml index 8fc08b793..bc8862922 100644 --- a/exasol/toolbox/templates/github/workflows/slow-checks.yml +++ b/exasol/toolbox/templates/github/workflows/slow-checks.yml @@ -32,7 +32,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Python & Poetry Environment - uses: exasol/python-toolbox/.github/actions/python-environment@1.7.1 + uses: exasol/python-toolbox/.github/actions/python-environment@1.7.2 with: python-version: ${{ matrix.python-version }} diff --git a/exasol/toolbox/version.py b/exasol/toolbox/version.py index 2bf0a3b1c..405973fc1 100644 --- a/exasol/toolbox/version.py +++ b/exasol/toolbox/version.py @@ -10,6 +10,6 @@ MAJOR = 1 MINOR = 7 -PATCH = 1 +PATCH = 2 VERSION = f"{MAJOR}.{MINOR}.{PATCH}" __version__ = VERSION diff --git a/pyproject.toml b/pyproject.toml index d5c75c533..9484fce77 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "exasol-toolbox" -version = "1.7.1" +version = "1.7.2" requires-python = ">=3.9,<4.0" description = "Your one-stop solution for managing all standard tasks and core workflows of your Python project." authors = [