bloc.boulder_compat#

Compatibility guards for Boulder runtime integration.

Attributes#

Functions#

ensure_boulder_version()

Raise an ImportError when the loaded Boulder is too old.

Module Contents#

bloc.boulder_compat.MIN_BOULDER_VERSION#
bloc.boulder_compat.ensure_boulder_version()#

Raise an ImportError when the loaded Boulder is too old.

Uses boulder.__version__ (module attribute) rather than installed package metadata so the check works correctly in both editable-install (dev) and production scenarios.