File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -253,16 +253,21 @@ jobs:
253253 set -euo pipefail
254254 CUTOFF=$(date -u -d '30 days ago' '+%Y-%m-%d')
255255 echo "Pruning nightly wheels uploaded before $CUTOFF"
256+ LISTING=$(aws s3 ls "s3://${S3_BUCKET}/${SIMPLE_PREFIX}/${{ steps.proj.outputs.normalized }}/" 2>/dev/null || true)
257+ if [ -z "$LISTING" ]; then
258+ echo "No existing wheels found (first run or empty prefix) -- nothing to prune"
259+ exit 0
260+ fi
256261 DELETED=0
257- aws s3 ls "s3://${S3_BUCKET}/${SIMPLE_PREFIX}/${{ steps.proj.outputs.normalized }}/" 2>/dev/null | while read -r line; do
262+ while read -r line; do
258263 DATE_PART=$(echo "$line" | awk '{print $1}')
259264 FILE_PART=$(echo "$line" | awk '{print $4}')
260265 if [[ "$FILE_PART" == *.whl ]] && [[ "$DATE_PART" < "$CUTOFF" ]]; then
261266 echo "Removing: $FILE_PART (uploaded $DATE_PART)"
262267 aws s3 rm "s3://${S3_BUCKET}/${SIMPLE_PREFIX}/${{ steps.proj.outputs.normalized }}/$FILE_PART" --only-show-errors
263268 DELETED=$((DELETED + 1))
264269 fi
265- done
270+ done <<< "$LISTING"
266271 echo "Pruned $DELETED old nightly wheel(s)"
267272
268273 - name : Upload wheels to S3 project directory
Original file line number Diff line number Diff line change @@ -44,7 +44,8 @@ To install the latest nightly build:
4444pip install --pre fvdb-core --extra-index-url https://fvdb-packages.s3.us-east-2.amazonaws.com/simple-nightly/
4545```
4646
47- Nightly builds use a synthetic version (` 0.0.0.devYYYYMMDD ` ) and require ` --pre ` .
47+ Nightly builds use a synthetic version (e.g. ` 0.0.0.dev20260224+pt28.cu128 ` ) and require ` --pre ` .
48+ The ` +pt28.cu128 ` suffix identifies the PyTorch and CUDA versions the wheel was built against.
4849Upgrading to a stable release later works naturally with ` pip install --upgrade fvdb-core ` .
4950
5051## Building * f* VDB from Source
You can’t perform that action at this time.
0 commit comments