Skip to content
Snippets Groups Projects
Commit 85995904 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

use https for github.com

parent d5d1beb2
No related branches found
No related tags found
No related merge requests found
Pipeline #54513 failed
......@@ -246,12 +246,10 @@ def ensure_miniconda_sh():
# re-downloads installer
import http.client
server = (
"https://github.com/conda-forge/miniforge/releases/download",
) # http
server = ("github.com/conda-forge/miniforge/releases/download",) # https
logger.info("Connecting to http://%s...", *server)
conn = http.client.HTTPConnection(server[0])
logger.info("Connecting to https://%s...", *server)
conn = http.client.HTTPSConnection(server[0])
conn.request("GET", path)
r1 = conn.getresponse()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment