-
Notifications
You must be signed in to change notification settings - Fork 52
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
Update semver-compatible dependencies #241
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #241 +/- ##
=======================================
Coverage 97.19% 97.19%
=======================================
Files 19 19
Lines 4065 4065
=======================================
Hits 3951 3951
Misses 114 114 ☔ View full report in Codecov by Sentry. |
So this is failing our MSRV checks because aws-lc-sys pulls in bindgen (as an optional build-dependency) and bindgen pulls in regex and regex now has an MSRV of 1.65. It's a bit tricky because AIUI the bindgen dependency is optional for aws-lc-sys on platforms for which they have pregenerated bindings, which seems to be all the tier 1 ones at this point? We could avoid updating regex in our |
I wonder if we should take 1.65? It'd mean we can use let-else, for example. The downside of that is debian stable is on 1.63. |
It also feels silly because it looks like regex is not really a core dependency for bindgen, it's used to provide what looks like potentially optional API (which it seems aws-lc-rs doesn't actually use)... |
I wonder how long we'd have to wait for Debian to get 1.65 🤔 |
I think for the last bump they went from 1.48 to 1.63. I don't think we'll want to wait that long... |
I force pushed an update to pull in aws-lc-rs 1.6.4 since the 1.6.3 release with the bindgen issue was yanked.
|
Yep! |
Ah, should have tried 1.63 as MSRV first:
|
I'm confused why rustls/rustls#1888 builds green with an MSRV of 1.61 given the above. I'm missing some detail 🤔 |
It looks like Rustls is using aws-lc-sys 0.14.1 while webpki is using 0.14.0 rustls dep tree
vs rustls-webpki dep tree
|
Maybe because aws-lc-rs has fixed their issue in 1.6.3 in 1.6.4? |
I can repro that locally, but then if I do:
That fixes it (because aws-lc-rs -> aws-lc-sys -> build-dependencies drops bindgen). |
I'm using aws-lc-rs 1.6.4 in both, but aws-lc-sys didn't get bumped in the lockfile here where it did in the main repo. |
Ok, all fixed up. No MSRV change required. Sorry for the confusion! |
To replace #240.