Skip to content

Conversation

@shima004
Copy link
Member

@shima004 shima004 commented Aug 4, 2025

🚀 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

@shima004 shima004 self-assigned this Aug 4, 2025
@shima004 shima004 force-pushed the feature/use-new-rcrscore branch from 056b866 to 1cc2fa6 Compare August 4, 2025 06:31
@shima004 shima004 merged commit 6e84a3d into develop Aug 4, 2025
5 checks passed
@shima004 shima004 deleted the feature/use-new-rcrscore branch August 4, 2025 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants