Skip to content

Commit 1a53a05

Browse files
committed
docs: bump minimum Python version from 3.6 to 3.9
1 parent 2c84dbf commit 1a53a05

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Linuxfabrik Python Libraries
33
</h1>
44
<p align="center">
5-
Python 3.6+ modules for Linuxfabrik projects: DB access, SQLite KVS caching, WinRM, SMB, shell execution, 15+ API integrations (Icinga2, Veeam, Nextcloud, ...). Available on PyPI.
5+
Python 3.9+ modules for Linuxfabrik projects: DB access, SQLite KVS caching, WinRM, SMB, shell execution, 15+ API integrations (Icinga2, Veeam, Nextcloud, ...). Available on PyPI.
66
<span>&#8226;</span>
77
<b>made by <a href="https://linuxfabrik.ch/">Linuxfabrik</a></b>
88
</p>
@@ -12,7 +12,7 @@
1212
![License](https://img.shields.io/github/license/linuxfabrik/lib)
1313
![Version](https://img.shields.io/github/v/release/linuxfabrik/lib?sort=semver)
1414
[![PyPI](https://img.shields.io/pypi/v/linuxfabrik-lib)](https://pypi.org/project/linuxfabrik-lib/)
15-
![Python](https://img.shields.io/badge/Python-3.6+-3776ab)
15+
![Python](https://img.shields.io/badge/Python-3.9+-3776ab)
1616
![GitHub Issues](https://img.shields.io/github/issues/linuxfabrik/lib)
1717
[![GitHubSponsors](https://img.shields.io/github/sponsors/Linuxfabrik?label=GitHub%20Sponsors)](https://github.com/sponsors/Linuxfabrik)
1818
[![PayPal](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7AW3VVX62TR4A&source=url)
@@ -26,7 +26,7 @@
2626

2727
A mature, production-grade Python library collection providing 35+ modules with 300+ functions for system administration, monitoring, and infrastructure automation. These libraries are used across several Linuxfabrik projects -- most prominently the [Linuxfabrik Monitoring Plugins](https://github.com/Linuxfabrik/monitoring-plugins) (Nagios/Icinga check plugins), but also in [ChecklistFabrik](https://github.com/Linuxfabrik/checklistfabrik) and other tools.
2828

29-
The library requires Python 3.6+ (the default Python version on RHEL 8) and runs on every platform.
29+
The library requires Python 3.9+ and runs on every platform.
3030

3131

3232
## Installation
@@ -48,7 +48,7 @@ Full API documentation is available at [linuxfabrik.github.io/lib](https://linux
4848
These libraries are built with a clear set of priorities:
4949

5050
* **Procedural by design.** The libraries deliberately use a procedural/functional style rather than object-oriented programming. Pure functions with explicit inputs and outputs are easier to read, test, and reason about. This is especially true for the most prominent use case -- monitoring plugins -- which are short-lived, linear processes with no complex state to manage over time, where unnecessary abstraction layers would add overhead without tangible benefit.
51-
* **Broad compatibility.** Python 3.6+ is the minimum, ensuring the libraries work on RHEL 8 and every major distribution without requiring newer runtimes.
51+
* **Broad compatibility.** Python 3.9+ is the minimum, ensuring the libraries work on RHEL 8 and every major distribution without requiring newer runtimes.
5252
* **Cross-platform.** Core functions behave identically on Linux, Windows, and macOS. Platform-specific code (WinRM, PowerShell, SMB) is cleanly separated.
5353
* **Minimal dependencies.** We avoid pulling in large dependency trees. External packages are used only when the alternative would be unreliable or significantly more complex.
5454
* **Consistent error handling.** Most functions return `(success, result)` tuples. The caller decides whether to continue or exit -- the library never exits on its own. The `base.coe()` ("Continue or Exit") helper makes this pattern concise.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ dependencies = [
4646
"smbprotocol",
4747
"xmltodict",
4848
]
49-
requires-python = ">=3.6"
49+
requires-python = ">=3.9"
5050

5151
[project.urls]
5252
Homepage = "https://github.com/Linuxfabrik/lib"

0 commit comments

Comments
 (0)