Releases: craigdbarber/bazel-python-hermetic-blueprint
Releases · craigdbarber/bazel-python-hermetic-blueprint
Release list
0.4
v0.3: Industrial-Grade Python Tooling & Hermeticity
Major Changes in v0.3
This release marks a significant milestone in the project’s evolution towards a production-ready, hermetic Python development environment.
🚀 Features & Enhancements
- Hermetic Python 3.14 Toolchain: Full integration of hermetic Python toolchains via
aspect_rules_py, ensuring identical execution environments across all machines. uvIntegration: Lightning-fast dependency resolution and locking usinguv, seamlessly integrated into the Bazel build graph.- Native Pytest Integration: Optimized test execution using native
pytestrunners within Bazel for better performance and reporting. - Automated Quality Control:
- Formatting: Automatic Python (Ruff) and Starlark (Buildifier) formatting via the
tools/bazelinterceptor. - Advanced Linting Suite: A comprehensive audit pipeline including Pylint (logic), Ruff (style/security), Bandit (security), Flake8 (syntax), Vale (prose/docs), and Ty (type checking).
- Buildifier: Integrated linting for Bazel
BUILDand.bzlfiles.
- Formatting: Automatic Python (Ruff) and Starlark (Buildifier) formatting via the
📖 Documentation
- Updated Architecture Docs: Comprehensive deep-dive into the build system and toolchain design.
- Enhanced README: Improved onboarding instructions and usage examples for the new audit and formatting workflows.
🧹 Maintenance
- Version synchronized to
0.3.0acrossMODULE.bazelandpyproject.toml. - Deprecated legacy blog directory in favor of integrated documentation.
v0.2: Enhanced Auditing & Rebranding
Major Changes Since v0.1
🚀 Rebranding & Architecture
- Project Rebranding: Renamed the project to Bazel Python Hermetic Blueprint to better reflect its production-ready design.
- Architecture Documentation: Added a comprehensive Build Architecture & Design document with design diagrams and deep-dives into the build system.
- Technology Stack: Added a detailed stack overview in the README with links to all core tool documentation.
🛡️ Security & Quality Audits
- Enhanced Bandit Auditing: Added a dedicated
bandit_testtarget and a root-levelbanditalias for deep recursive security scans of the source directory. - Markdown Linting: Integrated Vale for automated prose and documentation linting.
- Multi-Platform Support: Configured hermetic toolchains for both macOS and Linux (arm64/x86_64) to ensure audit consistency across development and CI environments.
🤖 CI/CD & Automation
- Strict Formatting Enforcement: CI now explicitly fails if code is not formatted according to Ruff standards.
- Smart Bazel Wrapper: Updated
tools/bazelto intelligently skip auto-formatting in CI to maintain build immutability. - Automated Remediation: Mandated automated CI failure diagnosis and remediation in
GEMINI.md. - Git Flow & PR Mandate: Formalized the Git Flow branching model and prohibited direct pushes to the main branch.
Initial project release
feat: enhance security auditing and enforce formatting in CI - Add a standalone bandit_test target for deep security analysis. - Add a bandit alias in the root BUILD file for easier execution. - Update CI workflow to enforce code formatting using Ruff check mode. - Update the Bazel wrapper to skip auto-formatting in CI environments. - Update documentation to reflect new security and formatting workflows.