From 2a1edad716639bb25e974596dc8844237b99fd77 Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Fri, 24 Nov 2023 17:57:08 +0000 Subject: [PATCH] Backslashes in Windows paths mess with CIBW_ENVIRONMENT string parsing --- test/test_environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_environment.py b/test/test_environment.py index f7a31b16..faaba7f3 100644 --- a/test/test_environment.py +++ b/test/test_environment.py @@ -135,7 +135,7 @@ def test_overridden_pip_constraint(tmp_path, build_frontend): add_env={ "CIBW_BUILD": "cp312-*", "CIBW_BUILD_FRONTEND": build_frontend, - "CIBW_ENVIRONMENT": f"PIP_CONSTRAINT={constraints_file}", + "PIP_CONSTRAINT": str(constraints_file), "CIBW_ENVIRONMENT_LINUX": "PIP_CONSTRAINT=./constraints.txt", }, )