You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nearly 30% of PyPI's downloads come from CIs (via BigQuery). Given 47.1 billion total downloads per month (via PyPI Stats), at least 13.8 billion downloads/month come from CIs.
Last month, PyPI used 105.5 PB bandwidth, which at list price would be around $12.5 million per month (via PyPA Discord). Fastly very generously gives PyPI a 100% discount on their bill.
At PyCon US this year, Fastly said over 10 years, they have served 4,682.1 billion requests and 2.41 exabytes of data:
If astral-sh/setup-uv enabled caching by default, this would significantly help ease the load on PyPI and Fastly, plus it can speed up runs by several minutes.
The text was updated successfully, but these errors were encountered:
I will add a more thourough answer soon but als a short teaser on why the default is currently disabled:
The other setup-x actions also default to disabling the cache
Each repo can only have 10GB of cached artifacts and will evict the oldest caches when this is exceeded. This might be unwanted behavior for some users.
I am not entirely sure if the cache counts towards the billed artifacts usage. If so this action would by default incur more costs than expected on private repos.
I see caching is disabled by default (except for self-hosted runners).
What are the reasons for not enabling by default?
Nearly 30% of PyPI's downloads come from CIs (via BigQuery). Given 47.1 billion total downloads per month (via PyPI Stats), at least 13.8 billion downloads/month come from CIs.
Last month, PyPI used 105.5 PB bandwidth, which at list price would be around $12.5 million per month (via PyPA Discord). Fastly very generously gives PyPI a 100% discount on their bill.
At PyCon US this year, Fastly said over 10 years, they have served 4,682.1 billion requests and 2.41 exabytes of data:
If astral-sh/setup-uv enabled caching by default, this would significantly help ease the load on PyPI and Fastly, plus it can speed up runs by several minutes.
The text was updated successfully, but these errors were encountered: