Releases: exasol/python-toolbox
3.0.0
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
ResolvedVulnerabilitiesto track resolved vulnerabilities between versions - #544: Modified nox sessions
project:fixandproject:formatto use ruff to remove unused imports
Refactoring
- #596: Added newline after header in versioned changelog
Dependency Updates
main
- Updated dependency
bandit:1.8.6to1.9.1 - Updated dependency
black:25.9.0to25.11.0 - Updated dependency
coverage:7.11.0to7.12.0 - Updated dependency
import-linter:2.5.2to2.7 - Updated dependency
isort:6.1.0to7.0.0 - Updated dependency
nox:2025.10.16to2025.11.12 - Updated dependency
pre-commit:4.3.0to4.4.0 - Updated dependency
pydantic:2.12.3to2.12.4 - Updated dependency
pylint:4.0.2to4.0.3 - Updated dependency
pytest:8.4.2to9.0.1 - Updated dependency
pyupgrade:3.21.0to3.21.2 - Added dependency
ruff:0.14.5 - Updated dependency
shibuya:2025.11.4to2025.11.10
2.0.0
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_CONFIGdefined innoxconfig.pymust be derived fromBaseConfig.- Replaced
MINIMUM_PYTHON_VERSIONwhich acted as a back-up value for the nox sessionartifacts:copy
withBaseConfig.minimum_python_version_ - Replaced
_PYTHON_VERSIONSwhich acted as a back-up value for the nox sessionsmatrix:pythonandmatrix:all
withBaseConfig.python_versions_ - Replaced
__EXASOL_VERSIONSwhich acted as a back-up value for the nox sessionsmatrix:exasolandmatrix:all
withBaseConfig.python_versions_ - Moved
pyupgrade_argsfrom being defined per PROJECT_CONFIG to a calculated property
BaseConfig.pyupgrade_argument_
- Replaced
Dependency Updates
main
- Updated dependency
pysonar:1.2.0.2419to1.2.1.3951 - Updated dependency
shibuya:2025.10.21to2025.11.4
1.13.0
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:preparefor multi-project repositories - #586: Fixed
python-environmentGitHub action to useworking-directoryfor setup of cache variables - #559: Added SHA of
pyproject.tomlto determine cache key inpython-environmentGitHub action
Features
- #485: Improved nox task
release:trigger
1.12.0
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
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:
Security
- #578: Resolved CVE-2024-12797 for cryptography and CVE-2025-8869 for pip by updating the lock file
Dependency Updates
main
- Updated dependency
black:25.1.0to25.9.0 - Updated dependency
coverage:7.10.6to7.11.0 - Updated dependency
furo:2025.7.19to2025.9.25 - Updated dependency
import-linter:2.4to2.5.2 - Updated dependency
isort:6.0.1to6.1.0 - Updated dependency
mypy:1.17.1to1.18.2 - Updated dependency
nox:2025.5.1to2025.10.16 - Updated dependency
pip-licenses:5.0.0to5.5.0 - Updated dependency
pydantic:2.11.7to2.12.3 - Updated dependency
pylint:3.3.8to4.0.2 - Updated dependency
pysonar:1.1.0.2035to1.2.0.2419 - Updated dependency
pytest:8.4.1to8.4.2 - Updated dependency
pyupgrade:3.20.0to3.21.0 - Updated dependency
shibuya:2025.8.16to2025.10.21 - Added dependency
twine:6.2.0 - Updated dependency
typer:0.17.3to0.20.0
1.10.0
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.3to7.10.6 - Updated dependency
import-linter:2.3to2.4 - Updated dependency
shibuya:2025.7.24to2025.8.16 - Added dependency
sphinx-toolbox:4.0.0 - Updated dependency
typer:0.16.0to0.17.3
1.9.0
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
1.8.0
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
pryskand removedpryskas 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.1to7.10.3 - Updated dependency
mypy:1.17.0to1.17.1 - Updated dependency
pre-commit:4.2.0to4.3.0 - Removed dependency
prysk:0.20.0 - Updated dependency
pylint:3.3.7to3.3.8 - Updated dependency
pytest:7.4.4to8.4.1