#Yeah, here’s a few quick stats.

1 messages · Page 1 of 1 (latest)

last eagle
#

Can you go into more detail about this setup? Is the practice here to set up one shared CacheVolume for all of your python package needs?

vast grail
#

Atm there's two cache volumes:

  • pip-modpython-python:3.11-slim
  • uv-modpython-python:3.11-slim

They're for the global cache, not the virtual env, and they're specific to the python version, OS variant (slim vs alpine) and python modules.

last eagle
#

Got it, so caches that map to the cartesian product of packagemanager, python version, os variant

vast grail
#

Yes 🙂 But there's plans to isolate cache volumes per module, which will hurt the speed benefit for other modules. However, as you can see, for uv it takes less than 2s to pull in dependencies and that's going to be done right at dagger init.