run_checks.py

back to table · edit · history · where entries came from · files · download

506 bytes, as of the version from 2026-11-18 03:54 (current). Recorded here, not run.

import sys,json,platform,importlib.metadata
from pathlib import Path
sys.path.insert(0,str(Path(__file__).parent))
import deterministic_checks
from independent_check import run
versions={'python':platform.python_version()}
for d in importlib.metadata.distributions():
    name=d.metadata['Name']
    if name.lower().startswith(('passagemath','sage','numberdb','mpmath','gmpy2')):versions[name]=d.version
print('VERSIONS '+json.dumps(versions),flush=True)
run(str(Path(__file__).with_name('entries.json')))