3 ms·
I hate such poor docs that don't explain how things work, and instead prefer hiding behind some "magic". > Constraints can be added to the requested dependency
by imcritic 1y ago
I hate such poor docs that don't explain how things work, and instead prefer hiding behind some "magic".
> Constraints can be added to the requested dependency if specific versions are needed:
> uv run --with 'rich>12,<13' example.py
Why not mention that this will make uv download specified versions of specified packages somewhere on the disk. Where? Are those packages going to get cached somewhere? Or will it re-download those same packages again and again every time you run this command?
- frosting1337 1y agoI mean... it's in the docs? https://docs.astral.sh/uv/concepts/cache/ https://docs.astral.sh/uv/concepts/cache/
- Technetium 1y agoCaching linked on the left: https://docs.astral.sh/uv/concepts/cache/ https://docs.astral.sh/uv/concepts/cache/ The index of the Concepts section says: "Looking for a quick introduction to features? See the guides instead." Maybe there should instead be a link to the Concepts section for people who want more details, but I feel it's fine as it is.