https://pantsbuild.org/ logo
#development
Title
# development
w

witty-crayon-22786

08/16/2021, 5:48 PM
a distracting but maybe interesting tangent from #12548: i wonder whether a lockfile + directory full of loose wheels is sufficient to act as a replacement for the
repository.pex
concept
if it were a PEP-665 lockfile (additionally encoding the graph structure), Pants could subset it directly in memory
having said that, i suppose that’s roughly what you produce with a directory full of wheels and the graph outputted by PEX_TOOLS.
p

proud-dentist-22844

08/16/2021, 5:57 PM
I wonder if that would be faster than building the pex?
w

witty-crayon-22786

08/16/2021, 6:01 PM
it would skip one step of installing and then extracting the wheels, yea. but i doubt that that is anywhere near as expensive as the resolve or actual wheel-building