Python Package

Troubleshooting

Schnelldiagnose fuer die haeufigsten mgpy-Probleme in Dev und CI.

Früher Zugriff: Bis 2026-12-31

Kommando lokal ok, in CI fehlerhaft

Ursache: unterschiedliche Python-/Dependency-Umgebungen.

Loesung:

  • Python-Version angleichen,
  • Abhaengigkeiten pinnen,
  • exakt denselben Aufruf nutzen.

Unerwartet viele Findings

Ursache: Baseline wurde lange nicht gepflegt.

Loesung:

  • Findings clustern,
  • in Etappen abbauen,
  • Gate schrittweise schaerfen.

Performanceprobleme

Loesung:

  • Scope praezisieren,
  • schwere Checks getrennt fahren,
  • Messwerte je Pipeline-Lauf erfassen.

Voraussetzungen

Spalten
Installation interpreter
Python 3.12 + pip
Recommended default path for installation and CLI calls.
Project target versions
Python 3.8 to 3.12
These are the project/runtime targets mgpy can analyze.
mgpy runtime
Validated on Python 3.10 to 3.13
The tool runtime itself is covered for this range.
CLI invocation
Windows: py -3.12 -m manifestguard
Linux/macOS usually maps to python3.12 -m manifestguard.
Runtime packages
tomlkit, click, pydantic, packaging, watchdog, PyNaCl, rfc8785
tomli is only added for Python below 3.11.
Offline / wheel install
Optional via pip --no-index or wheel
Useful for air-gapped or approved bundle distribution paths.