You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by mi...@apache.org on 2026/01/26 07:40:44 UTC

(libcloud) branch fix_verify_artifact created (now 70c9f6226)

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

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


      at 70c9f6226 Fix wheel extension in verify_checksums.sh

This branch includes the following new commits:

     new 70c9f6226 Fix wheel extension in verify_checksums.sh

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(libcloud) 01/01: Fix wheel extension in verify_checksums.sh

Posted by mi...@apache.org.
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 <mi...@upv.es>
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}"