Skip to content

v2.7.10

Choose a tag to compare

@ralfbecher ralfbecher released this 01 Jun 15:57
· 43 commits to main since this release
602645d

[2.7.10] - 2026-06-01

Fixed

  • GET /v1/reference/schemas/obml and /v1/reference/schemas/query returned HTTP 500: Schema file '...' is missing from this deployment on every non-editable install (PyPI wheel and Docker / Cloud Run). The loader resolved the JSON Schema files via Path(__file__).resolve().parents[4] / "schema", which only equals the repo root in a source / editable layout; in an installed wheel that path points into site-packages and the files were never shipped there (packages = ["src/orionbelt"] excluded the repo-root schema/ directory). The test suite missed it because it runs editable, where the buggy assumption holds. The schema files are now shipped inside the wheel as package data under orionbelt/schema/ (via hatch force-include) and loaded through importlib.resources, with a source-tree fallback for editable checkouts. Added a regression test that exercises the loader directly.

Full Changelog: v2.7.9...v2.7.10