Python: Unset proxy for python pip cert issues

Task-number: QTQAINFRA-6473
Pick-to: 6.8 6.7
Change-Id: I43cfd0cba3fcdcd7acdf1d75ee2347dac8b77175
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
This commit is contained in:
Tero Heikkinen
2024-08-02 15:51:41 +03:00
parent 397ef196b7
commit 31774f9103

View File

@@ -5,6 +5,9 @@ $n = Get-Content "$PSScriptRoot\..\shared\http_proxy.txt"
$n = $n.Split('=')
New-Variable -Name $n[0] -Value $n[1]
Write-Host "Temporarily not setting proxy" # QTQAINFRA-6473
$proxy = ""
if ([string]::IsNullOrEmpty($proxy)) {
Write-Host "No proxy is defined."
} else {