Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: migrate from poetry to uv #594

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

devin-ai-integration[bot]
Copy link
Contributor

Migration from Poetry to uv

This PR migrates the package manager from Poetry to uv, following modern Python packaging standards and improving dependency management.

Changes

  • Convert [tool.poetry] to [project] format following PEP 621
  • Migrate dependencies to PEP 508 format
  • Move development dependencies to 'dev' extra
  • Replace poetry-dynamic-versioning with uv-dynamic-versioning
  • Remove Poetry-specific files (poetry.lock, poetry.toml)
  • Preserve all existing tool configurations (ruff, pytest, etc.)

Migration Details

Package Metadata

  • Updated project metadata to use PEP 621 format
  • Converted author format to structured table
  • Added URLs table for documentation links

Dependencies

  • Converted all version constraints to PEP 508 format
  • Maintained existing version ranges while improving clarity
  • Preserved all optional dependencies and extras

Build System

  • Updated to use uv-dynamic-versioning
  • Maintained dynamic version calculation functionality
  • Simplified build system requirements

Development Setup

  • Consolidated development dependencies into 'dev' extra
  • Preserved all development tools and configurations
  • Maintained existing task runner setup

Testing

The changes have been verified through:

  • Package metadata validation
  • Dependency resolution checks
  • Build system verification

Link to Devin run: https://app.devin.ai/sessions/c8cd866c35be407d8cedb5b10de2f7b2

- Convert [tool.poetry] to [project] format
- Migrate dependencies to PEP 508 format
- Move dev dependencies to dev extra
- Replace poetry-dynamic-versioning with uv-dynamic-versioning
- Remove poetry-specific files

Co-Authored-By: Aaron <AJ> Steers <[email protected]>
Copy link
Contributor Author

🤖 Devin AI Engineer

Original prompt from Aaron:

@Devin - Make a migration guide from poetry 1.x to uv

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

devin-ai-integration bot and others added 15 commits January 28, 2025 19:20
… version constraints

Co-Authored-By: Aaron <AJ> Steers <[email protected]>
Co-Authored-By: Aaron <AJ> Steers <[email protected]>
Copy link
Contributor

@aaronsteers aaronsteers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use setup-uv in github actions instead of manually installing uv in the workflow.

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.

1 participant