Skip to content

Commit b697249

Browse files
authored
Prepare release 1.3.0 (#455)
* Prepare release 1.3.0 * Relock dependencies for release * Fix github action to use space-separated for extras as poetry 2.x expects
1 parent 65069f1 commit b697249

File tree

17 files changed

+202
-171
lines changed

17 files changed

+202
-171
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ inputs:
1919
default: "."
2020

2121
extras:
22-
description: 'Comma-separated list of extras'
22+
description: 'Space-separated list of extras'
2323
required: false
2424

2525
use-cache:
@@ -53,7 +53,6 @@ runs:
5353
working-directory: ${{ inputs.working-directory }}
5454
shell: bash
5555
run: |
56-
EXTRAS=$(echo "${{ inputs.extras }}" | tr -d ' ')
5756
if [[ -n "$EXTRAS" ]]; then
5857
poetry install --extras "$EXTRAS"
5958
else

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

doc/changes/changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Changelog
22

33
* [unreleased](unreleased.md)
4+
* [1.3.0](changes_1.3.0.md)
45
* [1.2.0](changes_1.2.0.md)
56
* [1.1.0](changes_1.1.0.md)
67
* [1.0.1](changes_1.0.1.md)
@@ -34,6 +35,7 @@
3435
hidden:
3536
---
3637
unreleased
38+
changes_1.3.0
3739
changes_1.2.0
3840
changes_1.1.0
3941
changes_1.0.1

doc/changes/changes_1.3.0.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# 1.3.0 - 2025-06-02
2+
3+
## Summary
4+
5+
This version of the PTB updates nox task `version:check`, see #441.
6+
This requires file `noxconfig.py` of each project to specify the path to `version.py` in `Config.version_file`.
7+
8+
With this version of the PTB you can customize the arguments for `pyupgrade` in file `noxconfig.py`, see ticket #449 for details:
9+
```python
10+
pyupgrade_args = ("--py310-plus",)
11+
```
12+
13+
## 📚 Documentation
14+
* Updated getting_started.rst for allowing tag-based releases
15+
16+
## ✨ Features
17+
18+
* [#441](https://github.com/exasol/python-toolbox/issues/441): Switched nox task for `version:check` to use the config value of `version_file` to specify the location of the `version.py`
19+
20+
## 🐞 Bug Fixes
21+
* Updated `python-environment` action to use space-separated values for extras
22+
23+
24+
## ⚒️ Refactorings
25+
26+
* [#449](https://github.com/exasol/python-toolbox/issues/449): Refactored `dependency:licenses`:
27+
* to use pydantic models & `poetry show` for dependencies
28+
* to updated reading the `pyproject.toml` to be compatible with poetry 2.x+
29+
30+
## 🔩 Internal
31+
32+
* Relocked dependencies

doc/changes/unreleased.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1 @@
11
# Unreleased
2-
3-
## Summary
4-
5-
With #441, please ensure that the location of the `version.py` is given for `Config.version_file`,
6-
which is specified in the `noxconfig.py`
7-
8-
With #449, it's possible to customize what arguments are being using with `pyupgrade`
9-
via the `noxconfig.Config`:
10-
```python
11-
pyupgrade_args = ("--py310-plus",)
12-
```
13-
14-
## 📚 Documentation
15-
* Updated getting_started.rst for allowing tag-based releases
16-
17-
## ✨ Features
18-
19-
* [#441](https://github.com/exasol/python-toolbox/issues/441): Switched nox task for `version:check` to use the config value of `version_file` to specify the location of the `version.py`
20-
21-
## ⚒️ Refactorings
22-
23-
* [#449](https://github.com/exasol/python-toolbox/issues/449): Refactored `dependency:licenses`:
24-
* to use pydantic models & `poetry show` for dependencies
25-
* to updated reading the `pyproject.toml` to be compatible with poetry 2.x+

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/python-environment@1.2.0
21+
uses: exasol/python-toolbox/.github/actions/python-environment@1.3.0
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/python-environment@1.2.0
18+
uses: exasol/python-toolbox/.github/actions/python-environment@1.3.0
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/python-environment@1.2.0
19+
uses: exasol/python-toolbox/.github/actions/python-environment@1.3.0
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/python-environment@1.2.0
35+
uses: exasol/python-toolbox/.github/actions/python-environment@1.3.0
3636

3737
- name: Build Documentation
3838
run: |
@@ -55,7 +55,7 @@ jobs:
5555
uses: actions/checkout@v4
5656

5757
- name: Setup Python & Poetry Environment
58-
uses: exasol/python-toolbox/.github/actions/python-environment@1.2.0
58+
uses: exasol/python-toolbox/.github/actions/python-environment@1.3.0
5959

6060
- name: Run changelog update check
6161
run: poetry run -- nox -s changelog:updated
@@ -74,7 +74,7 @@ jobs:
7474
uses: actions/checkout@v4
7575

7676
- name: Setup Python & Poetry Environment
77-
uses: exasol/python-toolbox/.github/actions/python-environment@1.2.0
77+
uses: exasol/python-toolbox/.github/actions/python-environment@1.3.0
7878
with:
7979
python-version: ${{ matrix.python-version }}
8080

@@ -105,7 +105,7 @@ jobs:
105105
uses: actions/checkout@v4
106106

107107
- name: Setup Python & Poetry Environment
108-
uses: exasol/python-toolbox/.github/actions/python-environment@1.2.0
108+
uses: exasol/python-toolbox/.github/actions/python-environment@1.3.0
109109
with:
110110
python-version: ${{ matrix.python-version }}
111111

@@ -127,7 +127,7 @@ jobs:
127127
uses: actions/checkout@v4
128128

129129
- name: Setup Python & Poetry Environment
130-
uses: exasol/python-toolbox/.github/actions/python-environment@1.2.0
130+
uses: exasol/python-toolbox/.github/actions/python-environment@1.3.0
131131
with:
132132
python-version: ${{ matrix.python-version }}
133133

@@ -151,7 +151,7 @@ jobs:
151151
uses: actions/checkout@v4
152152

153153
- name: Setup Python & Poetry Environment
154-
uses: exasol/python-toolbox/.github/actions/python-environment@1.2.0
154+
uses: exasol/python-toolbox/.github/actions/python-environment@1.3.0
155155

156156
- name: Run format check
157157
run: poetry run -- nox -s project:format
@@ -173,7 +173,7 @@ jobs:
173173
uses: actions/checkout@v4
174174

175175
- name: Setup Python & Poetry Environment
176-
uses: exasol/python-toolbox/.github/actions/python-environment@1.2.0
176+
uses: exasol/python-toolbox/.github/actions/python-environment@1.3.0
177177
with:
178178
python-version: ${{ matrix.python-version }}
179179

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

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

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

0 commit comments

Comments
 (0)