BUG: Add --no-clean flag to Windows Python package generation step #83
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In CI, this is unnecessary now because every Python package version is
generated in a clean virtual machine instance. On some packages that use
CMake FetchContent, the cleanup step can fail with:
Adding 'itk_elastix-0.6.0.dist-info/RECORD'
removing _skbuild\win-amd64-3.5\setuptools\bdist.win-amd64\wheel
C:\P\IPP\venv-35-x64\lib\site-packages\wheel\pep425tags.py:82: RuntimeWarning: Config variable 'Py_DEBUG' is unset, Python ABI tag may be incorrect
warn=(impl == 'cp')):
C:\P\IPP\venv-35-x64\lib\site-packages\wheel\pep425tags.py:87: RuntimeWarning: Config variable 'WITH_PYMALLOC' is unset, Python ABI tag may be incorrect
sys.version_info < (3, 8)))
running clean
removing '_skbuild\win-amd64-3.5\cmake-install'
removing '_skbuild\win-amd64-3.5\cmake-build'
error: [WinError 5] Access is denied: '_skbuild\win-amd64-3.5\cmake-build\_deps\elx-src\.git\objects\pack\pack-fe0f18355ee7166ea63b5deefec6fde96d8691fc.idx'
SCRIPT_DIR: C:\P\IPP\scripts
ROOT_DIR: D:\a\im