Skip to content

Commit 27fa180

Browse files
authored
Refactoring/681 update to ptb 4.0.0 (#683)
* Update to PTB 4.0.0
1 parent 6d0318f commit 27fa180

File tree

16 files changed

+50
-49
lines changed

16 files changed

+50
-49
lines changed

.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@v5
1919

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

2323
- name: Build Artifacts
2424
run: poetry build

.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@v5
1616

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

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

.github/workflows/checks.yml

Lines changed: 11 additions & 13 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/python-environment@v3
19+
uses: exasol/python-toolbox/.github/actions/python-environment@v4
2020

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

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

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

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

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

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

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

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

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

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

@@ -155,10 +155,10 @@ jobs:
155155
uses: actions/checkout@v5
156156

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

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

163163
Build-Packages:
164164
name: Build Package Check
@@ -171,7 +171,7 @@ jobs:
171171
uses: actions/checkout@v5
172172

173173
- name: Setup Python & Poetry Environment
174-
uses: exasol/python-toolbox/.github/actions/python-environment@v3
174+
uses: exasol/python-toolbox/.github/actions/python-environment@v4
175175

176176
- name: Run Distribution Check
177177
run: poetry run -- nox -s package:check
@@ -191,14 +191,12 @@ jobs:
191191
uses: actions/checkout@v5
192192

193193
- name: Setup Python & Poetry Environment
194-
uses: exasol/python-toolbox/.github/actions/python-environment@v3
194+
uses: exasol/python-toolbox/.github/actions/python-environment@v4
195195
with:
196196
python-version: ${{ matrix.python-version }}
197197

198198
- name: Run Tests and Collect Coverage
199-
run: |
200-
export SQLALCHEMY_WARN_20=1
201-
poetry run -- nox -s test:unit -- --coverage
199+
run: poetry run -- nox -s test:unit -- --coverage
202200

203201
- name: Upload Artifacts
204202
uses: actions/upload-artifact@v5

.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/python-environment@v3
20+
uses: exasol/python-toolbox/.github/actions/python-environment@v4
2121

2222
- name: Build Documentation
2323
run: |

.github/workflows/matrix-all.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/checkout@v5
1818

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

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

.github/workflows/matrix-exasol.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/checkout@v5
1818

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

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

.github/workflows/matrix-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/checkout@v5
1818

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

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

.github/workflows/report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fetch-depth: 0
2020

2121
- name: Setup Python & Poetry Environment
22-
uses: exasol/python-toolbox/.github/actions/python-environment@v3
22+
uses: exasol/python-toolbox/.github/actions/python-environment@v4
2323

2424
- name: Download Artifacts
2525
uses: actions/download-artifact@v6

.github/workflows/slow-checks.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,15 @@ jobs:
2727
uses: actions/checkout@v5
2828

2929
- name: Setup Python & Poetry Environment
30-
uses: exasol/python-toolbox/.github/actions/python-environment@v3
30+
uses: exasol/python-toolbox/.github/actions/python-environment@v4
3131
with:
3232
python-version: ${{ matrix.python-version }}
3333

3434
- name: Start test db
3535
run: poetry run -- nox -s db:start -- --db-version ${{ matrix.exasol-version }}
3636

3737
- name: Run Tests and Collect Coverage
38-
run: |
39-
export SQLALCHEMY_WARN_20=1
40-
poetry run -- nox -s test:${{ matrix.integration-group }}
38+
run: poetry run -- nox -s test:${{ matrix.integration-group }}
4139

4240
- name: Upload Artifacts
4341
uses: actions/upload-artifact@v5

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repos:
88
types: [ python ]
99
pass_filenames: false
1010
language: system
11-
entry: poetry run -- nox -s project:fix
11+
entry: poetry run -- nox -s format:fix
1212
stages: [ pre-commit ]
1313

1414
- repo: local
@@ -39,4 +39,4 @@ repos:
3939
- id: end-of-file-fixer
4040
stages: [ pre-commit ]
4141
- id: trailing-whitespace
42-
stages: [ pre-commit ]
42+
stages: [ pre-commit ]

0 commit comments

Comments
 (0)