-
Notifications
You must be signed in to change notification settings - Fork 559
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
0.15.0 Sha256 Sum Changed #1031
Comments
Hmm, this also appears to be affecting rules_jvm 0.9.0 Did GitHub change something? |
same for https://github.com/bazelbuild/rules_python/archive/refs/tags/0.7.0.tar.gz wrong hash |
Ok, I think this happened because we currently rely on the source code .tar.gz files. Unfortunately, this source code is generated automatically by GitHub on release. This means that GitHub can change the contents of it relatively easily. Here seems to be some supporting evidence: My guess is that GitHub changed something recently for how these source code I think the core problem is that the release does not include it's own |
fyi we are hitting similar issues in other project (Envoy) - so it seems like github have broken the tarball hashes (again) |
Last time this happened, github promised that certain archives will have stable checksums: bazel-contrib/SIG-rules-authors#11 (comment) |
Yep looks like there is a community discussion on it now |
I'm going to go ahead and close this as GitHub seems to have reverted the change. I think #1032 will solve problems like this in the future. For details on what happened see the community discussion linked above. |
🐞 bug report
Affected Rule
N/A
Is this a regression?
N/A
Description
Recently, the
0.15.0
version ofrules_python
seems to have a differentsha256sum
. According to the release page for 0.15.0 thesha256
should befda23c37fbacf7579f94d5e8f342d3a831140e9471b770782e83846117dd6596
but I'm currently getting99e0d77f6ca445134adb5ef3d321a065d3b55b47a834cca110c30bf519d919bb
.🔬 Minimal Reproduction
Create a
WORKSPACE
using the instructions from the 0.15.0 release page:main.py
BUILD
:Will fail with a checksum issue.
🔥 Exception or Error
🌍 Your Environment
Operating System:
Output of
bazel version
:Rules_python version:
Anything else relevant?
The text was updated successfully, but these errors were encountered: