Skip to content

refactor(toolchains): better sha256 printing helper #3028

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

Merged
merged 2 commits into from
Jul 6, 2025

Conversation

aignas
Copy link
Collaborator

@aignas aignas commented Jun 25, 2025

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 aignas force-pushed the chore/rm-old-toolchains branch from ba3d5f3 to a92fea4 Compare July 4, 2025 04:36
@aignas aignas changed the title chore: drop old Python interpreters and update tooling refactor(toolchains): better sha256 printing helper Jul 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 owner July 4, 2025 05:03
@aignas aignas enabled auto-merge July 4, 2025 05:04
@aignas aignas added this pull request to the merge queue Jul 6, 2025
Merged via the queue into bazel-contrib:main with commit 2690e3f Jul 6, 2025
3 checks passed
@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-queue bot 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 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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy