We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 52f7801 + 4d32321 commit be1dd01Copy full SHA for be1dd01
1 file changed
cibuildwheel/windows.py
@@ -449,7 +449,9 @@ def build(options: Options) -> None:
449
shell(test_command_prepared, cwd="c:\\", env=virtualenv_env)
450
451
# clean up
452
- shutil.rmtree(venv_dir)
+ # (we ignore errors because occasionally Windows fails to unlink a file and we
453
+ # don't want to abort a build because of that)
454
+ shutil.rmtree(venv_dir, ignore_errors=True)
455
456
# we're all done here; move it to output (remove if already exists)
457
shutil.move(str(repaired_wheel), build_options.output_dir)
0 commit comments