mirror of
https://github.com/open-webui/computer.git
synced 2026-11-05 01:17:24 +00:00
[GH-ISSUE #150] bug: cryptography 49.0.0 Rust bindings fail at runtime on Python 3.14 (Termux/Android) #75
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/computer#75
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @akopper on GitHub (Jul 16, 2026).
Original GitHub issue: https://github.com/open-webui/computer/issues/150
First off: thank you! 🙏
I just want to say — cptr is incredible. I use it every single day and I absolutely love it. Being able to turn any device into a full workstation accessible from a browser is genuinely game-changing. The mobile-first UI, the persistent terminal, the AI agent with tool calling — it all just works beautifully. Huge thanks to the whole team behind this.
The problem
When running cptr on Android via Termux with Python 3.14, cptr crashes at startup with an
ImportErrorfrom thecryptographydependency.The installation of
cryptography49.0.0 succeeds fine — the problem is at runtime, not build time. The pre-built Rust bindings (_rust.abi3.so) shipped with cryptography 49.0.0 reference the C-API symbolPyExc_Warning, which was removed in Python 3.14. This causes adlopenfailure when cptr tries to importcryptography.Environment
Error
Root cause
The
PyExc_WarningC-API symbol was removed in Python 3.14 (it was deprecated and replaced byPyExc_DeprecationWarningetc. in the stable ABI). The pre-built_rust.abi3.soin cryptography 49.0.0 still references this symbol, causing adlopenfailure on Python 3.14.Note:
pip install --force-reinstall --no-binary cryptography cryptographydid not fix the issue — pip still used a cached wheel and reinstalled 49.0.0, which has the same problem.The workaround
Pinning
cryptographyto 43.0.1 resolves the issue — its Rust bindings do not referencePyExc_Warning:cptr works perfectly fine with cryptography 43.0.1 — no issues at all.
Thanks again for this amazing project — it has become an essential part of my daily workflow. 🚀
@owui-terminator[bot] commented on GitHub (Jul 16, 2026):
⚠️ Missing Issue Title Prefix
@akopper, your issue title is missing a categorising prefix (e.g.
bug:,feat:,docs:).Please update the title to lead with one of:
Example:
bug: Login fails when the password contains special characters@tjbck commented on GitHub (Jul 18, 2026):
Should be addressed! Appreciate the kind words!