Skip to content
This repository was archived by the owner on Apr 29, 2026. It is now read-only.

chore(deps): bump linuxfabrik-lib from 2.4.0 to 3.1.0#96

Merged
markuslf merged 1 commit into
mainfrom
dependabot/pip/linuxfabrik-lib-3.1.0
Apr 14, 2026
Merged

chore(deps): bump linuxfabrik-lib from 2.4.0 to 3.1.0#96
markuslf merged 1 commit into
mainfrom
dependabot/pip/linuxfabrik-lib-3.1.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 14, 2026

Bumps linuxfabrik-lib from 2.4.0 to 3.1.0.

Release notes

Sourced from linuxfabrik-lib's releases.

v3.1.0

Release Notes/CHANGELOG at https://github.com/Linuxfabrik/lib/blob/main/CHANGELOG.md

v3.0.0

Release Notes/CHANGELOG at https://github.com/Linuxfabrik/lib/blob/main/CHANGELOG.md

Changelog

Sourced from linuxfabrik-lib's changelog.

[v3.1.0] - 2026-04-13

Added

  • 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()
  • 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
  • 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
  • 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

[v3.0.0] - 2026-04-13

Added

  • Add GitHub Actions workflow to automatically build and deploy API documentation to GitHub Pages
  • Add bandit and vulture to .pre-commit-config.yaml for security and dead-code checks on every commit
  • Add pre-commit hooks
  • Add ruff linter and formatter to pre-commit hooks (#117)
  • args.py: expand HELP_TEXTS with standard help texts for all common parameters (always-ok, critical, warning, insecure, no-proxy, timeout, url, ignore-regex, match, lengthy, count, test, etc.)
  • disk.py: add get_owner()
  • lftest.py: add run() function for declarative, data-driven unit tests using subTest()
  • nextcloud.py: new library
  • txt.py: add exception2text()
  • winrm.py: add WINRM_CONFIGURATION_NAME option to run_ps()
  • winrm.py: execute ps in run_ps() directly without Invoke-Expression wrapping

Changed

  • base.py: get_perfdata() now sanitizes labels by stripping single quotes and replacing = with _
  • base.py: get_perfdata() output no longer has trailing semicolons
  • base.py: get_table(): document why pure ASCII delimiters are used instead of Unicode box-drawing characters
  • base.py: get_worst() now accepts any number of state arguments (*states). Existing two-argument callers keep working unchanged, but plugins that need to combine three or more states in one call no longer have to nest the call - e.g. get_worst(state, used_state, committed_state) instead of get_worst(state, get_worst(used_state, committed_state))
  • base.py: deduplicate get_state() operator logic using operator module
  • base.py: deduplicate sum_dict() by delegating to sum_lod()
  • base.py: improve get_table() performance for large tables
  • base.py: move parse_range() and state name mapping to module level
  • base.py: remove unused collections import
  • db_sqlite.py: reduce unnecessary dictionary object creation
  • human.py: deduplicate bits2human()/bps2human()/bytes2human() via shared _to_human() helper
  • human.py: deduplicate humanrange2bytes()/humanrange2seconds() via shared _convert_range() helper
  • human.py: pre-compute mappings as module constants
  • lftest.py: test() now accepts args with fewer than three elements. Plugins can be invoked as --test=path/to/fixture without the trailing ,,0; stderr defaults to the empty string and the return code to 0
  • powershell.py: run_ps() now always returns a dict
  • Remove pre-built documentation from the repository (now auto-deployed via GitHub Actions)
  • txt.py: improve filter_mltext() performance (avoid O(n²) string concatenation)
  • txt.py: improve readability of extract_str() fallback logic
  • txt.py: remove unused Python 2 type aliases and outdated comments
  • txt.py: simplify to_text() and to_bytes() for Python 3 only (remove dead Python 2 codepaths)
  • winrm.py: make run_cmd() and run_ps() JEA-aware
  • winrm.py: make run_cmd() and run_ps() Kerberos-aware

... (truncated)

Commits
  • f34544e chore: bump version number [skip ci]
  • 9bb781f feat(lftest): add run_mariadb() helper and MARIADB_LTS_IMAGES constant
  • 5930f2d feat(disk): add dir_exists() as the directory-only sibling of file_exists()
  • 7902a27 feat(lftest): add attach_each() helper for non-TESTS-dict iterables
  • 9edb72f feat(lftest): add attach_tests() helper for accurate test discovery
  • efec109 Merge pull request #122 from Linuxfabrik/dependabot/github_actions/actions/up...
  • 76c79b0 Merge pull request #123 from Linuxfabrik/dependabot/github_actions/actions/up...
  • f7f2a26 Merge pull request #124 from Linuxfabrik/dependabot/github_actions/peter-evan...
  • 95da86c Merge pull request #125 from Linuxfabrik/dependabot/pip/lxml-6.0.4
  • c0c7116 ci: align Dependabot to weekly Friday 05:00 UTC
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [linuxfabrik-lib](https://github.com/Linuxfabrik/lib) from 2.4.0 to 3.1.0.
- [Release notes](https://github.com/Linuxfabrik/lib/releases)
- [Changelog](https://github.com/Linuxfabrik/lib/blob/main/CHANGELOG.md)
- [Commits](Linuxfabrik/lib@v2.4.0...v3.1.0)

---
updated-dependencies:
- dependency-name: linuxfabrik-lib
  dependency-version: 3.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Apr 14, 2026
@markuslf markuslf merged commit 5f46d2b into main Apr 14, 2026
3 checks passed
@dependabot dependabot Bot deleted the dependabot/pip/linuxfabrik-lib-3.1.0 branch April 14, 2026 13:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant