Poudriere build failure: finance/electrum@py312

While Poudriere was building Electrum for FreeBSD 14.4, the building stopped, when dependency check for Asyncio NOSTR client failed. The issue seems to be a version requirement. I tested building with Python 3.11 and 3.12. If you have tips, I would be happy to learn more about, how to fix this issue.
Code:
Extracting py312-electrum-aionostr-0.1.0: ………. done
py312-electrum-4.6.2 depends on package: py312-electrum-aionostr>=0.0.11,<0.1 – not found
make: stopped making “run-depends” in /usr/ports/finance/electrum
 
Is it possible to override or disable the "<0.1" in the Poudriere Make settings? It looks like it must be below 0.1, but it is 0.1 exactly.
 
Technically, the dependency version check can be changed, which will solve the issue. This can be done in wrapper script or manually. In both methods, the version requirement in the Makefile is substituted with a higher limit. Poudriere will compile it with no issues and Electrum runs right out. I have not tested actual connection and transaction operations.

However, as SirDice mentioned, Electrum 4.6.2 was released 2025-08-25 and has since reached 4.7.2. A better solution is probably to download and verify Electrum from the official website and then running it without installing. Electrum is a Python application and should run, if Python and necessary dependencies is installed. The procedure is published on the official website.

Thanks for all the input. Also off-thread inputs from former maintainer.
 
A better solution is probably to download and verify Electrum from the official website and then running it without installing.
An even better solution is to update the port to the latest version. That would probably also solve the dependency issues.

In case you aren't aware, anyone can submit patches to update a port, regardless if it's maintained or not. The only real difference between a maintained and unmaintained port is that a maintainer would need to approve that patch. There's no maintainer on this port any more, if the patch is good (no build issues) then a port committer can apply it.
 
Back
Top