Keep release smoke dependencies stable

This commit is contained in:
Nick Sweeting 2026-08-11 19:13:39 -07:00
parent 0671dfd794
commit 663e729c85
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View File

@ -143,7 +143,7 @@ jobs:
export UV_TOOL_DIR="$TOOL_ROOT/tools"
export UV_TOOL_BIN_DIR="$TOOL_ROOT/bin"
for attempt in {1..40}; do
if "$UV_BINARY" tool install --no-cache --prerelease allow --force "archivebox==$VERSION"; then
if "$UV_BINARY" tool install --no-cache --force "archivebox==$VERSION"; then
break
fi
if [[ "$attempt" == 40 ]]; then

View File

@ -28,7 +28,8 @@ def test_release_uses_registered_publisher_and_authorized_tag_credentials():
install_script = published_install["run"]
assert "sleep 60" not in install_script
assert "for attempt in {1..40}" in install_script
assert 'tool install --no-cache --prerelease allow --force "archivebox==$VERSION"' in install_script
assert 'tool install --no-cache --force "archivebox==$VERSION"' in install_script
assert "--prerelease" not in install_script
assert "did not become installable from PyPI within 10 minutes" in install_script
docker_meta = next(step for step in docker_release["steps"] if step.get("id") == "docker_meta")