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

Python 3 recipe follow up issues #1455

Closed
6 tasks done
inclement opened this issue Nov 10, 2018 · 4 comments
Closed
6 tasks done

Python 3 recipe follow up issues #1455

inclement opened this issue Nov 10, 2018 · 4 comments

Comments

@inclement
Copy link
Member

inclement commented Nov 10, 2018

The new Python 3 recipe (#1412) is in a fully working state, but there are a few important follow up issues to work through now:

  • Make python3 recipe use p4a's arch system as much as possible, including making p4a understand clang toolchains (and ideally at the same time try using clang for other recipes)
  • openssl recipe compatibilty
  • sqlite recipe compatibility
  • Fully optimize the zipped distribution size by removing unnecessary things (and making this customisable?)
  • Make the python3 build include ctypes, not sure why it doesn't build right now as it did in bpo-30386 Add ctypes support for python3's recipe #1465
  • Get a python3 CI test working Added python3 testapp build to Travis matrix #1456
opacam added a commit to opacam/python-for-android that referenced this issue Nov 17, 2018
Should be mentioned that the current test app for python3 has been modified by adding libffi to the requirements because the ui for the app has some button to test the ctypes module.

References: This commit partially fixes some of the points mentioned in issue number kivy#1455
@pmp-p
Copy link

pmp-p commented Nov 19, 2018

* [ ]  Make the python3 build include ctypes, not sure why it doesn't build right now as it did in bpo-30386

setup.py won't always detect libffi of target when cross compiling, but now python3.7 - unlike the previous - need a system ffi to build ctypes.

cf: https://bugs.python.org/issue31710

@pmp-p
Copy link

pmp-p commented Dec 3, 2018

maybe a bug, i found that when using a python host 3.7.1+ ( some distributions have started shipping it )
the jinja2 from ./pythonforandroid/bootstraps/pygame/build/buildlib/jinja2.egg is seriously updated ( 3 errors due to py3 )

@inclement
Copy link
Member Author

@pmp-p Thanks for the note, the pygame bootstrap is deprecated and has many issues like this, we may look to just remove it soon.

@inclement
Copy link
Member Author

Follow up issues essentially complete thanks to various contributors :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants