Backslashes in Windows paths mess with CIBW_ENVIRONMENT string parsing

This commit is contained in:
Joe Rickerby
2023-11-24 19:08:04 +00:00
parent c2b03ead3e
commit 2a1edad716
+1 -1
View File
@@ -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",
},
)