Skip to content

Switch CI Python dependency install from pip to uv #4519

Closed

Description

@Yicong-Huang

Task Summary

The Install dependencies step in .github/workflows/github-action-build.yml runs pip install -r requirements.txt for both the scala and python jobs. This is one of the slowest steps:

  • scala job: ~1m 21s
  • python matrix: 1m 12s – 4m 41s (3.13 is slowest because some packages lack prebuilt wheels)

An exploratory attempt to enable the built-in pip wheel cache (actions/setup-python + cache: 'pip') only saved ~14s — the bottleneck is install (resolve + extract + write site-packages for ~230 packages), not download.

Switching to uv pip install --system (with uv installed via python -m pip install uv, no third-party action needed) is expected to bring the install step to ~10s on the same wheel set.

Priority

P3 – Low

Task Type

DevOps / Deployment

Activity

  1. added 2 commits that reference this issue on Apr 26, 2026
    f0cfa99
    329cafb
  2. changed the title [-]Cache pip wheels and sbt build artifacts in CI scala job[/-] [+]Switch CI Python dependency install from pip to uv[/+] on Apr 26, 2026
  3. self-assigned this
    on Apr 26, 2026
  4. added 2 commits that reference this issue on Apr 26, 2026
    f59dde5
    954f41b
  5. added 2 commits that reference this issue on Jun 22, 2026
    0401c1d
    0c36cac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions