antsibull-core is a foundational Python library providing core tools for building various components of the Ansible Distribution. It adheres to semantic versioning (1.0.0+), aiming for backward compatibility within major release cycles, though exceptions may occur for critical security fixes. The library is actively maintained, with the current development version being 3.x.y.
pip install antsibull-coreVerified import paths — ran on the pinned version, not inferred.
Initialize basic contexts provided by antsibull-core. These contexts are typically used by other antsibull projects to manage application state, configuration, and interactions with the underlying Ansible environment.
Ensure your Python environment is 3.9 or newer for antsibull-core 3.x.y. For antsibull-core 2.x.y, use Python 3.9 or later. Upgrade your Python interpreter if necessary.
If your project integrates deeply with antsibull-core's Pydantic models or depends on specific Pydantic v1 behaviors, you must migrate your code to be compatible with Pydantic v2. Review the Pydantic v2 migration guide.
Monitor release notes and changelogs, especially for critical updates, to be aware of any potentially unexpected changes. Pinning major versions in your dependency management (`antsibull-core~=3.0`) is recommended.