This is an automated email from the ASF dual-hosted git repository.

micafer pushed a commit to branch fix_verify_artifact
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit 70c9f6226ccb5fc1950e6301d854c11dfa3df619
Author: Miguel Caballer <[email protected]>
AuthorDate: Mon Jan 26 08:40:26 2026 +0100

    Fix wheel extension in verify_checksums.sh
---
 dist/verify_checksums.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dist/verify_checksums.sh b/dist/verify_checksums.sh
index af1e6b426..b3e1b3ca7 100755
--- a/dist/verify_checksums.sh
+++ b/dist/verify_checksums.sh
@@ -30,7 +30,7 @@ TMP_DIR=$(mktemp -d)
 # TODO: Use json endpoint + jq to parse out the url
 # https://pypi.org/pypi/apache-libcloud/3.4.0/json
 EXTENSIONS[0]=".tar.gz"
-EXTENSIONS[1]="-py3-none-any.whl"
+EXTENSIONS[1]="-py2.py3-none-any.whl"
 
 APACHE_MIRROR_URL="http://www.apache.org/dist/libcloud";
 
PYPI_MIRROR_URL_SOURCE="https://pypi.python.org/packages/source/a/apache-libcloud";
@@ -69,7 +69,7 @@ do
     extension=${EXTENSIONS[$i]}
     file_name="${VERSION}${extension}"
 
-    if [ "${extension}" = "-py3-none-any.whl" ]; then
+    if [ "${extension}" = "-py2.py3-none-any.whl" ]; then
         # shellcheck disable=SC2001
         file_name=$(echo "${file_name}" | sed 
"s/apache-libcloud/apache_libcloud/g")
     fi
@@ -77,7 +77,7 @@ do
     apache_url="${APACHE_MIRROR_URL}/${file_name}"
     pypi_url="${PYPI_MIRROR_URL}/${file_name}"
 
-    if [ "${extension}" = "-py3-none-any.whl" ]; then
+    if [ "${extension}" = "-py2.py3-none-any.whl" ]; then
         pypi_url="${PYPI_MIRROR_URL_WHEEL}/${file_name}"
     else
         pypi_url="${PYPI_MIRROR_URL_SOURCE}/${file_name}"

Reply via email to