fix(setup/bikeshed): ensure to use python3 with pipx#234
Closed
devincabillo-web wants to merge 2 commits into
Closed
fix(setup/bikeshed): ensure to use python3 with pipx#234devincabillo-web wants to merge 2 commits into
python3 with pipx#234devincabillo-web wants to merge 2 commits into
Conversation
The default `ubuntu-latest` runner uses an older Python version, causing `pipx install 'bikeshed==7.*'` to fail.
Update tool chain setup to use python version compatible with bikeshed=7.
sidvishnoi
reviewed
May 20, 2026
sidvishnoi
left a comment
Member
There was a problem hiding this comment.
Can you please make this change in src/setup.ts instead? We can pass required env vars when running particular sh commands, or use process.env.PIPX_DEFAULT_PYTHON = 'python3' in that has to be done on multiple commands.
I'm asking this change to keep env vars as localized as possible.
Also, can you ensure this is working correctly in the repo it failed? You can create a test PR (or use on some existing one) like this to test:
- - uses: w3c/spec-prod@v2
+ - uses: devincabillo-web/spec-prod@devincabillo-web-patch-2python3 with pipx
Contributor
Author
|
@sidvishnoi I got the tests to pass with my local branch and opened a new PR here: #235 |
Member
|
Superseded by #235. |
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.
The default
ubuntu-latestrunner uses an older Python version, causingpipx install 'bikeshed==7.*'to fail.