litellm/.github/workflows
2026-03-25 17:46:37 -07:00
..
auto_update_price_and_context_window_file.py
auto_update_price_and_context_window.yml pin github scripts + remove unused 2026-03-25 17:38:36 -07:00
check_duplicate_issues.yml pin github scripts + remove unused 2026-03-25 17:38:36 -07:00
codeql.yml remove extra @ 2026-03-25 17:46:37 -07:00
codspeed.yml pin github scripts + remove unused 2026-03-25 17:38:36 -07:00
create_daily_staging_branch.yml pin github scripts + remove unused 2026-03-25 17:38:36 -07:00
helm_unit_test.yml re-add helm unit test with checksum pin 2026-03-25 17:38:36 -07:00
interpret_load_test.py
issue-keyword-labeler.yml pin github scripts + remove unused 2026-03-25 17:38:36 -07:00
label-component.yml pin github scripts + remove unused 2026-03-25 17:38:36 -07:00
llm-translation-testing.yml
load_test.yml
locustfile.py
read_pyproject_version.yml
README.md
redeploy_proxy.py
regenerate-poetry-lock.yml
results_stats.csv
run_llm_translation_tests.py
run_observatory_tests.yml
scan_duplicate_issues.yml
stale.yml ci: skip scheduled workflows on forks 2026-03-23 21:29:00 -04:00
test_server_root_path.yml
test-linting.yml chore: add poetry check --lock to lint CI to prevent stale lockfile merges 2026-03-19 14:36:02 -07:00
test-litellm-matrix.yml
test-litellm-ui-build.yml
test-litellm.yml
test-mcp.yml
test-model-map.yaml
test-proxy-e2e-azure-batches.yml Add tenacity to e2e Azure batch CI and revert importorskip 2026-03-04 11:45:14 -03:00
update_release.py

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