From d69e4e8215e675631545e0f3cad974b811eb01e5 Mon Sep 17 00:00:00 2001 From: Derek Date: Sat, 14 Nov 2026 08:25:00 +1100 Subject: [PATCH] docs(versions): read the Python floor from pyproject.toml The README badge, the install note and the PyPI page each copied Python 3.14. The badge reads requires-python from pyproject.toml through shields.io. Both pages name requires-python. --- README.md | 4 ++-- docs/pypi.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d35f07b..24ca3b8 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Reduces gigabytes of logs to a small, representative sample, as a CLI or a Python library. [![PyPI](https://img.shields.io/pypi/v/logreducer?logo=pypi)](https://pypi.org/project/logreducer/) -[![Python Version](https://img.shields.io/badge/python-3.14%2B-blue)](https://www.python.org/) +[![Python Version](https://img.shields.io/python/required-version-toml?tomlFilePath=https://raw.githubusercontent.com/hyperi-io/logreducer/main/pyproject.toml)](pyproject.toml) [![License](https://img.shields.io/badge/license-Apache--2.0-green)](LICENSE) ## What it does @@ -17,7 +17,7 @@ Reduces gigabytes of logs to a small, representative sample, as a CLI or a Pytho ## Installation -As a tool, isolated from your other Python projects (needs Python 3.14+): +As a tool, isolated from your other Python projects (needs the Python `requires-python` in `pyproject.toml` names): ```bash uv tool install logreducer # or: pipx install logreducer diff --git a/docs/pypi.md b/docs/pypi.md index b3ba13a..8b0724d 100644 --- a/docs/pypi.md +++ b/docs/pypi.md @@ -55,4 +55,4 @@ From the shell it is `logreducer app.log -o reduced.log`. `level` is `standard`, Template mining is derived from [Drain3](https://github.com/logpai/Drain3), MIT licence, with its licence text in the module header. -Docs and source are at . Requires Python 3.14 or later. Licensed Apache-2.0: . +Docs and source are at . The Python floor is `requires-python` in `pyproject.toml`. Licensed Apache-2.0: .