Get the latest tech news

Uv and Ray: Pain-Free Python Dependencies in Clusters


Pain-free Python dependencies in clusters with uv + Ray! Learn how to build lightning-fast, consistent environments for distributed applications.

Designed with speed in mind, uv quickly downloads packages, caches them locally on disk, de-duplicates dependencies between environments and uses hard links to bring them all together. The traditional way to solve this problem is by containerizing everything, but that makes the development iteration much slower - if code and dependencies change, a new version of the container needs to be built and pushed to all nodes. Use uv lock to generate a lockfile and make sure all your dependencies are frozen, so things won’t change in uncontrolled ways if a new version of a package gets released.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Ray

Ray

Photo of clusters

clusters

Photo of pain

pain

Related news:

News photo

Electrical Stimulation: A Flexible Treatment Option for Pain and Recovery

News photo

Android 16 glitch is making some Pixel phones a pain to navigate

News photo

Biotech Start-Ups Feel the Pain of Federal Funding Cuts