-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
pin v1.16 ahash to 0.8.3 #34650
pin v1.16 ahash to 0.8.3 #34650
Conversation
@yihau is this not the command that's failing in CI |
ohhh i think it's because these test cargo.lock aren't under version control. the error comes from resolution of the index, to build the lockfile. mebe we can just commit them... |
# This file is automatically @generated by Cargo. | ||
# It is not intended for manual editing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and yet, here i am!
great, thanks! |
If I understand correctly this solves the problem without impacting the actual build. If that's correct I'd prefer this over 34645 to reduce risk for the v1.16 releases we need to bridge to v1.17 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
correct |
This reverts commit 471956c.
this is from secondary? |
ahash v0.8.3 was yanked, so pinning to that specific version isn't going to work. v0.8.4 is probably the most-reasonable alternative, given how many old versions have been yanked. |
yes |
I'm thinking that maybe we don't need to pin the ahash version for all crates. we only pin the ahash version for programs. (keep sdk/cargo-build-sbf/tests/crates/fail/Cargo.lock and sdk/cargo-build-sbf/tests/crates/noop/Cargo.lock). the original error originated from btw, I just checked the build log of v1.16.23. It seems that we have already compiled ahash 0.8.6 to crates. so I guess if we still prefer to pin ahash, 0.8.4 won't be so dangerous. (even 0.8.6) |
I'm going to ping you in two different PRs for this issue 🪖 (I prefer 1. atm. everything should be fixed magically and we don't need lock files for programs anymore. I guess it is also more friendly for users(?)) |
Problem
poor upstream release management
Summary of Changes
pin ahash