Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend azure.free_disk_space to Windows as well #1966

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jakirkham
Copy link
Member

In addition to Linux, enable azure.free_disk_space on Windows. This helps free up some space in cases where it is needed. Also it can fix build issues where a system Python is accidentally pulled into builds causing hard to diagnose issues.

Also switch Miniforge downloads to use PowerShell. This removes the reliance on the system Python for this step (making the aforementioned cleanup possibly). Additionally it slims the step down a bit and makes it a bit easier to parse.


Checklist

  • Added a news entry

@jakirkham jakirkham force-pushed the azure_win_cleanup branch 3 times, most recently from 32ed6d4 to 2df379e Compare June 28, 2024 08:14
@h-vetinari
Copy link
Member

👍

Xref #1949, which also contains a work-around.

@jakirkham
Copy link
Member Author

Thanks Axel! 🙏

Was finding the deletion time on Azure to be pretty slow. Tried every trick I could think of with robocopy

If you know of better ways to delete on Windows, please let me know

Agree changing the build directory path is worth considering

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants