Anders Pitman
Anders Pitman
Unfortunately it looks like `sys.platform` is returning `linux` on both the Android emulator and a physical Pixel 7. I may still be able to work around this for my local...
Hmm ``` import platform print(platform.system()) ``` is showing `Linux 5.10.136-android12-9...`. Maybe we could do a string comparision and see if it includes "android". Pretty hacky but might work in the...
Ok I got it working on the Android emulator by downloading [wasmtime-v32.0.0-x86_64-android.tar.xz](https://github.com/bytecodealliance/wasmtime/releases/download/v32.0.0/wasmtime-v32.0.0-x86_64-android.tar.xz) and manually pushing `_libwasmtime.so` into the location expected by BeeWare/Chaquopy. wasmtime is so cool! Unfortunately I don't have...
I managed to hack it together by putting the wasmtime libraries in the BeeWare resources directory and hard-coding wasmtime-py to pick up the files from there. Interestingly it doesn't allow...
Excellent. I'm happy to make the necessary changes to wasmtime-py and submit a PR. @mhsmith sounds like the best (only?) way currently to build Android package wheels is using the...
Looks like a pretty basic [setup.py](https://github.com/bytecodealliance/wasmtime-py/blob/main/setup.py) to me. Does setuptools have this functionality?
Started a PR here: https://github.com/bytecodealliance/wasmtime-py/pull/279 Currently only building and publishing is implemented. Still working on importing. One problem with the current PR is the Android API version is hard-coded to...
This is what `file` (version 5.46) gives me: ``` file wasmtime/android-aarch64/_libwasmtime.so wasmtime/android-aarch64/_libwasmtime.so: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, for Android 26, built by NDK...
Sounds like we probably better not rely on that information. @alexcrichton might it be possible to include the API version in the filename when the upstream Android artifacts are built?
decent-auth is still new, but I've been very happy with the level of abstraction it provides me for my projects. Basically let's me drop OIDC/Email/QR/ATProto/Fediverse/etc login into any Rust/Go/Node app...