astral-sh / uv

An extremely fast Python package and project manager, written in Rust.
https://docs.astral.sh/uv
Apache License 2.0
26.26k stars 765 forks source link

Make `native-tls` default for uv? #8838

Open notatallshaw-gts opened 1 week ago

notatallshaw-gts commented 1 week ago

Pip 24.2+, on Python 3.10+, you get truststore by default: https://pip.pypa.io/en/stable/topics/https-certificates/#using-system-certificate-stores / https://github.com/sethmlarson/truststore

As I understand it, this is roughly equivalent to uv's native-tls. Would it make sense for uv to switch native-tls on by default and have an option to turn off if needed?

zanieb commented 1 week ago

See also

Notably in https://github.com/astral-sh/uv/pull/2362 we identified that enabling native tls by default was weirdly slow on macOS.