build: migrate packaging, CI, and Docker from Poetry to uv#25007
Merged
krrish-berri-2 merged 35 commits intoBerriAI:litellm_oss_staging_04_09_2026from Apr 9, 2026
Merged
build: migrate packaging, CI, and Docker from Poetry to uv#25007krrish-berri-2 merged 35 commits intoBerriAI:litellm_oss_staging_04_09_2026from
krrish-berri-2 merged 35 commits intoBerriAI:litellm_oss_staging_04_09_2026from
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Merging this PR will improve performance by 10.7%
Performance Changes
Comparing |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Contributor
|
Too many files changed for review. ( |
Collaborator
Author
|
Looks like the CodSpeed benchmark regressions may be as a result of it running in a different environment |
The conflict resolution imported only the function but the test body references check_migration as a module throughout. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…Docker layer caching - Move google-generativeai, Pillow, tenacity back to ci group (they are lazily imported and bloat the base SDK install needlessly) - Remove nodejs-wheel-binaries from extra_proxy and proxy-dev (redundant in Docker where system Node.js is already installed via apk) - Remove all nodejs-wheel node replacement and venv npm patching blocks from Dockerfiles since the wheel is no longer installed - Add --no-default-groups to CodSpeed benchmark workflow so the benchmark environment matches the old minimal pip install footprint - Apply standard uv two-phase Docker pattern: copy metadata first, install deps (cached layer), then copy source and install project - Replace CircleCI enterprise no-op with proper uv sync command Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The old workflow used actions/cache/restore (read-only). The uv migration changed it to actions/cache (read-write), which zizmor flags as a cache poisoning risk. Restore the safer read-only variant. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…lert The setup-uv action enables caching by default, which zizmor flags as a cache poisoning risk. Disable it since we already use a read-only cache/restore step. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Silences zizmor cache-poisoning alert. Publishing workflow runs infrequently on protected branches so caching adds no real benefit. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add redis_caching_coverage to coverage combine list (from upstream) - Remove e2e_ui_testing job (deleted upstream) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The logger was patched twice — first via mocker.patch() then via mocker.patch.object(autospec=True). The second call fails because autospec cannot inspect an already-mocked attribute. Remove the redundant first patch. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The Dockerfile.non_root build ran out of disk on the CI runner. Remove Android SDK, .NET, Boost, and GHC toolchains (~12GB) to free space. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
a6c30b3
into
BerriAI:litellm_oss_staging_04_09_2026
47 of 50 checks passed
1 task
Chesars
added a commit
that referenced
this pull request
Apr 25, 2026
Sync CI configs with upstream/litellm_internal_staging: - Migrate from Poetry to uv (PR #25007) - Pull in zizmor security fixes for workflows - Add isolated unit test workflows + reusable bases - Drop redundant matrix workflow and azure-batches workflow - Drop .circleci/requirements.txt (replaced by uv lockfile)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relevant issues
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
tests/test_litellm/directory, Adding at least 1 test is a hard requirement - see detailsmake test-unit@greptileaiand received a Confidence Score of at least 4/5 before requesting a maintainer reviewCI (LiteLLM team)
Type
🚄 Infrastructure
Changes
This PR migrates the repository from Poetry / ad hoc pip install paths to uv across packaging, CI, Docker, and contributor workflows.
Main changes:
uv.lock, remove Poetry lockfiles, and move active install paths touv sync --frozentests/test_litellm/Local verification run:
uv lock --checkuv build --package litellmuv build --package litellm-enterpriseuv build --package litellm-proxy-extrasuv run --no-sync pytest tests/test_litellm/test_main.py::test_url_with_format_param -qdocker build -f docker/Dockerfile.health_check -t litellm-healthcheck-test .Notes: