Skip to content

DX: Migrate project workflow and CI/CD from Rye to uv #3406

Description

@Santhosh-p653

Confirm this is a feature request for the Python library and not the underlying OpenAI API.

  • This is a feature request for the Python library

Describe the feature or improvement you're requesting

Is your feature request related to a problem? Please describe.

Rye has been officially deprecated, with its features fully integrated into uv by the Astral team. Keeping [tool.rye] blocks and legacy Rye actions in CI/CD pipelines introduces technical debt. Migrating to native uv toolchains will optimize local development workflows and significantly accelerate GitHub Actions runner build times.

Describe the solution you'd like

I would love to submit a PR to migrate the repository infrastructure over to uv. The changes include:

  1. pyproject.toml: Remove [tool.rye] blocks, map dev-dependencies to standard [dependency-groups], and translate task sequences under [tool.rye.scripts] into native [tool.uv.scripts] composite tasks.
  2. Lockfiles: Remove requirements.lock and requirements-dev.lock, replacing them with a single, optimized uv.lock.
  3. CI/CD Workflows: Update .github/workflows/ files to replace legacy Rye installation steps with the official astral-sh/setup-uv action to leverage faster built-in caching.
  4. Documentation: Refresh the development setup commands in CONTRIBUTING.md and README.md.

Describe alternatives you've considered

Leaving the project on Rye, but given its end-of-life status, migrating to uv ensures long-term maintenance and compatibility with upcoming Python releases.

Additional context

I have already validated the dependency group mappings and composite task configurations locally. If this looks good to the maintainers, please assign it to me and I can open a clean, fully tested PR right away!

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions