ci: fix failing tests due to rate-limiting (#2401)

raw.githubusercontent.com URLs are rate-limited now, change URLs
This commit is contained in:
Joe Rickerby
2025-05-19 11:58:28 -04:00
committed by GitHub
parent bd641d11de
commit 9dd7192d89
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -10,9 +10,9 @@ project_with_ssl_tests = test_projects.new_c_project(
from urllib.request import urlopen
context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)
# badssl.com is a HTTPS test server that can be used to test SSL connections
data = urlopen("https://tls-v1-2.badssl.com", context=context)
data = urlopen("https://raw.githubusercontent.com/pypa/cibuildwheel/main/CI.md", context=context)
data = urlopen("https://raw.githubusercontent.com/pypa/cibuildwheel/main/CI.md")
data = urlopen("https://tls-v1-2.badssl.com")
"""
)
)
+1 -1
View File
@@ -5,7 +5,7 @@ import pytest
from cibuildwheel.util.file import download
DOWNLOAD_URL = "https://raw.githubusercontent.com/pypa/cibuildwheel/v1.6.3/requirements-dev.txt"
DOWNLOAD_URL = "https://cdn.jsdelivr.net/gh/pypa/cibuildwheel@v1.6.3/requirements-dev.txt"
def test_download(monkeypatch, tmp_path):