-
-
Notifications
You must be signed in to change notification settings - Fork 640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manage pantsbuild.pants release size on PyPI #11614
Comments
I think that we should try to minimize the deleting we do, because there is still a chance that folks are pinned to dev releases. So I could imagine this looking like choosing an age window for dev releases that:
For pantsbuild.pants, dev releases make up:
The https://pypi.org/project/pypi-cleanup/ project seems like it would work for this. But as https://blog.ovalerio.net/archives/1971 points out, deleting valid versions is always a bit problematic. While I expect that we're fairly safe deleting things older than X years, there is definitely an argument to be made for just requesting the capacity increase. Or perhaps doing a one time cleanup AND requesting the capacity increase. |
There is, but I agree with John's instinct that we should be good Python citizens and not do this. PyPI hosting costs real money that we're taking away from the Python community and PSF so that users pinned to a stale dev release don't need to make the one line change from "1.20.0.dev3" to "1.20.0". I agree with not deleting stable releases of course, but upgrading from a dev to stable release is little work for our users and gives them a better experience. I would also be shocked if there were people using a dev release from >1 year ago. |
In order to unblock tonight's releases I deleted dev releases for |
I've manually deleted |
This is still an issue: I've only been doing manual cleanups, and should have invested in automating it. Sorry. For posterity, the way to use pypi-cleanup==0.0.3 (NB: not the most recent version: had trouble with that one) to delete a range is:
The |
I'd love to take care of the issue and implement my proposal. If you still object Stu then I'll hand over to you to document / automate what you see fit. |
I continue to think that we should avoid deleting "recent" dev releases, and instead have some age window. But I'm unlikely to have the time to implement that in the next few weeks. |
I've filed pypi/support#1376. |
Opened #13234 to begin automating this a bit. |
As discussed in the comments on #13234 (comment), our path forward is likely going to be implementing #12397. Will add more information there. |
We're getting close to hitting our 40GB limit again, even having deleted all |
Another option could be deleting rcs. We have them starting from 2.5. |
Resolved by @thejcannon's work to move to Github releases. Thanks so much! |
Also, for posterity ALL our v2 wheels are now in GitHub Releases, and are indexed at https://wheels.pantsbuild.org/simple/ Including dev, alpha, and RCs 🙂 |
We just hit a 20GB limit with the 2.4.0.dev0 release.
I worked around this by deleting the 5 dev releases in the 1.16.0 series, which is the 1st series where we started chewing up a bunch of space with several rust wheels per release. I then:
We need to come up with a strategy for managing our release storage consumption over time as well as come up with a short term plan for freeing up space used by existing releases.
As an initial idea it seems to make sense to me to:
The text was updated successfully, but these errors were encountered: