Should cache of python-build-standalone
downloads be invalidated?
#10270
Labels
needs-decision
Undecided if this should be done
Context: I was wondering whether astral-sh/python-build-standalone#421 might have helped with #6893 (answer: 'no'). This required me knowing which build of python-build-standalone I was using.
Current
uv
behaviour seems to be that the version ofpython-build-standalone
isn't included anywhere obvious, and we don't automatically invalidate our cache of downloaded interpreters based on this version.e.g. we can update to a newer
uv
and still get an old python build:(Perhaps there's a better way (?) but the only way I could think to figure out what build of python-build-standalone we're using is by looking at the build time included in
python -VV
, so here December 6th 2024. )From #7036 (comment), we need to explicitly remove or reinstall all downloaded versions to get the newer build:
(NB python now build on December 19th)
Overall I find the existing behaviour a slightly opaque / unintuitive... but also it's a pretty niche problem! Nonetheless, maybe there's scope for a little improvement?
Some assorted ideas / thoughts:
uv python list
outputuv
version... but this also feels a little unintuitive.The text was updated successfully, but these errors were encountered: