Build python 3.14 Android wheels
envgap__lexiforest__curl_cffi-824
01 / FAILURE SIGNATURE
As reported upstream
ImportError: dlopen failed: library "libpython3.13.so" not found: needed by /data/data/com.termux/files/usr/lib/python3.14/site-packages/curl_cffi/_wrapper.abi3.so in namespace (default)
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
306aed139d0f5821382d43ec1265755a8aba40b3- Manifest
setup.py- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
lexiforest/curl_cffi #824 · read the original issue
**Is your feature request related to a problem? Please describe.**
Termux updated their python version to 3.14 (https://github.com/termux/termux-packages/commit/b4bbc294d9e6b934bcc901c4846a641589e9f586).
`curl-cffi` has no wheels for it and `pip` defaults to installing the 3.13 ABI3 wheel which does not work. `cffi` looks for `libpython3.13.so` instead of `libpython3.14.so`
```python
# $ curl-cffi
Traceback (most recent call last):
File "/data/data/com.termux/files/usr/bin/curl-cffi", line 3, in <module>
from curl_cffi.cli import main
File "/data/data/com.termux/files/usr/lib/python3.14/site-packages/curl_cffi/__init__.py", line 54, in <module>
from .__version__ import __curl_version__, __description__, __title__, __version__ # noqa: F401
File "/data/data/com.termux/files/usr/lib/python3.14/site-packages/curl_cffi/__version__.py", line 15, in <module>
__curl_version__ = _resolve_curl_version()
File "/data/data/com.termux/files/usr/lib/python3.14/site-packages/curl_cffi/__version__.py", line 10, in _resolve_curl_version
from ._wrapper import ffi, lib
ImportError: dlopen failed: library "libpython3.13.so" not found: needed by /data/data/com.termux/files/usr/lib/python3.14/site-packages/curl_cffi/_wrapper.abi3.so in namespace (default)
```
**Describe the solution you'd like**
Build and publish 3.14 wheels for Android
**Additional context**
- Related to https://github.com/lexiforest/curl_cffi/issues/74
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]