💾 Archived View for bbs.geminispace.org › u › gemalaya › 17365 captured on 2024-06-20 at 11:57:57. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-06-16)
-=-=-=-=-=-=-
Re: "is it feasible to get rid of rust dependency? it makes..."
Also, be sure to run "pip install -U pip", that could be the issue. I see that there are aarch64 wheels for "cryptography" so building on aarch64 without rust is definitely possible.
— https://stackoverflow.com/questions/66118337/how-to-get-rid-of-cryptography-build-error
May 27 · 3 weeks ago
Why can't people just write god-damned C code? Only half joking :)
🐙 norayr [OP] · May 28 at 00:57:
Can you try adding "cryptography==3.4.8" in pyproject.toml's "dependencies" array and try to build with this command ?
CRYPTOGRAPHY_DONT_BUILD_RUST=1 pip install .
it works, i was able to build it, thank you!
😺 gemalaya [mod] · May 28 at 09:35:
@norayr Nice ! No issues with TLS connections ?
😺 gemalaya [mod] · May 28 at 09:44:
I'll try to provide an appimage for aarch64 as well.
😺 gemalaya [mod] · May 28 at 10:17:
Actually there's no aarch64 dist for python-appimage so that's a problem ...
— https://github.com/niess/python-appimage
For now I'll just add a section in the README to explain how to build it on aarch64.
🐙 norayr [OP] · May 29 at 00:28:
thank you, but for me, sincerely, don't bother. i prefer to build software myself, appimages feel like black boxes.
🐙 norayr [OP] · May 29 at 00:30:
also yes, i think no issues. it works well. thank you!
is it feasible to get rid of rust dependency? it makes building levior hard on my pinebook/gentoo, and there is no rust-bin(binary version) for aarch64, since i cannot build rust there, it requires too much memory. and on maemo leste, where i wanted to also package it - impossible, since it is based on devuan oldstable and only has much older version of rust yet.