Something went wrong. Try again.
small gleam coding and (not yet) persistent agent daemon with a detachable cli forked from okami.mom/albedo
Something went wrong. Try again.
123456789101112131415161718192021222324252627"""Keep the shipped kernel parseable on the version in pyrightconfig.json.
E2E uses the local interpreter, so Python 3.14 can hide syntax that breaksremote boot on older hosts. Check every module, including disabled plugins."""
import astimport jsonimport unittestfrom pathlib import Path
ROOT = Path(__file__).resolve().parents[2]
class PythonCompatibilityTest(unittest.TestCase): def test_bundle_parses_on_supported_python(self): config = json.loads((ROOT / "pyrightconfig.json").read_text()) major, minor = config["pythonVersion"].split(".") version = (int(major), int(minor)) for path in sorted((ROOT / "priv" / "python").rglob("*.py")): with self.subTest(path=str(path.relative_to(ROOT))): ast.parse(path.read_text(), filename=str(path), feature_version=version)
if __name__ == "__main__": unittest.main()