Skip to content

GEO Optimizer 4.12.2 — FastAPI import guard, unblocks PyPI

Choose a tag to compare

@auriti auriti released this 04 Jun 08:00
· 242 commits to main since this release

What's Changed

Fixed

  • test_audit_contract.py failed in CI without the web extra — the 10 test_web_api_* contract tests (added in 4.12.0) import geo_optimizer.web.app, which requires FastAPI ([web] extra). CI installs only [dev], so they raised ModuleNotFoundError: No module named 'fastapi' and kept the PyPI publish blocked. Added a pytest.importorskip("fastapi", ...) guard in the shared _call_audit_result_to_dict helper, matching the pattern already used in test_web_app.py.

Notes

  • This is the first release in the 4.12.x series to successfully publish to PyPI.
  • All 4.12.0 features (Google AI scoring realign, JSON contract v1, frontend redesign) and 4.12.1 fixes (time-bomb tests) are included.
  • No breaking changes. Upgrade from any 4.x is safe.

Install

pip install geo-optimizer-skill==4.12.2
# or with web server
pip install "geo-optimizer-skill[web]==4.12.2"