Skip to content

Commit

Permalink
Add voodoo sleep to test-release script
Browse files Browse the repository at this point in the history
  • Loading branch information
tartley committed Jun 16, 2022
1 parent f8ab4fd commit 2c1210d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test-release
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ mkdir -p $sandbox
# Create a temporary disposable virtualenv.
$syspython -m venv --clear venv

# voodoo sleep. I saw the following install fail, due to expected version
# not being listed at test.pypi.org, but then a few seconds later, re-run
# manually. it worked fine.
sleep 5

# Install the package we just uploaded.
# (--extra-index-url for this project's requirements)
venv/bin/python -m pip --quiet install --index-url https://test.pypi.org/simple --extra-index-url https://pypi.org/simple colorama==$version
Expand Down

0 comments on commit 2c1210d

Please sign in to comment.