lablink-allocator-service v0.0.2a0
Pre-release
Pre-release
·
32 commits
to main
since this release
lablink-allocator-service v0.0.2a0
π Major Changes
Package-based Architecture (#179)
- Restructured allocator as installable Python package published to PyPI
- Added console script entry points:
lablink-allocator,generate-init-sql - Production Docker images now install from PyPI instead of copying source
- Enabled version pinning and reproducible builds
π¦ Installation
Using pip:
pip install lablink-allocator-service==0.0.2a0Using uv (recommended):
uv pip install lablink-allocator-service==0.0.2a0Running:
generate-init-sql # Generate PostgreSQL init script
lablink-allocator # Start Flask application⨠New Features
- Console script entry points:
lablink-allocator,generate-init-sql - Module execution support:
python -m lablink_allocator_service - Entry point callable verification in CI/CD
π Bug Fixes
- Fixed empty
main()function that prevented Flask from starting - Consolidated duplicate
if __name__ == "__main__"blocks - Fixed incorrect indentation making
main()unreachable - Renamed
generate-init-sql.pyβgenerate_init_sql.py(Python convention)
π§ Improvements
- Virtual environment support in dev and production Docker images
- Entry point callable tests (catches scope/indentation bugs)
- Better error detection before deployment
π Requirements
- Python β₯3.9
- PostgreSQL (for production)
π€ Generated with Claude Code