Skip to content

v0.2.0

Choose a tag to compare

@shima004 shima004 released this 04 Aug 07:29
61f25e3

Full Changelog: v0.1.5...v0.2.0

๐Ÿš€ Update to new rcrscore and migrate from Poetry to uv

Overview

This PR introduces major dependency management and Python version updates to modernize the project:

  1. Migration from Poetry to uv: Replaced Poetry with uv for faster dependency management
  2. rcrscore update: Updated to new rcrscore v0.2.0 with improved functionality
  3. Python version bump: Updated minimum Python requirement to 3.13

๐Ÿ”„ Major Changes

Package Management Migration

  • Removed: poetry.lock, poetry.toml
  • Added: uv.lock with comprehensive dependency resolution
  • Updated: pyproject.toml to use uv_build backend instead of Poetry
  • Updated: Build system configuration for uv compatibility

Dependencies & rcrscore Update

  • rcrscore: Updated to v0.2.0 from https://github.com/adf-python/rcrs-core-python
  • Python: Minimum version requirement updated to 3.13
  • Dependencies: Updated all dependencies to latest compatible versions:
    • bitarray>=3.6.0
    • click>=8.2.1
    • jinja2>=3.1.6
    • protobuf>=6.31.1
    • scikit-learn>=1.7.1
    • And more...

CI/CD Updates

  • GitHub Actions: Updated workflows to use uv instead of Poetry
  • Cache strategy: Modified to cache based on uv.lock instead of poetry.lock
  • Documentation build: Updated to use uv for dependency installation
  • Python version: Updated CI to use Python 3.12 for compatibility

Project Configuration

  • Build backend: Changed from Poetry to uv_build>=0.8.2,<0.9.0
  • Dependency groups: Migrated dev dependencies to uv's dependency groups format
  • Python version file: Updated .python-version to 3.13

๐Ÿ› Breaking Changes

  • Python 3.13+ required: Projects using this version must upgrade Python
  • uv required: Poetry is no longer supported for dependency management
  • New rcrscore API: May require code updates for rcrscore-dependent functionality

๐Ÿ”ง Migration Guide

For existing users:

  1. Install uv:

    pip install uv
  2. Install dependencies:

    uv sync
  3. Run the agent:

    uv run python ./adf_core_python/launcher.py

โœ… Testing

  • All existing tests pass with the new dependencies
  • CI/CD pipeline updated and verified
  • Documentation builds successfully with uv

๐Ÿ“š Documentation

  • README updated with new installation instructions
  • Build and development commands updated for uv
  • CI workflows documentation reflects new setup