Is there a standard way to publish timestamped nightly wheels (such as
projectname-X.Y.Z.dev20200116-cpXX-cpXX-win_amd64.whl) on test.pypi.org and to have a system to automatically delete wheels that are older than a couple of days?
For scikit-learn we typically build binary wheels for at least 3 Python versions times 3 platforms times ~1.5 (32 bit and 64 bit Python for Windows and Linux). Each wheel is at least 4 MB. So in the order of ~50 MB per day just for scikit-learn, so ~20 GB per year if the old files are not automatically deleted.
I noticed that tensorflow has 2 ancillary packages for nightly builds: tf-nightly and tf-nightly-gpu. Each of them. The tf-nightly wheels seems to weigh ~2.2 GB which is ~800 GB per year.
This looks very wasteful to me.
If there is no built-in way to set-up retention policies for timestamped dev releases on pypi.org or test.pypi.org, one could try to setup a cron job on some CI server to automatically delete older files. However the warehouse API does not seem to allow for file deletion: https://warehouse.readthedocs.io/api-reference/