-
Notifications
You must be signed in to change notification settings - Fork 434
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
#1747 Upgrade Rust dependencies #1748
Conversation
Upgrade Rust dependencies
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.
See my comment bellow, but thanks for the update!
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.
Somehow the CI is broken, maybe there is a dependency not updated in the xtask project? @syl20bnr
It looks like that was triggered by the migration from |
It does not work on the CI. You can put it back into the config file. |
The problem was that I migrated the crate 1.78.0 which throws warnings around using .cargo/config. The solution is renaming it to .cargo/config.toml and upgrading Rust everywhere, including the the Github Actions. EDIT: from now on I'll run the Workflows on my fork first. Sorry for the inconvenience. |
53f7353
to
e280461
Compare
Thank you. Does it work if we create a symlink from |
Yes after much reading that is required only to preserve compatibility between Rust 1.38.0 and 1.78.0, which we neither need and it might throw wrong warnings. The solution that worked was renaming
|
I can reproduce the same error on Windows even on 1.75. Looking into it. |
The update of tch on windows gives an error: INTEL MKL ERROR: The specified module could not be found. mkl_vml_avx2.1.dll. Intel MKL FATAL ERROR: cannot load mkl_vml_avx2.1.dll or mkl_vml_def.1.dll.
01b7ece
to
727b664
Compare
727b664
to
e49047d
Compare
@ahmedyarub I updated your branch, please note that I rewrote the history and forced push to restart from your first commits so you'll need to hard reset your PR branch locally. The windows errors comes up with tch 0.16, I reverted it to 0.15, is that OK with you ? For the cargo config file, turns out that we can just keep |
You know I reached this library by updating Anki which forced me to update FSRS which forced me to update this lib lol. I would be happy to update tch BUT I lost my job yesterday. Feel free to merge it and in a couple of months there will be much more contributions. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1748 +/- ##
=======================================
Coverage 86.61% 86.61%
=======================================
Files 700 700
Lines 83427 83423 -4
=======================================
+ Hits 72257 72258 +1
+ Misses 11170 11165 -5 ☔ View full report in Codecov by Sentry. |
Oh crap, sorry to hear that you just lost your job🙁. I wish you all the best in your job search. Just to confirm, FSRS does not rely on tch, so we should be good on that front. I'll go ahead and merge this. Thank you for all your hard work and good luck! |
I'm so thankful for the warm words, they are really helping me pushing through. |
Upgrade Rust dependencies
Pull Request Template
Checklist
run-checks all
script has been executed.Related Issues/PRs
Fixes #1747
Changes
Upgrade all of the Rust dependencies
Testing
Linking it to FSRS and then to Anki