💾 Archived View for bbs.geminispace.org › s › Levior › 17367 captured on 2024-07-09 at 04:40:14. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-06-16)

➡️ Next capture (2024-08-18)

🚧 View Differences

-=-=-=-=-=-=-

Comment by 🚀 stack

Re: "is it feasible to get rid of rust dependency? it makes..."

In: s/Levior

Why can't people just write god-damned C code? Only half joking :)

🚀 stack

May 27 · 6 weeks ago

6 Later Comments ↓

🐙 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!

Original Post

🌒 s/Levior

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.

💬 norayr · 14 comments · May 27 · 6 weeks ago