Skip to content

chore(deps): bump linuxfabrik-lib from 2.4.0 to 3.0.0#1077

Merged
markuslf merged 1 commit intomainfrom
dependabot/pip/linuxfabrik-lib-3.0.0
Apr 13, 2026
Merged

chore(deps): bump linuxfabrik-lib from 2.4.0 to 3.0.0#1077
markuslf merged 1 commit intomainfrom
dependabot/pip/linuxfabrik-lib-3.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 13, 2026

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps linuxfabrik-lib from 2.4.0 to 3.0.0.

Release notes

Sourced from linuxfabrik-lib's releases.

v3.0.0

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

Changelog

Sourced from linuxfabrik-lib's changelog.

[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

Removed

  • Drop support for Python older than 3.9. The lib now requires Python 3.9 or newer; this matches the oldest still-supported enterprise Linux (RHEL 8) and lets the codebase use modern syntax and standard-library features

Fixed

  • base.py: cu() now also escapes HTML characters in the error message, not just in the traceback
  • base.py: cu() now detects active exceptions via sys.exc_info() instead of string-matching the traceback
  • base.py: get_state() no longer calls sys.exit() on malformed range specs, returns UNKNOWN instead

... (truncated)

Commits
  • b504bef chore: bump version number [skip ci]
  • ac64af7 fix(lftest): accept --test args with fewer than three elements
  • 930351a feat(lftest): add run_container() helper for testcontainers-python
  • b5acfa2 refactor(base): get_worst() accepts variadic states
  • b530b1a fix: semantic bugs found in the LLM audit backlog
  • d803b57 fix: sweep lib for ruff F/B findings and bandit low/medium annotations
  • dbfc375 Merge pull request #119 from Linuxfabrik/dependabot/github_actions/dependabot...
  • 78f2434 chore(deps): bump dependabot/fetch-metadata from 2 to 3
  • ccb252f fix(args): remove "Supports Nagios ranges" from HELP_TEXTS (not all plugins i...
  • f784119 fix(args): add case-insensitive note to --ignore-pattern HELP_TEXT
  • 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.0.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.0.0)

---
updated-dependencies:
- dependency-name: linuxfabrik-lib
  dependency-version: 3.0.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 13, 2026
@markuslf markuslf merged commit afa78e5 into main Apr 13, 2026
5 checks passed
@dependabot dependabot bot deleted the dependabot/pip/linuxfabrik-lib-3.0.0 branch April 13, 2026 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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