Skip to content

Commit 997be54

Browse files
ckunkitkiliastomuben
authored
#523: Fixed pipx installation for older versions of pip (#524)
* #523: Fixed pipx installation for older versions of pip * #525: Added tests for installing pipx on different GitHub runners * Prepare release 1.7.3 Co-authored-by: Torsten Kilias <[email protected]> Co-authored-by: Thomas Ubensee <[email protected]>
1 parent 34fc607 commit 997be54

File tree

17 files changed

+57
-20
lines changed

17 files changed

+57
-20
lines changed

.github/actions/python-environment/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ runs:
3535
- name: Set up pipx if not present
3636
shell: bash
3737
run: |
38-
python3 -m pip install --break-system-packages --upgrade pipx
38+
sudo apt update && sudo apt install -y pipx
3939
python3 -m pipx ensurepath
4040
echo "$HOME/.local/bin" >> $GITHUB_PATH
4141

.github/actions/security-issues/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ runs:
3939
- name: Install Python Toolbox / Security tool
4040
shell: bash
4141
run: |
42-
pip install exasol-toolbox==1.7.2
42+
pip install exasol-toolbox==1.7.3
4343
4444
- name: Create Security Issue Report
4545
shell: bash

.github/workflows/slow-checks.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,30 @@ jobs:
4545
name: coverage-python${{ matrix.python-version }}-slow
4646
path: .coverage
4747
include-hidden-files: true
48+
49+
50+
Verify-Poetry-Installation:
51+
# This Job verifies if pipx installation is successful on each of the
52+
# selected GitHub Runners.
53+
strategy:
54+
fail-fast: false
55+
matrix:
56+
runner:
57+
- ubuntu-24.04
58+
- ubuntu-22.04
59+
- int-linux-x64-4core-gpu-t4-ubuntu24.04-1
60+
- int-linux-x64-4core-ubuntu24.04-1
61+
- int-linux-x64-2core-ubuntu24.04-1
62+
name: Install Pipx on ${{ matrix.runner }}
63+
runs-on:
64+
labels: ${{ matrix.runner }}
65+
66+
steps:
67+
- name: SCM Checkout
68+
uses: actions/checkout@v4
69+
70+
- name: Setup Python & Poetry Environment
71+
uses: ./.github/actions/python-environment
72+
73+
- name: Poetry version
74+
run: poetry --version

doc/changes/changelog.md

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/changes/changes_1.7.3.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# 1.7.3 - 2025-08-04
2+
## Bugfixes
3+
4+
* #523: Fixed `pipx` installation for older versions of `pip`

doc/changes/unreleased.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
# Unreleased
2+
3+
## Refactorings
4+
5+
* #525: Added tests for installing `pipx` on different GitHub runners

exasol/toolbox/templates/github/workflows/build-and-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/checkout@v4
1919

2020
- name: Setup Python & Poetry Environment
21-
uses: exasol/python-toolbox/.github/actions/[email protected].2
21+
uses: exasol/python-toolbox/.github/actions/[email protected].3
2222

2323
- name: Build Artifacts
2424
run: poetry build

exasol/toolbox/templates/github/workflows/check-release-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
uses: actions/checkout@v4
1616

1717
- name: Setup Python & Poetry Environment
18-
uses: exasol/python-toolbox/.github/actions/[email protected].2
18+
uses: exasol/python-toolbox/.github/actions/[email protected].3
1919

2020
- name: Check Tag Version
2121
# make sure the pushed/created tag matched the project version

exasol/toolbox/templates/github/workflows/checks.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fetch-depth: 0
1717

1818
- name: Setup Python & Poetry Environment
19-
uses: exasol/python-toolbox/.github/actions/[email protected].2
19+
uses: exasol/python-toolbox/.github/actions/[email protected].3
2020

2121
- name: Check Version(s)
2222
run: poetry run -- nox -s version:check
@@ -32,7 +32,7 @@ jobs:
3232
uses: actions/checkout@v4
3333

3434
- name: Setup Python & Poetry Environment
35-
uses: exasol/python-toolbox/.github/actions/[email protected].2
35+
uses: exasol/python-toolbox/.github/actions/[email protected].3
3636

3737
- name: Build Documentation
3838
run: |
@@ -59,7 +59,7 @@ jobs:
5959
uses: actions/checkout@v4
6060

6161
- name: Setup Python & Poetry Environment
62-
uses: exasol/python-toolbox/.github/actions/[email protected].2
62+
uses: exasol/python-toolbox/.github/actions/[email protected].3
6363

6464
- name: Run changelog update check
6565
run: poetry run -- nox -s changelog:updated
@@ -78,7 +78,7 @@ jobs:
7878
uses: actions/checkout@v4
7979

8080
- name: Setup Python & Poetry Environment
81-
uses: exasol/python-toolbox/.github/actions/[email protected].2
81+
uses: exasol/python-toolbox/.github/actions/[email protected].3
8282
with:
8383
python-version: ${{ matrix.python-version }}
8484

@@ -109,7 +109,7 @@ jobs:
109109
uses: actions/checkout@v4
110110

111111
- name: Setup Python & Poetry Environment
112-
uses: exasol/python-toolbox/.github/actions/[email protected].2
112+
uses: exasol/python-toolbox/.github/actions/[email protected].3
113113
with:
114114
python-version: ${{ matrix.python-version }}
115115

@@ -131,7 +131,7 @@ jobs:
131131
uses: actions/checkout@v4
132132

133133
- name: Setup Python & Poetry Environment
134-
uses: exasol/python-toolbox/.github/actions/[email protected].2
134+
uses: exasol/python-toolbox/.github/actions/[email protected].3
135135
with:
136136
python-version: ${{ matrix.python-version }}
137137

@@ -155,7 +155,7 @@ jobs:
155155
uses: actions/checkout@v4
156156

157157
- name: Setup Python & Poetry Environment
158-
uses: exasol/python-toolbox/.github/actions/[email protected].2
158+
uses: exasol/python-toolbox/.github/actions/[email protected].3
159159

160160
- name: Run format check
161161
run: poetry run -- nox -s project:format
@@ -175,7 +175,7 @@ jobs:
175175
uses: actions/checkout@v4
176176

177177
- name: Setup Python & Poetry Environment
178-
uses: exasol/python-toolbox/.github/actions/[email protected].2
178+
uses: exasol/python-toolbox/.github/actions/[email protected].3
179179
with:
180180
python-version: ${{ matrix.python-version }}
181181

exasol/toolbox/templates/github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fetch-depth: 0
1818

1919
- name: Setup Python & Poetry Environment
20-
uses: exasol/python-toolbox/.github/actions/[email protected].2
20+
uses: exasol/python-toolbox/.github/actions/[email protected].3
2121

2222
- name: Build Documentation
2323
run: |

0 commit comments

Comments
 (0)