Update filename now that we have removed obsolete universal wheel
property.
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 2996530..48a51f3 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -230,7 +230,7 @@
- name: Verify Wheel Release Artifact
run: |
# Verify wheel file exists
- export WHEEL_FILENAME="apache_libcloud-${VERSION}-py2.py3-none-any.whl"
+ export WHEEL_FILENAME="apache_libcloud-${VERSION}-py3-none-any.whl"
ls -la "dist/${WHEEL_FILENAME}"
diff --git a/dist/verify_checksums.sh b/dist/verify_checksums.sh
index 6e50ba9..af1e6b4 100755
--- a/dist/verify_checksums.sh
+++ b/dist/verify_checksums.sh
@@ -30,11 +30,11 @@
# 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]="-py2.py3-none-any.whl"
+EXTENSIONS[1]="-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"
-PYPI_MIRROR_URL_WHEEL="https://files.pythonhosted.org/packages/py2.py3/a/apache-libcloud"
+PYPI_MIRROR_URL_WHEEL="https://files.pythonhosted.org/packages/py3/a/apache-libcloud"
# From http://tldp.org/LDP/abs/html/debugging.html#ASSERT
function assert () # If condition false,
@@ -69,7 +69,7 @@
extension=${EXTENSIONS[$i]}
file_name="${VERSION}${extension}"
- if [ "${extension}" = "-py2.py3-none-any.whl" ]; then
+ if [ "${extension}" = "-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 @@
apache_url="${APACHE_MIRROR_URL}/${file_name}"
pypi_url="${PYPI_MIRROR_URL}/${file_name}"
- if [ "${extension}" = "-py2.py3-none-any.whl" ]; then
+ if [ "${extension}" = "-py3-none-any.whl" ]; then
pypi_url="${PYPI_MIRROR_URL_WHEEL}/${file_name}"
else
pypi_url="${PYPI_MIRROR_URL_SOURCE}/${file_name}"