tests: fix ci (#2391)
* Update dependencies * tests: disable color for Pyodide test Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * fix: nist.gov doesn't work anymore for this test Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * fix: limit click for typer Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> Co-authored-by: cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com> Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
Henry Schreiner
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
parent
e7dcb31aa7
commit
d193a8eff5
@@ -22,6 +22,7 @@ def test_build_frontend_args(tmp_path, capfd, frontend_name):
|
||||
add_env = {"CIBW_BUILD_FRONTEND": f"{frontend_name}; args: -h"}
|
||||
if utils.platform == "pyodide":
|
||||
add_env["TERM"] = "dumb" # disable color / style
|
||||
add_env["NO_COLOR"] = "1"
|
||||
with pytest.raises(subprocess.CalledProcessError):
|
||||
utils.cibuildwheel_run(project_dir, add_env=add_env, single_python=True)
|
||||
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ project_with_ssl_tests = test_projects.new_c_project(
|
||||
from urllib.request import urlopen
|
||||
|
||||
context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)
|
||||
data = urlopen("https://www.nist.gov", context=context)
|
||||
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")
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user