Skip to content

Commit 7cf97c8

Browse files
committed
Update filename now that we have removed obsolete universal wheel
property.
1 parent bc71541 commit 7cf97c8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ jobs:
230230
- name: Verify Wheel Release Artifact
231231
run: |
232232
# Verify wheel file exists
233-
export WHEEL_FILENAME="apache_libcloud-${VERSION}-py2.py3-none-any.whl"
233+
export WHEEL_FILENAME="apache_libcloud-${VERSION}-py3-none-any.whl"
234234
235235
ls -la "dist/${WHEEL_FILENAME}"
236236

dist/verify_checksums.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ TMP_DIR=$(mktemp -d)
3030
# TODO: Use json endpoint + jq to parse out the url
3131
# https://pypi.org/pypi/apache-libcloud/3.4.0/json
3232
EXTENSIONS[0]=".tar.gz"
33-
EXTENSIONS[1]="-py2.py3-none-any.whl"
33+
EXTENSIONS[1]="-py3-none-any.whl"
3434

3535
APACHE_MIRROR_URL="http://www.apache.org/dist/libcloud"
3636
PYPI_MIRROR_URL_SOURCE="https://pypi.python.org/packages/source/a/apache-libcloud"
37-
PYPI_MIRROR_URL_WHEEL="https://files.pythonhosted.org/packages/py2.py3/a/apache-libcloud"
37+
PYPI_MIRROR_URL_WHEEL="https://files.pythonhosted.org/packages/py3/a/apache-libcloud"
3838

3939
# From http://tldp.org/LDP/abs/html/debugging.html#ASSERT
4040
function assert () # If condition false,
@@ -69,15 +69,15 @@ do
6969
extension=${EXTENSIONS[$i]}
7070
file_name="${VERSION}${extension}"
7171

72-
if [ "${extension}" = "-py2.py3-none-any.whl" ]; then
72+
if [ "${extension}" = "-py3-none-any.whl" ]; then
7373
# shellcheck disable=SC2001
7474
file_name=$(echo "${file_name}" | sed "s/apache-libcloud/apache_libcloud/g")
7575
fi
7676

7777
apache_url="${APACHE_MIRROR_URL}/${file_name}"
7878
pypi_url="${PYPI_MIRROR_URL}/${file_name}"
7979

80-
if [ "${extension}" = "-py2.py3-none-any.whl" ]; then
80+
if [ "${extension}" = "-py3-none-any.whl" ]; then
8181
pypi_url="${PYPI_MIRROR_URL_WHEEL}/${file_name}"
8282
else
8383
pypi_url="${PYPI_MIRROR_URL_SOURCE}/${file_name}"

0 commit comments

Comments
 (0)