InputUsername/rescrobbled

Dependency on notify-rust 4.5.6... are previous versions compatible

Closed this issue · 4 comments

gbcox commented

I'm looking at packaging rescrobbled for fedora and ran into an issue with notify-rust. Apparently there are some packages in Fedora that aren't compatible with 4.5.6 due to the changes to zbus/zvariant so that is holding up the ability to upgrade to 4.5.6 or greater.

My question is will 4.5.3 for example work fine? Thanks!

Hi, I just built with notify-rust 4.5.3 and it compiles and works perfectly fine. In fact before rescrobbled v0.5.2 the version of notify-rust was only pinned at major version 4, so in theory any 4.x.y release should work.

Is there anything else I need to do? (eg. downgrade notify-rust from 4.5.6 to 4.5.3)

Thanks!

gbcox commented

Thanks for the quick response. Right now you don't need to take any action. I'm going through the build process and am running into the same type of issues with the other dependencies. I'm finding that unfortunately with rust packages the dependencies don't always (and I'm finding it's more often than not) accurately reflect what is actually required, so I'm having to manually patch as I encounter, and then the dependencies have dependencies that also have dependencies that have the same issue. Some of the dependencies are quite old and with them when trying to compile I'm getting errors that features they use are now deprecated or missing. Packages in Fedora must have all the required source in the Fedora repository. Additionally, we need to be using the latest versions. If a lower version is required, we then need to create a special compatibility version of that release. It's a mess.

@gbcox Not sure if it helps in any way, but I just released 0.7.0 which removes the dependency on notify-rust altogether.

Closing this for now, feel free to reopen or make another issue if there's anything I can help with to get a Fedora package working.