On Sat, Nov 7, 2015 at 2:44 PM, Paul Moore <p.f.mo...@gmail.com> wrote:
> On 7 November 2015 at 16:33, Ralf Gommers <ralf.gomm...@gmail.com> wrote:
>> I had an example above of installing into different venvs. Full rebuilds for
>> that each time are very expensive.
>
> Why doesn't wheel caching solve this problem? That's what it's *for*, surely?

The wheel cache maps (name, version) -> wheel. If I hand you a source
directory, you may not even be able to determine the (name, version)
except via building a wheel (depending on the resolution to that other
thread about egg_info/dist-info commands). And it's certainly not true
in general that you can trust the (name, version) from a working
directory to indicating anything meaningful -- e.g. every commit to
pip mainline right now creates a new different "pip 8.0.0.dev0". So
what would you even use for your cache key? I don't see how wheel
caching can really help here.

-n

-- 
Nathaniel J. Smith -- http://vorpus.org
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to