Downstream in PyO3 we are trying to get build configuration for the new Android distributions fully ironed out.
In particular we're looking at which shared library to link against when building for the stable ABI. We noted that the android distributions do include libpython3.so (without minor version) however we also noted the following text from PEP 738:
All Python extension modules must therefore be explicitly linked against libpython3.x.so when building for Android.
This wording specifically calls out the version-specific library. I cannot see technical reasons why we couldn't link against the stable ABI library instead, and the PEP doesn't appear to mention the stable ABI at all.
Downstream in PyO3 we are trying to get build configuration for the new Android distributions fully ironed out.
In particular we're looking at which shared library to link against when building for the stable ABI. We noted that the android distributions do include
libpython3.so(without minor version) however we also noted the following text from PEP 738:This wording specifically calls out the version-specific library. I cannot see technical reasons why we couldn't link against the stable ABI library instead, and the PEP doesn't appear to mention the stable ABI at all.