Skip to content

Commit 2081d46

Browse files
authored
#320: Updated poetry dependencies and Github workflows by PTB 1.12.0. (#321)
fixes #320
1 parent 4d29c87 commit 2081d46

File tree

18 files changed

+3065
-2179
lines changed

18 files changed

+3065
-2179
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
contents: write
1616
steps:
1717
- name: SCM Checkout
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v5
1919

2020
- name: Setup Python & Poetry Environment
21-
uses: exasol/python-toolbox/.github/actions/python-environment@1.7.4
21+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
2222

2323
- name: Build Artifacts
2424
run: poetry build

.github/workflows/cd.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
tags:
66
- '**'
7+
- '!v*'
78

89
jobs:
910

@@ -14,6 +15,7 @@ jobs:
1415
contents: read
1516

1617
cd-job:
18+
needs: [ check-tag-version-job ]
1719
name: Continuous Delivery
1820
uses: ./.github/workflows/build-and-publish.yml
1921
permissions:
@@ -29,4 +31,3 @@ jobs:
2931
contents: read
3032
pages: write
3133
id-token: write
32-

.github/workflows/check-release-tag.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
contents: read
1313
steps:
1414
- name: SCM Checkout
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v5
1616

1717
- name: Setup Python & Poetry Environment
18-
uses: exasol/python-toolbox/.github/actions/python-environment@1.7.4
18+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
1919

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

.github/workflows/checks.yml

Lines changed: 38 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
contents: read
1212
steps:
1313
- name: SCM Checkout
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v5
1515
with:
1616
fetch-depth: 0
1717

1818
- name: Setup Python & Poetry Environment
19-
uses: exasol/python-toolbox/.github/actions/python-environment@1.7.4
19+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
2020

2121
- name: Check Version(s)
2222
run: poetry run -- nox -s version:check
@@ -29,10 +29,10 @@ jobs:
2929
contents: read
3030
steps:
3131
- name: SCM Checkout
32-
uses: actions/checkout@v4
32+
uses: actions/checkout@v5
3333

3434
- name: Setup Python & Poetry Environment
35-
uses: exasol/python-toolbox/.github/actions/python-environment@1.7.4
35+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
3636

3737
- name: Build Documentation
3838
run: |
@@ -56,10 +56,10 @@ jobs:
5656
if: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/master' }}
5757
steps:
5858
- name: SCM Checkout
59-
uses: actions/checkout@v4
59+
uses: actions/checkout@v5
6060

6161
- name: Setup Python & Poetry Environment
62-
uses: exasol/python-toolbox/.github/actions/python-environment@1.7.4
62+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
6363

6464
- name: Run changelog update check
6565
run: poetry run -- nox -s changelog:updated
@@ -75,18 +75,18 @@ jobs:
7575
matrix: ${{ fromJson(needs.build-matrix.outputs.matrix) }}
7676
steps:
7777
- name: SCM Checkout
78-
uses: actions/checkout@v4
78+
uses: actions/checkout@v5
7979

8080
- name: Setup Python & Poetry Environment
81-
uses: exasol/python-toolbox/.github/actions/python-environment@1.7.4
81+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
8282
with:
8383
python-version: ${{ matrix.python-version }}
8484

8585
- name: Run lint
8686
run: poetry run -- nox -s lint:code
8787

8888
- name: Upload Artifacts
89-
uses: actions/upload-artifact@v4.6.2
89+
uses: actions/upload-artifact@v5
9090
with:
9191
name: lint-python${{ matrix.python-version }}
9292
path: |
@@ -106,10 +106,10 @@ jobs:
106106

107107
steps:
108108
- name: SCM Checkout
109-
uses: actions/checkout@v4
109+
uses: actions/checkout@v5
110110

111111
- name: Setup Python & Poetry Environment
112-
uses: exasol/python-toolbox/.github/actions/python-environment@1.7.4
112+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
113113
with:
114114
python-version: ${{ matrix.python-version }}
115115

@@ -128,18 +128,18 @@ jobs:
128128

129129
steps:
130130
- name: SCM Checkout
131-
uses: actions/checkout@v4
131+
uses: actions/checkout@v5
132132

133133
- name: Setup Python & Poetry Environment
134-
uses: exasol/python-toolbox/.github/actions/python-environment@1.7.4
134+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
135135
with:
136136
python-version: ${{ matrix.python-version }}
137137

138138
- name: Run security linter
139139
run: poetry run -- nox -s lint:security
140140

141141
- name: Upload Artifacts
142-
uses: actions/upload-artifact@v4.6.2
142+
uses: actions/upload-artifact@v5
143143
with:
144144
name: security-python${{ matrix.python-version }}
145145
path: .security.json
@@ -152,40 +152,54 @@ jobs:
152152
contents: read
153153
steps:
154154
- name: SCM Checkout
155-
uses: actions/checkout@v4
155+
uses: actions/checkout@v5
156156

157157
- name: Setup Python & Poetry Environment
158-
uses: exasol/python-toolbox/.github/actions/python-environment@1.7.4
158+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
159159

160160
- name: Run format check
161161
run: poetry run -- nox -s project:format
162162

163+
Build-Packages:
164+
name: Build Package Check
165+
needs: [ Documentation, Lint, Type-Check, Security, Format ]
166+
runs-on: ubuntu-24.04
167+
permissions:
168+
contents: read
169+
steps:
170+
- name: SCM Checkout
171+
uses: actions/checkout@v5
172+
173+
- name: Setup Python & Poetry Environment
174+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
175+
176+
- name: Run Distribution Check
177+
run: poetry run -- nox -s package:check
178+
163179
Tests:
164180
name: Unit-Tests (Python-${{ matrix.python-version }})
165-
needs: [ Documentation, Lint, Type-Check, Security, Format, build-matrix ]
181+
needs: [ Build-Packages, build-matrix ]
166182
runs-on: ubuntu-24.04
167183
permissions:
168184
contents: read
169-
env:
170-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
171185
strategy:
172186
fail-fast: false
173187
matrix: ${{ fromJson(needs.build-matrix.outputs.matrix) }}
174188

175189
steps:
176190
- name: SCM Checkout
177-
uses: actions/checkout@v4
191+
uses: actions/checkout@v5
178192

179193
- name: Setup Python & Poetry Environment
180-
uses: exasol/python-toolbox/.github/actions/python-environment@1.7.4
194+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
181195
with:
182196
python-version: ${{ matrix.python-version }}
183197

184198
- name: Run Tests and Collect Coverage
185199
run: poetry run -- nox -s test:unit -- --coverage
186200

187201
- name: Upload Artifacts
188-
uses: actions/upload-artifact@v4.6.2
202+
uses: actions/upload-artifact@v5
189203
with:
190204
name: coverage-python${{ matrix.python-version }}-fast
191205
path: .coverage
@@ -202,10 +216,10 @@ jobs:
202216
runs-on: ubuntu-24.04
203217
steps:
204218

205-
- uses: actions/checkout@v4
219+
- uses: actions/checkout@v5
206220

207221
- name: Setup Python & Poetry Environment
208-
uses: exasol/python-toolbox/.github/actions/python-environment@1.7.4
222+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
209223
with:
210224
python-version: ${{ matrix.python-version }}
211225

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
contents: read
1313
steps:
1414
- name: SCM Checkout
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v5
1616
with:
1717
fetch-depth: 0
1818

1919
- name: Setup Python & Poetry Environment
20-
uses: exasol/python-toolbox/.github/actions/python-environment@1.7.4
20+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
2121

2222
- name: Build Documentation
2323
run: |

.github/workflows/gpu-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
contents: read
1212

1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v5
1515

1616
- name: Setup Python & Poetry Environment
17-
uses: exasol/python-toolbox/.github/actions/python-environment@1.7.4
17+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
1818

1919
- id: set-matrix
2020
run: |
@@ -37,10 +37,10 @@ jobs:
3737
labels: int-linux-x64-4core-gpu-t4-ubuntu24.04-1
3838
name: GPU Test
3939
steps:
40-
- uses: actions/checkout@v4
40+
- uses: actions/checkout@v5
4141

4242
- name: Setup Python & Poetry Environment
43-
uses: exasol/python-toolbox/.github/actions/python-environment@1.7.4
43+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
4444
with:
4545
python-version: '${{ matrix.python_version }}'
4646
use-cache: 'false'

.github/workflows/integration-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
contents: read
1616

1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v5
1919

2020
- name: Setup Python & Poetry Environment
21-
uses: exasol/python-toolbox/.github/actions/python-environment@1.7.4
21+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
2222

2323
- id: set-matrix
2424
run: |
@@ -40,10 +40,10 @@ jobs:
4040
runs-on: ubuntu-24.04
4141
name: ${{ matrix.test-path.name }}
4242
steps:
43-
- uses: actions/checkout@v4
43+
- uses: actions/checkout@v5
4444

4545
- name: Setup Python & Poetry Environment
46-
uses: exasol/python-toolbox/.github/actions/python-environment@1.7.4
46+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
4747
with:
4848
python-version: '${{ matrix.python_version }}'
4949

.github/workflows/matrix-all.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/matrix-exasol.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/matrix-python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
contents: read
1515
steps:
1616
- name: SCM Checkout
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v5
1818

1919
- name: Setup Python & Poetry Environment
20-
uses: exasol/python-toolbox/.github/actions/python-environment@1.7.4
20+
uses: exasol/python-toolbox/.github/actions/python-environment@v1
2121

2222
- name: Generate matrix
2323
run: poetry run -- nox -s matrix:python

0 commit comments

Comments
 (0)