litellm/.github/workflows
Chesars 67e4604284 Merge upstream/main into litellm_staging_03_22_2026
Resolved conflicts:
- streaming_handler.py: combined role check (PR #24354, Azure streaming)
  with reasoning_items check (new in main) — both are independent OR
  conditions in is_chunk_non_empty()
- CI/CD: accepted main's versions throughout
  - Redis tests migrated to CircleCI (PR #25354): removed enable-redis
    from GH Actions workflows
  - E2E UI tests restructured (PR #25365): simplified CircleCI job
  - Coverage via Codecov added to all GH Actions unit test workflows
  - Deleted test-litellm-matrix.yml and test-proxy-e2e-azure-batches.yml
    (removed in main)
2026-04-15 22:54:53 -03:00
..
_test-unit-base.yml [Infra] Remove Redundant Matrix Unit Test Workflow (#25251) 2026-04-06 16:52:38 -07:00
_test-unit-services-base.yml [Infra] Migrate Redis caching tests from GHA to CircleCI 2026-04-08 09:07:12 -07:00
auto_update_price_and_context_window_file.py only add/update vercel ai gateway models 2025-08-04 17:22:36 -07:00
auto_update_price_and_context_window.yml chore: fixes 2026-04-05 01:30:57 -07:00
check_duplicate_issues.yml chore: fixes 2026-04-05 01:30:57 -07:00
check-schema-sync.yml chore: fixes 2026-04-05 01:30:57 -07:00
codeql.yml chore: fixes 2026-04-05 01:30:57 -07:00
codspeed.yml chore: fixes 2026-04-05 01:30:57 -07:00
create_daily_staging_branch.yml chore: fixes 2026-04-05 01:30:57 -07:00
create-release.yml [Infra] Pin cosign.pub verification to initial commit hash 2026-04-06 22:53:23 -07:00
helm_unit_test.yml chore: fixes 2026-04-05 01:30:57 -07:00
issue-keyword-labeler.yml chore: fixes 2026-04-05 01:30:57 -07:00
label-component.yml chore: fixes 2026-04-05 01:30:57 -07:00
llm-translation-testing.yml chore: fixes 2026-04-05 01:30:57 -07:00
publish_to_pypi.yml chore: fixes 2026-04-05 01:30:57 -07:00
read_pyproject_version.yml chore: fixes 2026-04-05 01:30:57 -07:00
README.md build(github/manual_pypi_publish.yml): manual workflow to publish pip package - used for pushing dev releases (#12985) 2025-07-25 09:26:47 -07:00
results_stats.csv
run_llm_translation_tests.py [Docs] Add cosign Docker image verification steps to security blog posts (#25122) 2026-04-06 09:59:27 -07:00
run_observatory_tests.yml chore: fixes 2026-04-05 01:30:57 -07:00
scan_duplicate_issues.yml chore: fixes 2026-04-05 01:30:57 -07:00
scorecard.yml chore: fixes 2026-04-05 01:30:57 -07:00
stale.yml chore: fixes 2026-04-05 01:30:57 -07:00
sync-schema.yml chore: fixes 2026-04-05 01:30:57 -07:00
test_server_root_path.yml chore: fixes 2026-04-05 01:30:57 -07:00
test-linting.yml chore: fixes 2026-04-05 01:30:57 -07:00
test-litellm-ui-build.yml chore: fixes 2026-04-05 01:30:57 -07:00
test-litellm.yml chore: fixes 2026-04-05 01:30:57 -07:00
test-mcp.yml chore: fixes 2026-04-05 01:30:57 -07:00
test-model-map.yaml chore: fixes 2026-04-05 01:30:57 -07:00
test-unit-caching-redis.yml [Infra] Migrate Redis caching tests from GHA to CircleCI 2026-04-08 09:07:12 -07:00
test-unit-core-utils.yml [Infra] Remove Redundant Matrix Unit Test Workflow (#25251) 2026-04-06 16:52:38 -07:00
test-unit-documentation.yml chore: fixes 2026-04-05 01:30:57 -07:00
test-unit-enterprise-routing.yml [Infra] Remove Redundant Matrix Unit Test Workflow (#25251) 2026-04-06 16:52:38 -07:00
test-unit-integrations.yml [Infra] Remove Redundant Matrix Unit Test Workflow (#25251) 2026-04-06 16:52:38 -07:00
test-unit-llm-providers.yml [Infra] Remove Redundant Matrix Unit Test Workflow (#25251) 2026-04-06 16:52:38 -07:00
test-unit-misc.yml [Infra] Remove Redundant Matrix Unit Test Workflow (#25251) 2026-04-06 16:52:38 -07:00
test-unit-proxy-auth.yml [Infra] Remove Redundant Matrix Unit Test Workflow (#25251) 2026-04-06 16:52:38 -07:00
test-unit-proxy-db.yml [Infra] Migrate Redis caching tests from GHA to CircleCI 2026-04-08 09:07:12 -07:00
test-unit-proxy-endpoints.yml [Infra] Remove Redundant Matrix Unit Test Workflow (#25251) 2026-04-06 16:52:38 -07:00
test-unit-proxy-infra.yml [Infra] Remove Redundant Matrix Unit Test Workflow (#25251) 2026-04-06 16:52:38 -07:00
test-unit-proxy-legacy.yml chore: fixes 2026-04-05 01:30:57 -07:00
test-unit-responses-caching-types.yml [Infra] Remove Redundant Matrix Unit Test Workflow (#25251) 2026-04-06 16:52:38 -07:00
test-unit-security.yml [Infra] Migrate Redis caching tests from GHA to CircleCI 2026-04-08 09:07:12 -07:00
update_release.py
zizmor.yml chore: fixes 2026-04-05 01:30:57 -07:00

Simple PyPI Publishing

A GitHub workflow to manually publish LiteLLM packages to PyPI with a specified version.

How to Use

  1. Go to the Actions tab in the GitHub repository
  2. Select Simple PyPI Publish from the workflow list
  3. Click Run workflow
  4. Enter the version to publish (e.g., 1.74.10)

What the Workflow Does

  1. Updates the version in pyproject.toml
  2. Copies the model prices backup file
  3. Builds the Python package
  4. Publishes to PyPI

Prerequisites

Make sure the following secret is configured in the repository:

  • PYPI_PUBLISH_PASSWORD: PyPI API token for authentication

Example Usage

  • Version: 1.74.11 → Publishes as v1.74.11
  • Version: 1.74.10-hotfix1 → Publishes as v1.74.10-hotfix1

Features

  • Manual trigger with version input
  • Automatic version updates in pyproject.toml
  • Repository safety check (only runs on official repo)
  • Clean package building and publishing
  • Success confirmation with PyPI package link