litellm - ✅(Solved) Fix PyPI has quarantined litellm [2 pull requests, 13 comments, 11 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
BerriAI/litellm#24517Fetched 2026-04-08 01:23:06
View on GitHub
Comments
13
Participants
11
Timeline
25
Reactions
4
Timeline (top)
commented ×13cross-referenced ×4subscribed ×4mentioned ×2

Fix Action

Fixed

PR fix notes

PR #2499: Remove unused litellm dependency from pinned requirements

Description (problem / solution / changelog)

@pankajastro reported that litellm has been quarantined.

I believe litellm is not a direct or transitive dependency of any package in the project (at least my pipdeptree on the local hatch env says so) — it probably was an artefact from the environment where requirements were frozen and copied over from while working on PR https://github.com/astronomer/astronomer-cosmos/pull/2343.

related: https://github.com/BerriAI/litellm/issues/24517 related: https://github.com/BerriAI/litellm/issues/24518 related: https://github.com/BerriAI/litellm/issues/24521

Changed files

  • requirements/requirements-airflow-2.11-dbt-1.11.txt (modified, +0/-1)
  • requirements/requirements-airflow-2.9-dbt-1.11.txt (modified, +0/-1)
  • requirements/requirements-airflow-3.0-dbt-1.11.txt (modified, +0/-1)
  • requirements/requirements-airflow-3.1-dbt-1.11.txt (modified, +0/-1)
RAW_BUFFERClick to expand / collapse

My builds started failing all of a sudden, upon further analysis found out that PyPI admins have quarantined litellm. Are there any alternative package managers? Do we know why PyPI decided to quarantine litellm?

extent analysis

Fix Plan

The fix is to replace the quarantined litellm package with an alternative or update to a version that is not quarantined.

Steps to Fix

  • Identify Alternative Packages: Research and identify alternative packages that provide similar functionality to litellm.
  • Update Dependencies: Update your project's dependencies to use the alternative package.
  • Example Code Change:
# Before
import litellm

# After
import alternative_package

Replace alternative_package with the actual package name you choose.

  • Update Package Installation: Update your package installation scripts to install the new package. For example, if you're using pip, update your requirements.txt file:
# Before
litellm==1.0.0

# After
alternative_package==1.0.0

Verification

Verify that your builds are successful after updating the dependencies and package installation scripts.

Extra Tips

  • Always monitor your dependencies for updates and security vulnerabilities.
  • Consider using a dependency management tool like pip-compile or poetry to help manage your dependencies.
  • Keep your requirements.txt file up-to-date to ensure consistent package installations across environments.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING