Basic information
About publish-pypi
Build and publish the Weave Python SDK to PyPI. Use when releasing a new version.
publish-pypi is an agent skill listed in the AddMCP.net directory, published by wandb. Runtime: Python. License: Apache-2.0. The repository has 1,145 GitHub stars. Source code is hosted on github.com.
Overview
What is publish-pypi?
name: publish-pypi description: Build and publish the Weave Python SDK to PyPI. Use when releasing a new version.
Publish to PyPI
This replicates the GitHub Actions publish-pypi-release workflow.
Arguments
$ARGUMENTScan betestto publish to Test PyPI, or empty for production PyPI
Instructions
First, run a dry-run to build and verify the package:
uv run ./scripts/publish_pypi_release.py --dry-run
If the user wants to publish to Test PyPI (or $ARGUMENTS contains "test"):
uv run ./scripts/publish_pypi_release.py --test
If the user wants to publish to production PyPI:
uv run ./scripts/publish_pypi_release.pyAuthentication
Before publishing, ensure the user has set up authentication. Options:
TWINE_API_KEYenvironment variable (recommended for production)TWINE_TEST_API_KEYenvironment variable (for Test PyPI).pypircfile in home directory
If authentication fails, help the user set up their credentials.
After Publishing
Remind the user to verify the package:
- Test PyPI: https://test.pypi.org/project/weave/
- Production PyPI: https://pypi.org/project/weave/
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In