Skip to content

chore(deps): finish pip→uv swap in Makefile and CI#41197

Open
msyavuz wants to merge 2 commits into
masterfrom
msyavuz/chore/uv-pip-finish
Open

chore(deps): finish pip→uv swap in Makefile and CI#41197
msyavuz wants to merge 2 commits into
masterfrom
msyavuz/chore/uv-pip-finish

Conversation

@msyavuz

@msyavuz msyavuz commented Jun 18, 2026

Copy link
Copy Markdown
Member

SUMMARY

uv already drives Python dependency compilation (uv pip compile via scripts/uv-pip-compile.sh) and every install site in CI and Docker (setup-backend, Dockerfile, docker/pip-install.sh). A few raw-pip call sites were left behind; this swaps them to the uv pip compatibility interface so the toolchain is consistent.

Changed call sites:

  • Makefilesuperset, update-py, pre-commit targets (bootstraps uv into the active venv, then uv pip install)
  • CIbashlib.sh (testdata / playwright_testdata), superset-app-cli, superset-python-presto-hive

No change to requirements/*.txt or pyproject.toml — this is the drop-in uv pip interface only, not a move to uv.lock/uv sync. CI sites already have uv installed system-wide via setup-backend, so they use --system. The intentional command -v uv fallbacks in docker/docker-bootstrap.sh (for older images) are left in place.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

N/A — build/CI tooling only, no UI.

TESTING INSTRUCTIONS

  • make -n superset / make -n update-py / make -n pre-commit show uv pip install.
  • E2E, app-cli, and presto-hive CI jobs build the editable package via uv pip install --system -e . and pass.
  • bash -n .github/workflows/bashlib.sh is clean.

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI — No, build/CI tooling only.
  • Includes DB Migration — No.
  • Introduces new feature or API — No.
  • Removes existing feature or API — No.

Use uv pip install at the remaining raw-pip call sites: the Makefile
local-dev targets (superset, update-py, pre-commit) and the CI steps
that build the editable package (bashlib.sh testdata/playwright_testdata,
superset-app-cli, superset-python-presto-hive).

uv already drives dependency compilation (uv pip compile via
scripts/uv-pip-compile.sh) and every other install site (setup-backend,
Dockerfile, docker/pip-install.sh). These were the last stragglers.

The pinned requirements/*.txt and pyproject.toml are unchanged; this is
the drop-in uv pip compatibility interface only. The Makefile bootstraps
uv into the active venv first; CI sites already have uv installed
system-wide via setup-backend. Intentional command -v uv fallbacks in
docker-bootstrap.sh (older images) are left in place.
@bito-code-review

bito-code-review Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Code Review Agent Run #71be03

Actionable Suggestions - 0
Review Details
  • Files reviewed - 2 · Commit Range: 4c947df..4c947df
    • .github/workflows/bashlib.sh
    • Makefile
  • Files skipped - 2
    • .github/workflows/superset-app-cli.yml - Reason: Filter setting
    • .github/workflows/superset-python-presto-hive.yml - Reason: Filter setting
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers a full AI review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.

Documentation & Help

AI Code Review powered by Bito Logo

@github-actions github-actions Bot added github_actions Pull requests that update GitHub Actions code and removed dependencies:python labels Jun 18, 2026
@netlify

netlify Bot commented Jun 18, 2026

Copy link
Copy Markdown

Deploy Preview for superset-docs-preview ready!

Name Link
🔨 Latest commit 99dfa7e
🔍 Latest deploy log https://app.netlify.com/projects/superset-docs-preview/deploys/6a33da0c214cb50008394c91
😎 Deploy Preview https://deploy-preview-41197--superset-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Jun 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.33%. Comparing base (c218dc4) to head (99dfa7e).

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #41197   +/-   ##
=======================================
  Coverage   64.33%   64.33%           
=======================================
  Files        2651     2651           
  Lines      144766   144766           
  Branches    33401    33401           
=======================================
  Hits        93131    93131           
  Misses      49965    49965           
  Partials     1670     1670           
Flag Coverage Δ
hive 39.32% <ø> (ø)
javascript 68.48% <ø> (ø)
mysql 58.06% <ø> (ø)
postgres 58.12% <ø> (ø)
presto 40.91% <ø> (ø)
python 59.57% <ø> (ø)
sqlite 57.78% <ø> (ø)
unit 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant