Skip to content

Releases: exasol/python-toolbox

3.0.0

21 Nov 10:05
b1fa4ae

Choose a tag to compare

3.0.0 - 2025-11-21

Summary

This is a major release with potentially breaking changes as nox session project:fix has been modified and potentially can create many unexpected changes.

This release adds ruff to Nox sessions project:format and project:fix to check for and remove unused imports.

As ruff potentially can also apply many other changes, we recommend updating the pyproject.toml file in your project as specified here: Formatting Code Configuration.

Additionally, isort has been updated from ^6.0.0 to ^7.0.0. In 7.x, isort has provided fixes for Python 3.14.

Documentation

  • #589: Corrected configuration for Sonar documentation for host.url
  • #535: Added more information about Sonar's usage of exclusions
  • #596: Corrected and added more information regarding pyupgrade

Features

  • #595: Created class ResolvedVulnerabilities to track resolved vulnerabilities between versions
  • #544: Modified nox sessions project:fix and project:format to use ruff to remove unused imports

Refactoring

  • #596: Added newline after header in versioned changelog

Dependency Updates

main

  • Updated dependency bandit:1.8.6 to 1.9.1
  • Updated dependency black:25.9.0 to 25.11.0
  • Updated dependency coverage:7.11.0 to 7.12.0
  • Updated dependency import-linter:2.5.2 to 2.7
  • Updated dependency isort:6.1.0 to 7.0.0
  • Updated dependency nox:2025.10.16 to 2025.11.12
  • Updated dependency pre-commit:4.3.0 to 4.4.0
  • Updated dependency pydantic:2.12.3 to 2.12.4
  • Updated dependency pylint:4.0.2 to 4.0.3
  • Updated dependency pytest:8.4.2 to 9.0.1
  • Updated dependency pyupgrade:3.21.0 to 3.21.2
  • Added dependency ruff:0.14.5
  • Updated dependency shibuya:2025.11.4 to 2025.11.10

2.0.0

04 Nov 14:52
2c35dad

Choose a tag to compare

2.0.0 - 2025-11-04

With this release, all projects using the PTB must have their project Config inherit from BaseConfig (introduced in 1.10.0). Otherwise, the workflows using these attributes will raise an exception indicating that this manual action is needed.

As Python 3.9 reached its EOL on 2025-10-31, the PTB no longer supports Python 3.9, and it has added support for 3.14. For projects that were still using Python 3.9, it is anticipated that there will be larger formatting change due to the arguments to pyupgrade changing.

Refactoring

  • #590:
    • Dropped support for Python 3.9 and added support for Python 3.14
    • Enforced that the PROJECT_CONFIG defined in noxconfig.py must be derived from BaseConfig.
      • Replaced MINIMUM_PYTHON_VERSION which acted as a back-up value for the nox session artifacts:copy
        with BaseConfig.minimum_python_version_
      • Replaced _PYTHON_VERSIONS which acted as a back-up value for the nox sessions matrix:python and matrix:all
        with BaseConfig.python_versions_
      • Replaced __EXASOL_VERSIONS which acted as a back-up value for the nox sessions matrix:exasol and matrix:all
        with BaseConfig.python_versions_
      • Moved pyupgrade_args from being defined per PROJECT_CONFIG to a calculated property
        BaseConfig.pyupgrade_argument_

Dependency Updates

main

  • Updated dependency pysonar:1.2.0.2419 to 1.2.1.3951
  • Updated dependency shibuya:2025.10.21 to 2025.11.4

1.13.0

31 Oct 13:35
d6a7971

Choose a tag to compare

1.13.0 - 2025-10-31

Summary

This releases fixes Nox session release:prepare for multi-project repositories and
fixes the python-environment GitHub action to also use the working-directory
and pyproject.toml setting the cache variables.

Bugfixes

  • #580: Fixed Nox session release:prepare for multi-project repositories
  • #586: Fixed python-environment GitHub action to use working-directory for setup of cache variables
  • #559: Added SHA of pyproject.toml to determine cache key in python-environment GitHub action

Features

  • #485: Improved nox task release:trigger

1.12.0

29 Oct 12:40
7946592

Choose a tag to compare

1.12.0 - 2025-10-29

Security

  • #581: Resolved CVE-2024-12797 for cryptography by dropping support for Python versions 3.9.0 and 3.9.1 and updating the lock file

1.11.0

29 Oct 09:16
bb05fd4

Choose a tag to compare

1.11.0 - 2025-10-29

With the addition of the nox session package:check, it's recommended to
switch a README.md to README.rst. The underlying package twine which is used
in that check performs more checks for rst files.

Feature

  • #494: Created check of built packages with nox session package:check

Refactoring

  • #578: Updated GitHub actions which now use node 24:
    • actions/checkout to v5
    • actions/download-artifact to v6
    • actions/upload-artifact to v5

Security

Dependency Updates

main

  • Updated dependency black:25.1.0 to 25.9.0
  • Updated dependency coverage:7.10.6 to 7.11.0
  • Updated dependency furo:2025.7.19 to 2025.9.25
  • Updated dependency import-linter:2.4 to 2.5.2
  • Updated dependency isort:6.0.1 to 6.1.0
  • Updated dependency mypy:1.17.1 to 1.18.2
  • Updated dependency nox:2025.5.1 to 2025.10.16
  • Updated dependency pip-licenses:5.0.0 to 5.5.0
  • Updated dependency pydantic:2.11.7 to 2.12.3
  • Updated dependency pylint:3.3.8 to 4.0.2
  • Updated dependency pysonar:1.1.0.2035 to 1.2.0.2419
  • Updated dependency pytest:8.4.1 to 8.4.2
  • Updated dependency pyupgrade:3.20.0 to 3.21.0
  • Updated dependency shibuya:2025.8.16 to 2025.10.21
  • Added dependency twine:6.2.0
  • Updated dependency typer:0.17.3 to 0.20.0

1.10.0

10 Oct 12:12
cca9bd2

Choose a tag to compare

1.10.0 - 2025-10-10

New BaseConfig class and improved Setup Python Github Action.

BaseConfig class for PTB attributes

The BaseConfig class was introduced in this version. This class is used to consolidate
the attributes needed for the PTB's functionalities into an inherited object which can
be expanded upon as needed. At this point, the BaseConfig class includes
python_versions, exasol_versions, and create_major_version_tags. Users of
the PTB should update their noxconfig.py to start using this feature.

# noxconfig.py
from exasol.toolbox.config import BaseConfig


# existing Config should inherit from BaseConfig
class Config(BaseConfig):
    # if present, remove any attributes already in the BaseConfig from the added attributes
    ...


# if no overlapping attributes with `BaseConfig` were present in `Config`, then this is unmodified.
PROJECT_CONFIG = Config()
# if no overlapping attributes with `BaseConfig` were present in `Config`, then this should be modified.
PROJECT_CONFIG = Config(python_versions=(...), exasol_versions=(...), create_major_version_tags=True)

Feature

  • #465: Created BaseConfig class to better synchronize attributes needed for the PTB's
    growing functionalities

Internal:

  • Call poetry install always in setup python actions

Dependency Updates

main

  • Updated dependency coverage:7.10.3 to 7.10.6
  • Updated dependency import-linter:2.3 to 2.4
  • Updated dependency shibuya:2025.7.24 to 2025.8.16
  • Added dependency sphinx-toolbox:4.0.0
  • Updated dependency typer:0.16.0 to 0.17.3

1.9.0

28 Aug 12:50
9c3a592

Choose a tag to compare

1.9.0 - 2025-08-28

This release fixes stability problems with the Github action python-environment. Optionally, the nox task release:trigger now creates an additional tag with pattern v<MajorVersion>.

Refactorings

  • #530: Nox task release:trigger also creates v* tag
  • #553: Use Local copy of poetry installer in Github actions python-environment

1.8.0

14 Aug 07:28
08c6536

Choose a tag to compare

1.8.0 - 2025-08-14

With the refactoring of the dependency:audit, we use poetry export. For how it can
be added (project-specific or globally), see the
poetry export documentation.

Within the report.yml, the actions/download-artifact@v4.2.1 was upgraded to
v5.0.0. This upgrade should not affect the existing functionality of the standard
GitHub workflows from the PTB. However, there are breaking changes that affect cases
where artifacts are downloaded by ID. For further details, please see the
release notes for 5.0.0.

Feature

  • #469: Moved manual approval for slow tests to merge-gate.yml

Refactoring

  • #517: Refactored dependency:audit & split up to support upcoming work
  • #541: Refactored test code using prysk and removed prysk as a dependency

Bugfix

  • #533: Fixed project-template tests to run with unreleased PTB to better detect issues pre-release

Dependency Updates

main

  • Updated dependency coverage:7.10.1 to 7.10.3
  • Updated dependency mypy:1.17.0 to 1.17.1
  • Updated dependency pre-commit:4.2.0 to 4.3.0
  • Removed dependency prysk:0.20.0
  • Updated dependency pylint:3.3.7 to 3.3.8
  • Updated dependency pytest:7.4.4 to 8.4.1

1.7.4

06 Aug 10:49
31b1ad7

Choose a tag to compare

1.7.4 - 2025-08-06

This release fixes a bug in the GH action actions/python-environment where the wrong Python version was installed in the Poetry environment.

Bugfixes

  • #527: Use correct Python version in actions/python-environment

1.7.3

04 Aug 16:02
997be54

Choose a tag to compare

1.7.3 - 2025-08-04

Bugfixes

  • #523: Fixed pipx installation for older versions of pip