Fix quoting of test-requires and audit-requires options for PEP 508 specifiers (#2913)
This commit is contained in:
@@ -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\"'"
|
||||
),
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user