Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 of 5 tasks
misl6 opened this issue Mar 27, 2022 · 6 comments
Closed
1 of 5 tasks
Labels
bug platform-osx Priority: High After critical issues are fixed, these should be dealt with before any further issues.

Comments

@misl6
Copy link
Member

misl6 commented Mar 27, 2022

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.

@nkehoe
Copy link

nkehoe commented Apr 8, 2022

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

@misl6
Copy link
Member Author

misl6 commented Apr 8, 2022

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?

@slomeks
Copy link

slomeks commented May 24, 2022

@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

@whyameye
Copy link

whyameye commented Jun 24, 2022

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.

@misl6
Copy link
Member Author

misl6 commented Jun 27, 2022

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.

@misl6
Copy link
Member Author

misl6 commented Jul 14, 2022

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.

@misl6 misl6 closed this as completed Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug platform-osx Priority: High After critical issues are fixed, these should be dealt with before any further issues.
Projects
None yet
Development

No branches or pull requests

4 participants