Skip to content

Cannot use python version lower than 3.14 #3281

Closed

Description

@GvozdevLeonid

I saw in the problems that this issue had already arisen with patches. I copied the python and hostpython recipes to my own recipes directory and set the python version to 3.11.14. The build completed successfully, but when launching the Android app itself, an error occurs because for some reason it's looking for libpython3.14.

....
Checking pattern libSDL2\.so against libpython3.11.so
....
Loading library: sqlite3
Loading library: ffi
Loading library: png16
Loading library: ssl
Loading library: crypto
Loading library: SDL2
Loading library: SDL2_image
Loading library: SDL2_mixer
Loading library: SDL2_ttf
Loading library: python3.14
Library loading error: dlopen failed: library "libpython3.14.so" not found

I also noticed an important annoying nuance when building Python with the new recipe: now you can't add sqlite to the blacklist, as this will lead to a build crash.

Activity

  1. GvozdevLeonid commented on Feb 21, 2026

    @GvozdevLeonid
    ContributorAuthor

    I think I found a bug. In PythonUtil.java's getLibraries function, the Python versions are decreasing (3.14...3.5), but the loadLibraries function expects an increasing order (3.5...3.14).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    PR-testedPR has been tested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions