Skip to content

Commit f34544e

Browse files
committed
chore: bump version number [skip ci]
1 parent 9bb781f commit f34544e

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
## [Unreleased]
1010

11+
tbd
12+
13+
14+
## [v3.1.0] - 2026-04-13
15+
1116
### Added
1217

1318
* disk.py: add `dir_exists()` as the directory-only counterpart to `file_exists()`. The existing `file_exists()` wraps `os.path.isfile()` and therefore returns `False` for directories, which is easy to miss; callers that want to check for a directory should now use `dir_exists()`
19+
* lftest.py: add `attach_each()` helper for iterating over arbitrary lists (e.g. container image matrices, file-based fixtures) with a caller-supplied action, complementing `attach_tests()` which only works on the `TESTS` dict shape
20+
* lftest.py: add `attach_tests()` helper that attaches one `test_*` method per entry in a plugin's `TESTS` list, so that test discovery and reporting show the actual number of fixtures instead of a single aggregate test
21+
* lftest.py: add `run_mariadb()` context manager and `MARIADB_LTS_IMAGES` constant for container-based MariaDB integration tests. Starts a sclorg or upstream MariaDB container, waits for the TCP listener, yields a temporary client option file, and cleans up on exit. `MARIADB_LTS_IMAGES` lists the currently supported MariaDB LTS releases (10.6, 10.11, 11.4, 11.8) so the mysql-* monitoring plugins can iterate over a single canonical matrix
1422

1523

1624
## [v3.0.0] - 2026-04-13
@@ -471,7 +479,8 @@ Minor improvements, barely any changes.
471479
Initial release.
472480

473481

474-
[Unreleased]: https://github.com/Linuxfabrik/lib/compare/v3.0.0...HEAD
482+
[Unreleased]: https://github.com/Linuxfabrik/lib/compare/v3.1.0...HEAD
483+
[v3.1.0]: https://github.com/Linuxfabrik/lib/compare/v3.0.0...v3.1.0
475484
[v3.0.0]: https://github.com/Linuxfabrik/lib/compare/v2.4.0...v3.0.0
476485
[v2.4.0]: https://github.com/Linuxfabrik/lib/compare/v2.3.0...v2.4.0
477486
[v2.3.0]: https://github.com/Linuxfabrik/lib/compare/v2.2.1...v2.3.0

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66

77
[project]
88
name = "linuxfabrik-lib"
9-
version = "3.0.0"
9+
version = "3.1.0"
1010
description = "Python libraries used in various Linuxfabrik projects, including the 'Linuxfabrik Monitoring Plugins' project."
1111
readme = "README.md"
1212
authors = [

0 commit comments

Comments
 (0)