-
-
Notifications
You must be signed in to change notification settings - Fork 688
Open
Labels
Description
Multiple items at play here:
- version.json might be a few months stale (not a big deal, just needs a regen)
- Documentation for how to add URL-based PBS seems to be incorrect (order of URL vs SHA/length)
- Some PBSes are zst, which don't seem to be "officially" captured in our code, but it may work anyways as a result of what we shell out to (this was hard to tell, as it's mixed in with other errors and I couldn't even make it to a sandbox) -
is_tar = archive_suffix.endswith( - The free-threaded builds (and some other flavours) provide extra directories, not just the
installdir - so our copying might be held up here too as it appears to expect theinstall_onlyorinstall_only_strippedgz files.
This can all be fixed pretty easily, but it begs the question of whether we should just use uv as an external tool and ask it to download the python versions to our named_caches (since astral owns the PBS repo).
Alternatively, science also does this better - both as a CLI tool, and here is the associated code which handles matching against different flavours: https://github.com/a-scie/lift/blob/24af473e116eb780350719f61bcdaa01b40ccf19/science/providers/python_build_standalone.py#L535
In any case, lots of solutions...
Reactions are currently unavailable