Skip to content

Use uv and uv run pip for Dockerfile generation#2747

Open
tempusfrangit wants to merge 1 commit intomainfrom
feat/uv-build
Open

Use uv and uv run pip for Dockerfile generation#2747
tempusfrangit wants to merge 1 commit intomainfrom
feat/uv-build

Conversation

@tempusfrangit
Copy link
Member

  • Replace pyenv/pip with uv for Python installation (uv python install)
  • Use UV_SYSTEM_PYTHON=true so uv operates on the system Python
  • For user requirements (pip install -r), use 'uv run pip' which invokes Python's own pip/OpenSSL stack, working around rustls's lack of P-521 ECDSA support needed for Cloudflare Warp MITM certificates
  • Append CA cert directly to bundle file in addition to update-ca-certificates for robustness across base images
  • Update all tests to match new Dockerfile output

- Replace pyenv/pip with uv for Python installation (uv python install)
- Use UV_SYSTEM_PYTHON=true so uv operates on the system Python
- For user requirements (pip install -r), use 'uv run pip' which invokes
  Python's own pip/OpenSSL stack, working around rustls's lack of P-521
  ECDSA support needed for Cloudflare Warp MITM certificates
- Append CA cert directly to bundle file in addition to update-ca-certificates
  for robustness across base images
- Update all tests to match new Dockerfile output
@tempusfrangit tempusfrangit requested a review from a team as a code owner February 19, 2026 01:00
@tempusfrangit tempusfrangit added this to the 0.17.0 Release milestone Feb 19, 2026
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

Comments