Fix warning lines counting as build identifiers in test

This commit is contained in:
Joe Rickerby
2021-01-08 14:57:15 +00:00
parent c4b5b167ca
commit f43b3f50c5
+4 -1
View File
@@ -37,7 +37,10 @@ def cibuildwheel_get_build_identifiers(project_path, env=None):
env=env,
)
return cmd_output.strip().split('\n')
lines = cmd_output.strip().split('\n')
# ignore warning lines in output
return [l for l in lines if l != '' and not l.startswith('Warning ')]
def cibuildwheel_run(project_path, package_dir='.', env=None, add_env=None, output_dir=None):