File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5050 VERSION=$(python -c "import versioneer; print(versioneer.get_version())")
5151 VERSION=${VERSION#v}
5252 echo "Looking for package: ${PACKAGE_NAME}==${VERSION}"
53- for i in {1..90 }; do
54- echo "Attempt $i/90 : Trying to download wheel and sdist..."
53+ for i in {1..5 }; do
54+ echo "Attempt $i/5 : Trying to download wheel and sdist..."
5555 rm -rf /tmp/pypi_check_download && mkdir -p /tmp/pypi_check_download
5656 pip download --no-deps --dest /tmp/pypi_check_download ${PACKAGE_NAME}==${VERSION} >/dev/null 2>&1
5757 WHEEL=$(ls /tmp/pypi_check_download/*.whl 2>/dev/null | head -1)
6060 echo "✅ Both wheel and sdist for ${PACKAGE_NAME}==${VERSION} are downloadable!"
6161 break
6262 fi
63- if [ $i -eq 90 ]; then
63+ if [ $i -eq 5 ]; then
6464 echo "❌ Could not download both wheel and sdist after 15 minutes"
6565 echo "Available files:"
6666 ls -l /tmp/pypi_check_download || echo "No files downloaded"
You can’t perform that action at this time.
0 commit comments