aptos-core is stuck on serde < 1.0.53 due to a change in 1.0.53 that breaks testsuite/generate-format #10424
Labels
bug
Something isn't working
move
move-deps
stale-exempt
Prevents issues from being automatically marked and closed as stale
Repro
You will see an error like this:
Summary
This issue arises from this change: serde-rs/serde#2387.
I tried using the latest version of serde + serde_yaml and it doesn't fix the issue. I also tried to fork serde and fix it but then we get a bunch of other errors, see https://github.com/banool/serde/tree/banool/undo-2387 and https://github.com/aptos-labs/aptos-core/tree/banool/upgrade-serde.
I'm not sure right now how we could handle this issue in our codebase. I believe changing the format (I'm not 100% sure what format that is, btw) is out of the question so we'd have to do something on our side to undo whatever change serde-rs/serde#2387 introduces.
See more discussion here: https://aptos-org.slack.com/archives/C03N83P7QUC/p1691767293160939. I suspect this is relevant too: zefchain/serde-reflection#35 (meaning switching to this version of serde-reflection might not fix our issues).
Impact
This stops us from using crates that depend on a particular minimum version of serde higher than this version. To date this has happened twice:
As time goes on this is going to happen more and more frequently as our version of serde gets increasingly out of date.
The text was updated successfully, but these errors were encountered: