fix(build): explicitly set up Python 3.12 to support Bikeshed v7#230
Merged
Conversation
Bikeshed v7 introduced a strict requirement for Python 3.12+. Because the default GitHub Actions `ubuntu-latest` runner uses an older version of Python by default, `pipx install 'bikeshed==7.*'` fails with a "no matching distribution found" error. This commit injects `actions/setup-python@v5` into the composite action directly before the toolchain setup step. This ensures `pipx` has the correct environment to install Bikeshed successfully, fixing widespread CI breakages across W3C/Explainer repositories. Fixes w3c#99
Member
|
Thanks for this PR @devincabillo-web ! Can we run this setup step only when toolchain is bikeshed using |
Contributor
Author
|
@sidvishnoi Addressed! Please let me know if it looks good on your end. |
sidvishnoi
reviewed
May 19, 2026
sidvishnoi
approved these changes
May 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Bikeshed v7 introduced a strict requirement for Python 3.12+. Because the default GitHub Actions
ubuntu-latestrunner uses an older version of Python by default,pipx install 'bikeshed==7.*'fails with a "no matching distribution found" error.This commit injects
actions/setup-python@v5into the composite action directly before the toolchain setup step. This ensurespipxhas the correct environment to install Bikeshed successfully, fixing widespread CI breakages across W3C/Explainer repositories.Fixes #99