From b14b1593d8b7f21a0106477a8d1d8458b19ad192 Mon Sep 17 00:00:00 2001 From: Pavol Juhas Date: Thu, 28 Mar 2024 18:01:21 -0700 Subject: [PATCH] Remove the `--pre` option from verify-published-package.sh Not needed after #6534 as cirq pre-releases are installed with stable dependencies. --- dev_tools/packaging/verify-published-package.sh | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/dev_tools/packaging/verify-published-package.sh b/dev_tools/packaging/verify-published-package.sh index 1434153b041..b2a1c16fce7 100755 --- a/dev_tools/packaging/verify-published-package.sh +++ b/dev_tools/packaging/verify-published-package.sh @@ -16,8 +16,7 @@ ################################################################################ # Downloads and tests cirq wheels from the pypi package repository. -# Can verify prod, test, or pre-release versions. -# --pre: pre-release cirq from prod pypi +# Can verify test or prod versions. # --test: cirq from test pypi # --prod: cirq from prod pypi # @@ -27,7 +26,7 @@ # dependencies disagree, the tests can spuriously fail. # # Usage: -# dev_tools/packaging/verify-published-package.sh PACKAGE_VERSION --test|--prod|--pre +# dev_tools/packaging/verify-published-package.sh PACKAGE_VERSION --test|--prod ################################################################################ set -e @@ -51,12 +50,8 @@ elif [ "${PROD_SWITCH}" = "--prod" ]; then PIP_FLAGS='' PYPI_REPO_NAME="PROD" PYPI_PROJECT_NAME="cirq" -elif [ "${PROD_SWITCH}" = "--pre" ]; then - PIP_FLAGS='--pre' - PYPI_REPO_NAME="PROD" - PYPI_PROJECT_NAME="cirq" else - echo -e "\033[31mSecond argument must be '--prod' or '--test' or '--pre'.\033[0m" + echo -e "\033[31mSecond argument must be '--test' or '--prod'.\033[0m" exit 1 fi