-
Notifications
You must be signed in to change notification settings - Fork 95
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
Bump bitvec dependency to 0.22.3 #297
Conversation
Doesn't compile. |
Yeah, sorry; let me look into it. |
b0bace4
to
216cf58
Compare
There was a conflict between bitvec and a dependency of it (funty) that caused a build failure. See: - ferrilab/bitvec#105 - ferrilab/funty#3 Due to semver, when importing parity-scale-codec as a library and resolving bitvec 0.20.1 dependencies, funty 0.12 is pulled, which causes the aforementioned build failure. I believe this is not happening when testing parity-scale-codec itself because Cargo.lock pins funty to 1.1.0, but when importing parity-scale-codec from another crate, this pinning is sometimes not possible. Bumping bitvec to 0.22.3 solves this issue, as it is compatible with funty 0.12.
216cf58
to
9bb2644
Compare
Fixed the compilation issues. I've updated
|
if bitvec 0.20 which depends on funty version 1 cannot be compile with funty 1.2, then funty is breaking semver. I already proposed the correct fix so that bitvec 0.20 is compatible with funty 1.2 ferrilab/bitvec#110 I don't think it is a good idea to bump bitvec to 0.22 as this is a major breaking change and will force use to release parity-scale-codec version 3. And maybe some month later we will have 0.22 which only depends on funty 1.2 and incompatible with funty 1.3 and same story again. If you want to be able to use funty 1.2 then try to release bitvec 0.20.5 with this fix: ferrilab/bitvec#110 |
Thank you so much for the detailed reply! And thanks for pointing me to the right solution for this issue. |
There was a conflict between bitvec and a dependency of it (funty) that
caused a build failure. See:
Due to semver, when importing parity-scale-codec as a library and
resolving bitvec 0.20.1 dependencies, funty 0.12 is pulled, which causes
the aforementioned build failure. I believe this is not happening when
testing parity-scale-codec itself because Cargo.lock pins funty to
1.1.0, but when importing parity-scale-codec from another crate, this
pinning is sometimes not possible. Bumping bitvec to 0.22.3 solves this
issue, as it is compatible with funty 0.12.