uv icon indicating copy to clipboard operation
uv copied to clipboard

Best way to ensure python in uv always uses system trust store?

Open pboushy opened this issue 3 weeks ago • 5 comments

Question

I've recently started using uv to setup python environments on my Mac. I'd like to have all environments I create automatically have access to the system trust store.

I know that I have to install pip-system-certs, but I don't want to have to remember to do that every time I setup a new venv for the various python projects I work on. I also don't want to have to modify every project's toml and/or requirements.txt

Is there a way to specify that uv venv should always install X packages when it creates a new venv?

If not, what's the best way to have uv do this?

Platform

macOS 26.0.1 arm64 (Darwin 25.0.0 arm64)

Version

uv 0.9.7 (Homebrew 2025-10-30)

pboushy avatar Nov 12 '25 21:11 pboushy