A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
ci: add wait step for PyPI package availability in Docker release workflow (#7466)
Myles Scolnick9da9ca6e5746
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex f04fc58ccd..6bb252997d 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -132,6 +132,34 @@ jobs:- name: ⬇️ Checkout repouses: actions/checkout@v4+ - name: ⏳ Wait for PyPI package availability+ run: |+ VERSION="${{ needs.publish_release.outputs.marimo_version }}"+ echo "Waiting for marimo version $VERSION to be available on PyPI..."++ MAX_ATTEMPTS=30+ ATTEMPT=0+ SLEEP_TIME=10++ while [ $ATTEMPT -lt $MAX_ATTEMPTS ]; do+ ATTEMPT=$((ATTEMPT + 1))+ echo "Attempt $ATTEMPT/$MAX_ATTEMPTS: Checking PyPI for version $VERSION..."++ # Check if the version exists on PyPI+ HTTP_CODE=$(curl -s -o /dev/null -w "%{http_code}" "https://pypi.org/pypi/marimo/$VERSION/json")++ if [ "$HTTP_CODE" = "200" ]; then+ echo "✅ Version $VERSION is available on PyPI!"+ exit 0+ else+ echo "Version $VERSION not yet available (HTTP $HTTP_CODE). Waiting ${SLEEP_TIME}s..."+ sleep $SLEEP_TIME+ fi+ done++ echo "❌ Timed out waiting for version $VERSION on PyPI after $((MAX_ATTEMPTS * SLEEP_TIME)) seconds"+ exit 1+- name: 🐋 Log in to the Container registryuses: docker/login-action@v3with: