Skip to content

[FEATURE] Investigate uv as a replacement for pip #197

@TheGupta2012

Description

@TheGupta2012

Evaluate the potential benefits of using uv as an alternative to pip in pyqasm.

Background

uv is an emerging Python package installer and resolver written in Rust that promises several improvements over traditional pip

Investigation Goals

  1. Evaluate Real-world Performance:

    • Compare installation times for pyqasm dependencies using pip vs uv
    • Measure CI/CD pipeline execution time differences
  2. Compatibility Assessment:

    • Verify uv works with our current dependency specifications
    • Test with the full range of optional dependencies
    • Ensure Cython extensions build correctly
  3. Developer Experience Impact:

    • Analyze workflow changes required for developers
    • Assess learning curve and documentation needs
  4. CI/CD Integration:

    • Test uv in GitHub Actions without breaking existing workflows
    • Compare reliability across different runners and platforms

Potential Integration Approaches

If investigation results are favorable, we could consider:

  1. Optional Recommendation: Document uv as an alternative for developers who want faster installs
  2. Dual Support: Support both tools officially in documentation and CI
  3. Complete Migration: Replace pip with uv throughout the project

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions