Skip to content

Commit 3fc89aa

Browse files
committed
Prepare release 2.0.0
1 parent c94af48 commit 3fc89aa

File tree

15 files changed

+53
-41
lines changed

15 files changed

+53
-41
lines changed

.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.13.0
42+
pip install exasol-toolbox==2.0.0
4343
4444
- name: Create Security Issue Report
4545
shell: bash

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_2.0.0.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# 2.0.0 - 2025-11-04
2+
3+
With this release, all projects using the PTB must use has their project `Config` inherit
4+
from `BaseConfig` (introduced in [1.10.0](https://exasol.github.io/python-toolbox/main/changes/changes_1.10.0.html)). Otherwise, the workflows using these
5+
attributes will raise an exception indicating that this action is needed.
6+
7+
As Python 3.9 reached its EOL on 2025-10-31, the PTB no longer supports Python 3.9,
8+
and it has added support for 3.14. For project's that were still using Python 3.9,
9+
it is anticipated that there will be larger formatting change due to the arguments
10+
to `pyupgrade` changing.
11+
12+
## Refactoring
13+
14+
* #590:
15+
* Dropped support for Python 3.9 and added support for Python 3.14
16+
* Enforced that the `PROJECT_CONFIG` defined in `noxconfig.py` must be derived from `BaseConfig`.
17+
* Replaced `MINIMUM_PYTHON_VERSION` which acted as a back-up value for the nox session `artifacts:copy`
18+
with `BaseConfig.minimum_python_version_`
19+
* Replaced `_PYTHON_VERSIONS` which acted as a back-up value for the nox sessions `matrix:python` and `matrix:all`
20+
with `BaseConfig.python_versions_`
21+
* Replaced `__EXASOL_VERSIONS` which acted as a back-up value for the nox sessions `matrix:exasol` and `matrix:all`
22+
with `BaseConfig.python_versions_`
23+
* Moved `pyupgrade_args` from being defined per PROJECT_CONFIG to a calculated property
24+
`BaseConfig.pyupgrade_argument_`
25+
26+
## Dependency Updates
27+
28+
### `main`
29+
* Updated dependency `pysonar:1.2.0.2419` to `1.2.1.3951`
30+
* Updated dependency `shibuya:2025.10.21` to `2025.11.4`

doc/changes/unreleased.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1 @@
11
# Unreleased
2-
3-
With this release, all projects using the PTB must use the `BaseConfig` introduced
4-
in [1.10.0](https://exasol.github.io/python-toolbox/main/changes/changes_1.10.0.html).
5-
6-
As Python 3.9 reached its EOL on 2025-10-31, the PTB no longer supports Python 3.9,
7-
and it has added support for 3.14.
8-
9-
## Refactoring
10-
11-
* #590:
12-
* Dropped support for Python 3.9 and added support for Python 3.14
13-
* Enforced that the `PROJECT_CONFIG` defined in `noxconfig.py` must be derived from `BaseConfig`.
14-
* Replaced `MINIMUM_PYTHON_VERSION` which acted as a back-up value for the nox session `artifacts:copy`
15-
with `BaseConfig.minimum_python_version_`
16-
* Replaced `_PYTHON_VERSIONS` which acted as a back-up value for the nox sessions `matrix:python` and `matrix:all`
17-
with `BaseConfig.python_versions_`
18-
* Replaced `__EXASOL_VERSIONS` which acted as a back-up value for the nox sessions `matrix:exasol` and `matrix:all`
19-
with `BaseConfig.python_versions_`
20-
* Moved `pyupgrade_args` from being defined per PROJECT_CONFIG to a calculated property
21-
`BaseConfig.pyupgrade_argument_`

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

2020
- name: Setup Python & Poetry Environment
21-
uses: exasol/python-toolbox/.github/actions/python-environment@v1
21+
uses: exasol/python-toolbox/.github/actions/python-environment@v2
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@v5
1616

1717
- name: Setup Python & Poetry Environment
18-
uses: exasol/python-toolbox/.github/actions/python-environment@v1
18+
uses: exasol/python-toolbox/.github/actions/python-environment@v2
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: 9 additions & 9 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@v1
19+
uses: exasol/python-toolbox/.github/actions/python-environment@v2
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@v1
35+
uses: exasol/python-toolbox/.github/actions/python-environment@v2
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@v1
62+
uses: exasol/python-toolbox/.github/actions/python-environment@v2
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@v1
81+
uses: exasol/python-toolbox/.github/actions/python-environment@v2
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@v1
112+
uses: exasol/python-toolbox/.github/actions/python-environment@v2
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@v1
134+
uses: exasol/python-toolbox/.github/actions/python-environment@v2
135135
with:
136136
python-version: ${{ matrix.python-version }}
137137

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

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

160160
- name: Run format check
161161
run: poetry run -- nox -s project:format
@@ -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@v1
174+
uses: exasol/python-toolbox/.github/actions/python-environment@v2
175175

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

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

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

2222
- name: Build Documentation
2323
run: |

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

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

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

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

0 commit comments

Comments
 (0)