-
Notifications
You must be signed in to change notification settings - Fork 64
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
Unpin unicode-normalization
version
#28
Conversation
Thanks for your contribution! The pinning is because the current MSRV of this library is currently 1.29. There is an open PR to bump it to 1.41.1 at which stage this PR will become valid. Most of the other crates in the $ cargo +1.29 check ✘ 101
error: unable to get packages from source
Caused by:
failed to parse manifest at `/home/tobin/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-normalization-0.1.21/Cargo.toml`
Caused by:
editions are unstable
Caused by:
feature `edition` is required |
Would be great to see some progress here, running into the same issue. |
Gentle bump @stevenroose |
A workaround for some use cases: If the |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry if it comes across like that, that is certainly not how I feel. I may have narrow focus because I only work on
We take dependencies very seriously, the ones we use and also how we are used by others - we are definitely not perfect, if you see ways we can improve please share them. Everyone is learning and evolving, and we are always trying to improve the library.
I don't know what I did yesterday but I'm always doing something :) |
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
Please be respectful when interacting with open source maintainers. Just because you have a desire to use the latest |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
@dvc94ch your tone is very agressive. I appreciate you are frustrated but it is indeed insulting to show up on an open-source project and call the maintainers "inconsiderate" and that they "have no interest in anybody else". @stevenroose we really should fix the MSRV and fix the pinning though to be consistent with the other crates in the org |
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
so? |
It looks like this crate is maintained by @stevenroose who is currently unavailable. I'm not sure when he'll be back. I don't think anybody else wants to take over for the reasons listed in the rust-bitcoin discussion topic. We might need to drop it from the org. Without input from Steven it's hard to make a decision here. |
Sorry for my absence the last several months. I saw an MR to bump MSRV but it also contains a breaking API change, I'll work towards trying to bump MSRV without a breaking change so that we can remove the pinned dep. Anyway, if this causes a problem downstream, that's a Cargo bug IMO because we don't expose our use of the unicode-normalization crate so your build should be able to include multiple versions and use this specific version only for the bip39 crate. Pinning an unexposed dependency shouldn't have any effect on dependent crates. |
Apparently cargo will only allow multiple conflicting versions when those conflicts are semver-incompatible, per rust-lang/cargo#6584 |
Right, I might have bumped into that topic before. Something we could do as an alternative is pin an even older version of unicode-normalization if we find one that works for us. ... Ok I went to look and the crate is as 0.1.x since basically forever with a few 0.0.x versions from 8 years ago. I mean, bumping it to a newer pinned version is not a breaking change, so we could just do that whenever needed and possible. |
Closing this, I bumped up our unicode-normalization dependency. I recognize it's unfortunate that cargo doesn't support having multiple minor versions of a crate in a project's dependency tree, especially as many crates don't respect MSRV in their semver updates. We can't unpin unicode normalization, but it's bumped to the latest version right now. |
I ran into an issue where the very old pinned version of
unicode-normalization
conflicted with another dependency:Removing this pin resolved it, and I couldn't find a reason why it was pinned.
cargo test
passes.Closes #29