-
Notifications
You must be signed in to change notification settings - Fork 28
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
Add -lbcrypt #156
Add -lbcrypt #156
Conversation
I didn't notice this would affect the snapshot test. Sorry for my laziness... |
The failure on R-devel ubuntu runner looks unrelated to this change. Probably something related to line breaks is wrong on testthat's side. For example:
|
Should we perhaps fix snapshot test as well? |
What do you mean? As you can see, nothing is different except for that the result with R-devel is without line breaks. Actually, it seems the latest version of testthat's snapshot feature is broken somehow, though I still don't understand the details... |
Hmm, it seems our problem is not related to r-lib/testthat#1509... |
Sorry I was reading from my phone and did not realize what the actual problem with the snapshot was. |
Ah, I see. Sorry I didn't describe the details in the above comment.
I have no idea at the moment... Let me think. |
@clauswilke, would appreciate your opinion as well. |
Perhaps we can file an issue at |
Here's a minimal reproducible example repo. It seems the problem is around https://github.com/yutannihilation/testTestthat But, really weird thing is, if I switch the GitHub action setting to the latest |
I'm still not sure about the root cause of the failure, but it seems the new workflow works so this pull request should be ready to merge. While we can keep investigating what was happening, things on R-devel changes fast, so I think it might not be worth the effort. |
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.
Perhaps we should indeed rely on r-tools to find dependencies and check package instead of doing it ourselves. LGTM, at least for now.
I see, thanks. IMHO, if there's now warning using |
Close extendr/extendr#339
As of v1.57.0, Rust requires bcrypt to use
BCryptGenRandom
(Before then, it used to work without bcrypt to support Windows XP).c.f. rust-lang/rust#84096