Skip to content

Current default Python version (3.8.9) is failing to build on latest macOS releases #2568

Closed

Description

@misl6

Checklist

  • the issue is indeed a bug and not a support request
  • issue doesn't already exist: https://github.com/kivy/python-for-android/issues
  • I have a short, runnable example that reproduces the issue
  • I reproduced the problem with the latest development version (p4a.branch = develop)
  • I used the grave accent (aka backticks) to format code or logs when appropriated

Versions

  • Python: *
  • OS: macOS >= 11.x
  • Kivy: *
  • Cython: *
  • OpenJDK: *

Description

This is due to a bug that has been fixed on the CPython upstream.

As a temporary workaround, pinning version 3.9.12 for both hostpython3 and python3 should fix the issue.

Activity

  1. added
    Priority: HighAfter critical issues are fixed, these should be dealt with before any further issues.
    on Mar 27, 2022
  2. nkehoe commented on Apr 8, 2022

    @nkehoe

    How do you pin the versions? I set python3 and hostpython3 ==3.9.12 in the .spec file but I get the same error

  3. misl6 commented on Apr 8, 2022

    @misl6
    MemberAuthor

    How do you pin the versions? I set python3 and hostpython3 ==3.9.12 in the .spec file but I get the same error

    Have you cleaned your .buildozer folder?

  4. slomeks commented on May 24, 2022

    @slomeks

    @nkehoe if you haven't found it so far: assure you have requirements specified as follows in your buildozer.spec file: requirements = python3==3.9.12, hostpython3==3.9.12

  5. whyameye commented on Jun 24, 2022

    @whyameye

    my Mac had Python 3.8.9 so I installed 3.9.13 from brew, made sure all the necessary modules were there, made sure terminal was defaulting to Python 3.9.13, changed the buildozer.spec file : requirements = python3==3.9.13, hostpython3==3.9.13, deleted the .buildozer contents, tried again same error. Asked for help in the support channel on discord but things seem pretty dead there.

  6. misl6 commented on Jun 27, 2022

    @misl6
    MemberAuthor

    my Mac had Python 3.8.9 so I installed 3.9.13 from brew, made sure all the necessary modules were there, made sure terminal was defaulting to Python 3.9.13, changed the buildozer.spec file : requirements = python3==3.9.13, hostpython3==3.9.13, deleted the .buildozer contents, tried again same error. Asked for help in the support channel on discord but things seem pretty dead there.

    Hi @whyameye!

    If you still need help, feel free to ping me (m1sl6) on #android-support channel.

  7. misl6 commented on Jul 14, 2022

    @misl6
    MemberAuthor

    Fixed via #2586 (as the new default is 3.9.9 ), feel free to re-open the issue if you're still encountering it on the develop branch.

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

    Priority: HighAfter critical issues are fixed, these should be dealt with before any further issues.bugplatform-osx

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions