diff --git a/qt/launcher/src/main.rs b/qt/launcher/src/main.rs index cbf1271ec..c2699b145 100644 --- a/qt/launcher/src/main.rs +++ b/qt/launcher/src/main.rs @@ -650,6 +650,7 @@ fn fetch_versions(state: &State) -> Result> { let mut cmd = Command::new(&state.uv_path); cmd.current_dir(&state.uv_install_root) .args(["run", "--no-project", "--no-config", "--managed-python"]) + .args(["--with", "pip-system-certs"]) .arg(&versions_script); let output = match cmd.utf8_output() { diff --git a/qt/launcher/versions.py b/qt/launcher/versions.py index 02e16ba69..5d314d84f 100644 --- a/qt/launcher/versions.py +++ b/qt/launcher/versions.py @@ -5,6 +5,10 @@ import json import sys import urllib.request +import pip_system_certs.wrapt_requests + +pip_system_certs.wrapt_requests.inject_truststore() + def main(): """Fetch and return all versions from PyPI, sorted by upload time."""