Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/actions/python-environment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ inputs:
default: "."

extras:
description: 'Comma-separated list of extras'
description: 'Space-separated list of extras'
required: false

use-cache:
Expand Down Expand Up @@ -53,7 +53,6 @@ runs:
working-directory: ${{ inputs.working-directory }}
shell: bash
run: |
EXTRAS=$(echo "${{ inputs.extras }}" | tr -d ' ')
if [[ -n "$EXTRAS" ]]; then
poetry install --extras "$EXTRAS"
else
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/security-issues/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ runs:
- name: Install Python Toolbox / Security tool
shell: bash
run: |
pip install exasol-toolbox==1.2.0
pip install exasol-toolbox==1.3.0

- name: Create Security Issue Report
shell: bash
Expand Down
2 changes: 2 additions & 0 deletions doc/changes/changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

* [unreleased](unreleased.md)
* [1.3.0](changes_1.3.0.md)
* [1.2.0](changes_1.2.0.md)
* [1.1.0](changes_1.1.0.md)
* [1.0.1](changes_1.0.1.md)
Expand Down Expand Up @@ -34,6 +35,7 @@
hidden:
---
unreleased
changes_1.3.0
changes_1.2.0
changes_1.1.0
changes_1.0.1
Expand Down
32 changes: 32 additions & 0 deletions doc/changes/changes_1.3.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# 1.3.0 - 2025-06-02

## Summary

This version of the PTB updates nox task `version:check`, see #441.
This requires file `noxconfig.py` of each project to specify the path to `version.py` in `Config.version_file`.

With this version of the PTB you can customize the arguments for `pyupgrade` in file `noxconfig.py`, see ticket #449 for details:
```python
pyupgrade_args = ("--py310-plus",)
```

## 📚 Documentation
* Updated getting_started.rst for allowing tag-based releases

## ✨ Features

* [#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`

## 🐞 Bug Fixes
* Updated `python-environment` action to use space-separated values for extras


## ⚒️ Refactorings

* [#449](https://github.com/exasol/python-toolbox/issues/449): Refactored `dependency:licenses`:
* to use pydantic models & `poetry show` for dependencies
* to updated reading the `pyproject.toml` to be compatible with poetry 2.x+

## 🔩 Internal

* Relocked dependencies
24 changes: 0 additions & 24 deletions doc/changes/unreleased.md
Original file line number Diff line number Diff line change
@@ -1,25 +1 @@
# Unreleased

## Summary

With #441, please ensure that the location of the `version.py` is given for `Config.version_file`,
which is specified in the `noxconfig.py`

With #449, it's possible to customize what arguments are being using with `pyupgrade`
via the `noxconfig.Config`:
```python
pyupgrade_args = ("--py310-plus",)
```

## 📚 Documentation
* Updated getting_started.rst for allowing tag-based releases

## ✨ Features

* [#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`

## ⚒️ Refactorings

* [#449](https://github.com/exasol/python-toolbox/issues/449): Refactored `dependency:licenses`:
* to use pydantic models & `poetry show` for dependencies
* to updated reading the `pyproject.toml` to be compatible with poetry 2.x+
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v4

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

- name: Build Artifacts
run: poetry build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: actions/checkout@v4

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

- name: Check Tag Version
# make sure the pushed/created tag matched the project version
Expand Down
16 changes: 8 additions & 8 deletions exasol/toolbox/templates/github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fetch-depth: 0

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

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

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

- name: Build Documentation
run: |
Expand All @@ -55,7 +55,7 @@ jobs:
uses: actions/checkout@v4

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

- name: Run changelog update check
run: poetry run -- nox -s changelog:updated
Expand All @@ -74,7 +74,7 @@ jobs:
uses: actions/checkout@v4

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

Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
uses: actions/checkout@v4

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

Expand All @@ -127,7 +127,7 @@ jobs:
uses: actions/checkout@v4

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

Expand All @@ -151,7 +151,7 @@ jobs:
uses: actions/checkout@v4

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

- name: Run format check
run: poetry run -- nox -s project:format
Expand All @@ -173,7 +173,7 @@ jobs:
uses: actions/checkout@v4

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

Expand Down
2 changes: 1 addition & 1 deletion exasol/toolbox/templates/github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fetch-depth: 0

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

- name: Build Documentation
run: |
Expand Down
2 changes: 1 addition & 1 deletion exasol/toolbox/templates/github/workflows/matrix-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v4

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

- name: Generate matrix
run: poetry run -- nox -s matrix:all
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v4

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

- name: Generate matrix
run: poetry run -- nox -s matrix:exasol
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v4

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

- name: Generate matrix
run: poetry run -- nox -s matrix:python
Expand Down
2 changes: 1 addition & 1 deletion exasol/toolbox/templates/github/workflows/report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fetch-depth: 0

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

- name: Download Artifacts
uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion exasol/toolbox/templates/github/workflows/slow-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: actions/checkout@v4

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

Expand Down
2 changes: 1 addition & 1 deletion exasol/toolbox/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Do not edit this file manually!
# If you need to change the version, do so in the pyproject.toml, e.g. by using `poetry version X.Y.Z`.
MAJOR = 1
MINOR = 2
MINOR = 3
PATCH = 0
VERSION = f"{MAJOR}.{MINOR}.{PATCH}"
__version__ = VERSION
Loading