tools, instructions: Abhängigkeiten festgeschrieben - Lock-Dateien mit Hashes und 7 Tagen Abkühlzeit, Preflight-Stempel über das Lock, pip-audit und frische Auflösung im Nightly; Python 3.13-3.14 als zugelassene Spanne, CI auf beiden Enden (#245); 11.0.0-beta.1
CI / verify (push) Successful in 8m47s
CI / pwsh (push) Successful in 3m13s
CI / python314 (push) Successful in 5m35s
Converters / converters (push) Successful in 9m49s
Release / converters (push) Successful in 26s
Release / release (push) Successful in 39s
Release / wiki-mirror (push) Skipped

Files changed:
- .gitea/workflows/ci.yml
- .gitea/workflows/converters.yml
- .gitea/workflows/nightly.yml
- .gitea/workflows/release.yml
- .gitea/workflows/tracker-live.yml
- CHANGES.md
- INSTALL.md
- VERSION
- docs/dev/development.md
- docs/how-to/set-up-the-mcp-server.md
- instructions/dev/dependency-locks.md
- instructions/dev/publish-and-ci.md
- instructions/dev/stack-mode.md
- instructions/dev/tracker-testing.md
- instructions/mcp-read-server.md
- instructions/preflight.md
- tools/CONTRACT.md
- tools/README.md
- tools/chemenu/commands/dist_cmd.py
- tools/chemenu/commands/doctor.py
- tools/chemenu/install_doc.py
- tools/chemenu/prerequisites.py
- tools/chemenu/tests/test_dependency_locks.py
- tools/chemenu/tests/test_dist_cmd.py
- tools/chemenu/tests/test_doctor.py
- tools/chemenu/tests/test_install_doc.py
- tools/chemenu/tests/test_preflight.py
- tools/chemenu/tests/test_preflight_pwsh.py
- tools/lock_requirements.py
- tools/preflight.ps1
- tools/preflight.sh
- tools/prerequisites.txt
- tools/requirements-browser.lock
- tools/requirements-browser.txt
- tools/requirements-dev.lock
- tools/requirements-dev.txt
- tools/requirements-mcp.lock
- tools/requirements-mcp.txt
- tools/requirements.lock
- tools/requirements.txt

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015uxGFdBAmyA23g1isCtGEY
This commit is contained in:
torbenandClaude Opus 5.5 committed 2026-11-18 21:34:20 +01:00
1 parent 0fce67e6b9
commit 37070ffae2
40 files changed
+3472 -159

No files matched your search

+37
View File
@@ -813,3 +813,40 @@ def test_an_installed_browser_component_is_ok(instance, monkeypatch):
monkeypatch.setattr(browser, "missing", lambda: None)
assert _status(doctor.run_doctor(), "browser") == "OK"
# --- the Python span (Gitea #245) -------------------------------------------------------
def _python_check(monkeypatch, major: int, minor: int) -> doctor.Check:
from types import SimpleNamespace
fake = SimpleNamespace(version_info=SimpleNamespace(major=major, minor=minor, micro=4))
monkeypatch.setattr(doctor, "sys", fake)
return doctor.check_python()
@pytest.mark.parametrize("minor, status", [(12, "FAIL"), (13, "OK"), (14, "OK"), (15, "FAIL")])
def test_python_is_judged_against_the_span_of_the_manifest(monkeypatch, minor, status):
check = _python_check(monkeypatch, 3, minor)
assert check.status == status
if status == "FAIL":
assert f"Python 3.{minor}" in check.detail and "3.13 to 3.14" in check.detail
assert "Install Python 3.13 to 3.14" in check.fix and "preflight" in check.fix
def test_python_follows_the_manifest_rather_than_a_literal(monkeypatch, tmp_path):
manifest = tmp_path / "prerequisites.txt"
manifest.write_text("tool|python|3.10|3.11|all|Python|why|-|-|-|-|-\n", encoding="utf-8")
monkeypatch.setattr(prerequisites, "manifest_path", lambda: manifest)
assert _python_check(monkeypatch, 3, 11).status == "OK"
assert _python_check(monkeypatch, 3, 13).status == "FAIL"
def test_doctor_carries_no_python_version_literal():
"""The span lives in tools/prerequisites.txt alone; doctor once had 3.11 typed in."""
import re
source = Path(doctor.__file__).read_text(encoding="utf-8")
body = source.split("def check_python", 1)[1].split("\ndef ", 1)[0]
assert not re.search(r"\b3\.\d+\b|\(3,\s*\d+\)", body)