← Files VeraARCHIVED FILE
modules/fusione-guidata/scripts/check_dependencies.py
640 Bytes · Oct 5, 2026 · 18:29 UTC
"""Check the standard-library runtime used by the merger case foundation."""
from __future__ import annotations
import logging
import sqlite3
import sys
__all__ = ["main"]
def main() -> int:
if sys.version_info < (3, 12):
logging.error("Fusione guidata uses Vera's managed Python 3.12 or newer.")
return 1
with sqlite3.connect(":memory:") as db:
db.execute("SELECT 1").fetchone()
logging.info("Fusione: Python and SQLite are available; no additional packages.")
return 0
if __name__ == "__main__":
logging.basicConfig(level=logging.INFO, format="%(message)s")
raise SystemExit(main())
SHA-256: ada01607185a6db87f15c082882c9e4138ab3126cedf1a7447a3302d6ca1dbd0