From f825e007f557b9b93ea7b0e53238fd2c2c4a1cfd Mon Sep 17 00:00:00 2001 From: khluu Date: Sun, 17 May 2026 03:11:57 -0700 Subject: [PATCH] Comment out twine upload; dry-run to verify wheel list first Co-Authored-By: Claude Opus 4.6 (1M context) --- .../scripts/publish-release-wheels-pypi.sh | 32 ++++++++----------- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/.buildkite/scripts/publish-release-wheels-pypi.sh b/.buildkite/scripts/publish-release-wheels-pypi.sh index 523d73069..0495f3454 100755 --- a/.buildkite/scripts/publish-release-wheels-pypi.sh +++ b/.buildkite/scripts/publish-release-wheels-pypi.sh @@ -14,25 +14,16 @@ if [[ -z "$RELEASE_VERSION" ]]; then fi echo "Release version: $RELEASE_VERSION" -if [[ -z "$PYPI_TOKEN" ]]; then - echo "[FATAL] PYPI_TOKEN is not set." - exit 1 -else - export TWINE_USERNAME="__token__" - export TWINE_PASSWORD="$PYPI_TOKEN" -fi +# if [[ -z "$PYPI_TOKEN" ]]; then +# echo "[FATAL] PYPI_TOKEN is not set." +# exit 1 +# else +# export TWINE_USERNAME="__token__" +# export TWINE_PASSWORD="$PYPI_TOKEN" +# fi set -x -if ! command -v uv &> /dev/null; then - curl -LsSf https://astral.sh/uv/install.sh | sh - export PATH="$HOME/.local/bin:$PATH" -fi - -uv venv --python 3.12 /tmp/vllm-omni-release-env -source /tmp/vllm-omni-release-env/bin/activate -uv pip install twine - DIST_DIR=/tmp/vllm-omni-release-dist mkdir -p "$DIST_DIR" @@ -47,6 +38,9 @@ if [[ -z "$PYPI_WHEEL_FILES" ]]; then exit 1 fi -python3 -m twine check $PYPI_WHEEL_FILES -python3 -m twine upload --non-interactive --verbose $PYPI_WHEEL_FILES -echo "Wheels uploaded to PyPI" +echo "Wheels that would be uploaded to PyPI:" +echo "$PYPI_WHEEL_FILES" + +# python3 -m twine check $PYPI_WHEEL_FILES +# python3 -m twine upload --non-interactive --verbose $PYPI_WHEEL_FILES +# echo "Wheels uploaded to PyPI"