Fix quoting of test-requires and audit-requires options for PEP 508 specifiers (#2913)

This commit is contained in:
Agriya Khetarpal
2026-06-13 06:04:58 +05:30
committed by GitHub
parent 2947353127
commit 034e6353e8
4 changed files with 52 additions and 7 deletions
+5 -1
View File
@@ -405,7 +405,11 @@ def test_environment_markers(tmp_path: Path) -> None:
**cp313_env,
"CIBW_TEST_COMMAND": f"python -m pytest {test_filename}",
"CIBW_TEST_SOURCES": test_filename,
"CIBW_TEST_REQUIRES": "pytest certifi;sys_platform=='android' platformdirs;sys_platform!='android'",
"CIBW_TEST_REQUIRES": (
"pytest"
" 'certifi; sys_platform == \"android\"'"
" 'platformdirs; sys_platform != \"android\"'"
),
},
)