[06:21] <pieq> Hello! I have a project on Launchpad that triggers a snap build in the edge channel everytime there is a new commit. My project relies on launchpadlib python library, but it looks like there is a problem when building with armhf:
[06:22] <pieq> https://launchpadlibrarian.net/537303195/buildlog_snap_ubuntu_bionic_armhf_qabro_BUILDING.txt.gz
[06:22] <pieq> INFO: pip is looking at multiple versions of launchpadlib to determine which version is compatible with other requirements. This could take a while.
[06:22] <pieq> ERROR: Could not find a version that satisfies the requirement cryptography>=2.0 (from secretstorage) (from versions: 3.4.7)
[06:22] <pieq> ERROR: No matching distribution found for cryptography>=2.0
[06:22] <pieq> It works fine with arm64 and amd64 builds. Does anyone know how to deal with this?
[07:27] <mitya57> pieq: I think the actual error in your log is:
[07:27] <mitya57> ERROR: Could not find a version that satisfies the requirement setuptools-rust>=0.11.4 (from versions: none)
[07:27] <mitya57> (when trying to build cryptography)
[07:33] <pieq> mitya57, I hadn't seen this one. It used to work fine, I suppose something changed in setuptools in the last few months...
[07:35] <mitya57> There are no binary wheels for cryptography for armhf (and I think never were), so it needs to be built from source.
[07:36] <mitya57> Try installing setuptools-rust in advance, as well as rust compiler.
[07:37] <mitya57> Also probably libssl-dev will be needed.
[07:38] <StevenK> pieq: Not in setuptools, in cryptography
[07:41] <mitya57> Ah, so this may be the change: https://github.com/pyca/cryptography/commit/c84d6ee0605645a2
[07:43] <StevenK> Right, cryptography upstream now require rust
[07:46] <pieq> StevenK, mitya57 thanks a lot, it's very helpful! I'll investigate this then...
[12:08] <RikMills> many s390x builder have been 'cleaning' for over 24hrs
[12:20] <cjwatson> I'll poke them
[12:20] <RikMills> ty :)