-
Notifications
You must be signed in to change notification settings - Fork 176
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
icu_compactdecimal 1.3 and 1.4 do not build with latest fixed_decimal #5200
Comments
Ok? @Manishearth |
I guess I could also release |
Yes, I would do that instead, but really it feels like this means we should yank-and-break fixed_decimal |
I want to turn the fewest cranks possible, and the fewest cranks is releasing Yanking
|
Ah, this is 1.4 being broken. Yeah, okay, let's release |
We may also need to yank older |
The issue is only observable when a client depends on |
Options:
I think I lean toward option 3 because the code change is small and it's less likely to confuse the resolver. I'm not sure what @Manishearth prefers because #5200 (comment) expressed a different sentiment than #5200 (comment) |
With options 2 and 3, I don't propose yanking anything. |
I prefer option 3, ideally if it can be done in a way such that patched icu_compactdecimal still works with unpatched fixed_decimal. I'm fine with being a bit loose about this since it's experimental.
I was never not in favor of the other two options, I just expressed a stronger preference for doing a breaking change if we broke ourselves, but given that it's past crates and given that it's a lot of cranks to turn, I'm fine not doing that. The |
Done: https://crates.io/crates/icu_compactdecimal/0.2.4 Turns out I only needed to release 0.2.4 because both 1.3 and 1.4 depend on 0.2.x. (In 1.5 it was moved to icu_experimental) |
@Manishearth to review my pushes to https://github.com/unicode-org/icu4x/tree/release/1.4 and then close this issue. |
Pushes lgtm |
Technically 0.5.6 was a breaking change. The impact to |
fixed_decimal 0.5.6 changed
CompactDecimal::exponent
to return u8 instead of i16https://docs.rs/fixed_decimal/0.5.5/fixed_decimal/struct.CompactDecimal.html
https://docs.rs/fixed_decimal/0.5.6/fixed_decimal/struct.CompactDecimal.html
I think this is a positive change, but it breaks
icu_compactdecimal
versions 1.3 and 1.4.I think I prefer fixing this by releasing
icu_compactdecimal
1.3.x and 1.4.x with a<= 0.5.5
version bound on fixed_decimal.The text was updated successfully, but these errors were encountered: