Skip to content

refactor(toolchains): better sha256 printing helper - #3028

Merged
aignas merged 2 commits into
bazel-contrib:mainfrom
aignas:chore/rm-old-toolchains
Jul 6, 2025
Merged

refactor(toolchains): better sha256 printing helper#3028
aignas merged 2 commits into
bazel-contrib:mainfrom
aignas:chore/rm-old-toolchains

Conversation

@aignas

@aignasaignas commented Jun 25, 2025

Copy link
Copy Markdown
Collaborator

Before this PR the toolchain sha256 values would be printed in a way
that would require further text manipulation. Now we print the values
that need to be just copy pasted.

Whilst at it simplify the curl command to remove the conditional.

Testing done:

$ bazel run //python/private:print_toolchains_checksums --//python/config_settings:python_version=""
# And then paste all of the output into the inside of the TOOL_VERSIONS

Work towards #2704

Before this PR the toolchain sha256 values would be printed in a way
that would require further text manipulation. Now we print the values
that need to be just copy pasted.
@aignas
aignasforce-pushed the chore/rm-old-toolchains branch from ba3d5f3 to a92fea4CompareJuly 4, 2025 04:36
@aignasaignas changed the title chore: drop old Python interpreters and update toolingrefactor(toolchains): better sha256 printing helperJul 4, 2025
@aignas
aignas marked this pull request as ready for review July 4, 2025 05:03
@aignas
aignas requested a review from rickeylev as a code ownerJuly 4, 2025 05:03
@aignas
aignas enabled auto-merge July 4, 2025 05:04
@aignas
aignas added this pull request to the merge queueJul 6, 2025
Merged via the queue into bazel-contrib:main with commit 2690e3fJul 6, 2025
@aignas
aignas deleted the chore/rm-old-toolchains branch July 7, 2025 02:28
aignas added a commit to aignas/rules_python that referenced this pull request Jul 8, 2025
It seems that in bazel-contrib#3062 we did not notice that the latest builds for
`linux-aarch64-freethreaded` actually needed a different build tag and
this is the case only for the latest releases.
What is more, the `windows-aarch64` build had a wrong strip-prefix.
This is fixing all of these issues. bazel-contrib#3028 will make the 404 error
messages from `curl` more visible, so the first issue will be more
easily caught during authoring, whereas the second issue is going to be
more likely caught via code review, or a CI that is exercising the
actual toolchains.
github-merge-queueBot pushed a commit that referenced this pull request Jul 8, 2025
It seems that in #3062 we did not notice that the latest builds for
`linux-aarch64-freethreaded` actually needed a different build tag and
this is the case only for the latest releases.
What is more, the `windows-aarch64` build had a wrong strip-prefix.
This is fixing all of these issues. #3028 will make the 404 error
messages from `curl` more visible, so the first issue will be more
easily caught during authoring, whereas the second issue is going to be
more likely caught via code review, or a CI that is exercising the
actual toolchains.
Sign up for freeto 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

@aignas@rickeylev