litellm/.github/workflows
2025-09-02 14:15:00 -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
ghcr_deploy.yml feat: non-root docker hub push (#12413) 2025-07-11 08:34:32 -07:00
ghcr_helm_deploy.yml
helm_unit_test.yml ci: add helm unittest 2025-03-08 01:29:25 +01:00
interpret_load_test.py
issue-keyword-labeler.yml Implement GitHub Action to auto-label issues with provider keywords (#13537) 2025-08-12 21:18:20 -07:00
label-mlops.yml
llm-translation-testing.yml feat: add local LLM translation testing with artifact generation (#12120) 2025-06-27 21:24:19 -07:00
load_test.yml
locustfile.py
main.yml
publish-migrations.yml ci: update github action 2025-03-25 23:11:45 -07:00
read_pyproject_version.yml
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
redeploy_proxy.py
reset_stable.yml
results_stats.csv
run_llm_translation_tests.py feat: add local LLM translation testing with artifact generation (#12120) 2025-06-27 21:24:19 -07:00
simple_pypi_publish.yml 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
stale.yml
test-linting.yml [Bug Fix] litellm incompatible with newest release of openAI v1.100.0 (#13728) 2025-08-18 18:26:17 -07:00
test-litellm.yml google-cloud-aiplatform 2025-09-02 14:15:00 -07: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