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

Use WSL1 on CI #2010

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

EliahKagan
Copy link
Contributor

@EliahKagan EliahKagan commented Mar 7, 2025

This avoids an occasional HTTP 403 error updating WSL for WSL2.

Updating WSL2 also takes a bit of time, and this change seems to decrease how long the "Setup WSL" step takes, by about 30 seconds. Both benefits could also be achieved by continuing to use WSL2 but running the Windows jobs on windows-2025 (so long as #2008` is merged). For details on the problem this is fixing and possible approaches to it, see #2008 (review).

Due to #2004, the Cygwin test job should be expected to fail here until #2009 is merged. Rebasing this could then make everything pass, but it is only in the non-Cygwin Windows jobs that we ever use WSL, so such a rebase is probably not necessary.

This avoids an occasional HTTP 403 error updating WSL for WSL2.

For details on that issue and possible approaches, see:
gitpython-developers#2008 (review)
@EliahKagan EliahKagan marked this pull request as ready for review March 7, 2025 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant