generated from carpentries/workbench-template-md
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Some users report an invalid peer certificate error when running uv commands. This seems to be caused by corporate networks and how they handle system certificates.
Running commands with --native-tls such as uv --native-tls python install 3.13 fixes the error.
Another solution is to put this in the pyproject.toml file as shown below so the option does not have to be typed for every command in a project.
[tool.uv]
native-tls = trueSee the following uv docs for more info:
https://docs.astral.sh/uv/reference/settings/#native-tls
This certificate error needs to be mentioned in the training docs along with the solutions mentioned above. The content can be added to the "Installing uv" section or in a new section.
Metadata
Metadata
Assignees
Labels
No labels