Electrum fails install

Electrum bitcoin wallet is in the repo but fails to install on rome. error:

Problem: conflicting requests
- nothing provides python3.9dist(certifi) needed by electrum-4.0.9-1.noarch from rolling-x86_64
- nothing provides python3.9dist(qrcode) needed by electrum-4.0.9-1.noarch from rolling-x86_64
- nothing provides (python3.9dist(aiohttp) = 3.3) needed by electrum-4.0.9-1.noarch from rolling-x86_64
- nothing provides (python3.9dist(aiorpcx) = 0.18) needed by electrum-4.0.9-1.noarch from rolling-x86_64
- nothing provides python3.9dist(aiohttp-socks) >= 0.3 needed by electrum-4.0.9-1.noarch from rolling-x86_64
- nothing provides python3.9dist(attrs) >= 19.2 needed by electrum-4.0.9-1.noarch from rolling-x86_64
- nothing provides python3.9dist(dnspython) >= 2 needed by electrum-4.0.9-1.noarch from rolling-x86_64
- nothing provides python3.9dist(protobuf) >= 3.12 needed by electrum-4.0.9-1.noarch from rolling-x86_64

Seems like the Python packages, like Electrum have not been rebuilt after bumping the Python version.

$ rpm -q --provides python-certifi
python-certifi = 2024.8.30-1
python3.11dist(certifi) = 2024.8.30
python3dist(certifi) = 2024.8.30

Looks like the package is untouched since some time
GitHub - OpenMandrivaAssociation/electrum

Probably needs update too https://electrum.org/#download

4.5.8 is the latest vers. spec file has 4.2.1 so its outdated a bit…

not too sure exactly how OM does the package builds. (I haven’t got around to reading about packaging yet been busy with other stuff) but I am guessing the spec files need ver# bumped up and the build system to rerun it?

As said :wink:

Yes, but not only. There may (or not) be some deps hell instances to take care of.

i am guessing the build server reports where build is failing? i can see how it could be a nightmare if you end up with a package needed x version and to get that x version having to update 10 other things which leads to greater chance at overall system breakage.

I was able to build the package on my test server running Cooker, so it might just be a missing rebuild after a Python upgrade.

Wrote: /home/jonny/rpmbuild/RPMS/noarch/electrum-4.2.1-2-omv2590.noarch.rpm

curious if the newest version will build (4.5.8 vs 4.2.1)

if i get time at some point I do want to read up on the OM packaging system/how-to etc to see if I can’t figure some of this stuff out just been so busy as of late.

Totally depends on the changes. If there are no new dependencies and it still works with the Python provided by OM, then it could just be to bump the version.

I maintained Electrum[1] for Fedora Linux for many years, sometimes the upgrade was a one-liner.

[1] 1187084 – Review Request: electrum - a lightweight Bitcoin client

hopefully the ABF will build it with a simple version bump.