Re: [Python-Dev] Support of the Android platform

2018-01-23 Thread Steve Holden
For this to move forward more rapidly it would really help if there were a utility VM appliance available with a ready-installed support an SDK. Or at least that would lower impedance to joining the development effort. Does any such beast by chance exist? S Steve Holden On Tue, Jan 23, 2018 at 5

Re: [Python-Dev] Support of the Android platform

2018-01-23 Thread Victor Stinner
Ok, I created https://bugs.python.org/issue32637 "Android: set sys.platform and os.name to android" Victor 2018-01-23 18:01 GMT+01:00 Brett Cannon : > > > On Mon, 22 Jan 2018 at 09:29 Victor Stinner > wrote: >> >> Hi, >> >> I'm still talking with Paul Peny (pmpp on IRC) who is trying to build >>

Re: [Python-Dev] Support of the Android platform

2018-01-23 Thread Brett Cannon
On Mon, 22 Jan 2018 at 09:29 Victor Stinner wrote: > Hi, > > I'm still talking with Paul Peny (pmpp on IRC) who is trying to build > the master branch of Python on Android, using cross-compilation or > directly on an Android device. I started to took notes since Android > is a complex platforms a

Re: [Python-Dev] Support of the Android platform

2018-01-22 Thread Victor Stinner
Hi, I'm still talking with Paul Peny (pmpp on IRC) who is trying to build the master branch of Python on Android, using cross-compilation or directly on an Android device. I started to took notes since Android is a complex platforms and it's not easy for me to remember everything. http://vstinner

Re: [Python-Dev] Support of the Android platform

2017-12-15 Thread Mike Miller
I've used Kivy with buildozer on Android and it generally works well, with a few issues. Currently it uses the Crystax NDK for Python 3 support. Does anyone know how this development will affect it? -Mike On 2017-12-15 10:06, Glenn Linderman wrote: I see a variety of Python apps on Android,

Re: [Python-Dev] Support of the Android platform

2017-12-15 Thread Glenn Linderman
On 12/15/2017 8:29 AM, Xavier de Gaye wrote: On 12/14/2017 02:59 PM, Victor Stinner wrote: > It seems like Android is evolving quickly, would say quicker than > Python releases. I'm asking if it's a good idea to put a recipe aside > the Python source code for one specific Android API version? Wou

Re: [Python-Dev] Support of the Android platform

2017-12-15 Thread Xavier de Gaye
On 12/14/2017 02:59 PM, Victor Stinner wrote: > It seems like Android is evolving quickly, would say quicker than > Python releases. I'm asking if it's a good idea to put a recipe aside > the Python source code for one specific Android API version? Would it > still make sense to build for NDK v14

Re: [Python-Dev] Support of the Android platform

2017-12-14 Thread Victor Stinner
2017-12-14 10:26 GMT+01:00 Xavier de Gaye : > The 'Mac' build system has its own subdirectory in the source tree and it > makes sense as it is the reference build system for this platform. I do not > see why this should be different for Android. Hum, Mac/ is mostly the recipe to build the installe

Re: [Python-Dev] Support of the Android platform

2017-12-14 Thread Xavier de Gaye
On 12/13/2017 10:56 PM, Victor Stinner wrote: > I looked at your scripts to build Android but I failed to use them. You failed because you did not read the README and tried to improvise. I will change the documentation and the build process to make it simpler for those that do not have the time t

Re: [Python-Dev] Support of the Android platform

2017-12-13 Thread Victor Stinner
Hi Xavier, I looked at your scripts to build Android but I failed to use them. Anyway, I'm not sure why these scripts have to be part of the CPython git repository. Technically, is there a reason to put it aside the source code and Unix build scripts (configure/Makefile/setup)? Your https://gith

Re: [Python-Dev] Support of the Android platform

2017-12-12 Thread Victor Stinner
2017-12-12 15:02 GMT+01:00 Antoine Pitrou : > It sounds reasonable to me, as long as someone is monitoring their > results (that would probably be you). There is now the buildbot-status where failures are reported. Trust me, I like making a lot of noise when something is broken :-) FYI I'm trying

Re: [Python-Dev] Support of the Android platform

2017-12-12 Thread Antoine Pitrou
On Tue, 12 Dec 2017 10:50:53 +0100 Xavier de Gaye wrote: > On 12/11/2017 04:14 PM, Victor Stinner wrote: > > I'm asking for precise hardware specifications since Red Hat may be > > able to provide one through the https://osci.io/ program. > > Is it acceptable to run the arm buildbots only on

Re: [Python-Dev] Support of the Android platform

2017-12-12 Thread Xavier de Gaye
On 12/11/2017 04:14 PM, Victor Stinner wrote: > I'm asking for precise hardware specifications since Red Hat may be > able to provide one through the https://osci.io/ program. Is it acceptable to run the arm buildbots only on a weekly basis ? For all the architectures (x86_64, armv7 and arm64),

Re: [Python-Dev] Support of the Android platform

2017-12-11 Thread Xavier de Gaye
On 12/11/2017 03:40 PM, Victor Stinner wrote: > 2017-12-11 14:58 GMT+01:00 Xavier de Gaye : >> The host running the buildbots must be able to run 6 (i.e. 3 x (version 3.x >> + maintenance version)) emulators simultaneously, so with an eight core cpu, >> that will be 6 cores running at 100%. The ar

Re: [Python-Dev] Support of the Android platform

2017-12-11 Thread Victor Stinner
I'm asking for precise hardware specifications since Red Hat may be able to provide one through the https://osci.io/ program. Victor 2017-12-11 15:40 GMT+01:00 Victor Stinner : > 2017-12-11 14:58 GMT+01:00 Xavier de Gaye : >> The host running the buildbots must be able to run 6 (i.e. 3 x (version

Re: [Python-Dev] Support of the Android platform

2017-12-11 Thread Victor Stinner
2017-12-11 14:58 GMT+01:00 Xavier de Gaye : > The host running the buildbots must be able to run 6 (i.e. 3 x (version 3.x > + maintenance version)) emulators simultaneously, so with an eight core cpu, > that will be 6 cores running at 100%. The armv7 and arm64 buildbot may be > set to run only dail

Re: [Python-Dev] Support of the Android platform

2017-12-11 Thread Xavier de Gaye
On 12/11/2017 12:56 PM, Victor Stinner wrote: > 2017-12-10 15:19 GMT+01:00 Xavier de Gaye : >> * Given the cpu resources required to run the test suite on the arm >> emulators, >>it may be difficult to find a contributed buildbot worker. So it remains >> to >>find the hardware to run these

Re: [Python-Dev] Support of the Android platform

2017-12-11 Thread Xavier de Gaye
On 12/10/2017 11:07 PM, Ned Deily wrote: > On the one hand, it would be nice to have. But on the other, it does add a large non-zero burden to all core developers and to the release teams, to the minimum extent of trying to make sure that all ongoing changes don't break platform support. Yes t

Re: [Python-Dev] Support of the Android platform

2017-12-11 Thread Xavier de Gaye
On 12/10/2017 10:27 PM, Skip Montanaro wrote: > I'm not familiar with software development on/for Android, but > wouldn't official support also involve suitable package creation or > does that just fall out for free from the build-for-emulator PR? > > Skip > The build-for-emulator PR allows build

Re: [Python-Dev] Support of the Android platform

2017-12-11 Thread Xavier de Gaye
On 12/10/2017 09:27 PM, Brett Cannon wrote: > While the note from a technical standpoint is interest, Xavier, I don't quite see what needs to be done to support Android at this point. Are you simply asking we add Android API 24 as an official > platform? Or permission to add your note to the Mis

Re: [Python-Dev] Support of the Android platform

2017-12-11 Thread Victor Stinner
2017-12-10 15:19 GMT+01:00 Xavier de Gaye : > Motivations > === > > * Android is ubiquitous. > * This would be the first platform supported by Python that is > cross-compiled, > thanks to many contributors. > * Although the Android operating system is linux, it is different from most >

Re: [Python-Dev] Support of the Android platform

2017-12-10 Thread Victor Stinner
Le 10 déc. 2017 23:10, "Ned Deily" a écrit : > But on the other, it does add a large non-zero burden to all core developers (...) I reviewed some of the Android' pull requests. Most changes are small and self contained. > As long as Xavier is willing to keep supporting the platform, the first re

Re: [Python-Dev] Support of the Android platform

2017-12-10 Thread Victor Stinner
Xavier is working on fixing random issues specific to Android since 2 years. He is almost done, the last step is just to add a build infra to get a buildbot. https://github.com/python/cpython/pull/1629 https://bugs.python.org/issue30386 It's a set of scripts to cross compile Python from Linux to

Re: [Python-Dev] Support of the Android platform

2017-12-10 Thread Guido van Rossum
I think someone may have to mentor Xavier on how to get this accepted. The note already looks a bit like a PEP, but I suspect that Xavier is not sufficiently familiar with our process to realize the difference. On Sun, Dec 10, 2017 at 2:07 PM, Ned Deily wrote: > On Dec 10, 2017, at 16:26, Guido

Re: [Python-Dev] Support of the Android platform

2017-12-10 Thread Ned Deily
On Dec 10, 2017, at 16:26, Guido van Rossum wrote: > On Dec 10, 2017 12:29, "Brett Cannon" wrote: >> On Sun, 10 Dec 2017 at 06:19 Xavier de Gaye wrote: >>> The following note is a proposal to add the support of the Android platform. >>> [...] >> While the note from a technical standpoint is inte

Re: [Python-Dev] Support of the Android platform

2017-12-10 Thread Skip Montanaro
I'm not familiar with software development on/for Android, but wouldn't official support also involve suitable package creation or does that just fall out for free from the build-for-emulator PR? Skip ___ Python-Dev mailing list Python-Dev@python.org htt

Re: [Python-Dev] Support of the Android platform

2017-12-10 Thread Guido van Rossum
Maybe it should be a PEP? On Dec 10, 2017 12:29, "Brett Cannon" wrote: > While the note from a technical standpoint is interest, Xavier, I don't > quite see what needs to be done to support Android at this point. Are you > simply asking we add Android API 24 as an official platform? Or permissio

Re: [Python-Dev] Support of the Android platform

2017-12-10 Thread Brett Cannon
While the note from a technical standpoint is interest, Xavier, I don't quite see what needs to be done to support Android at this point. Are you simply asking we add Android API 24 as an official platform? Or permission to add your note to the Misc/ directory? Basically what are you wanting to see

[Python-Dev] Support of the Android platform

2017-12-10 Thread Xavier de Gaye
The following note is a proposal to add the support of the Android platform. The note is easier to read with clickable links at https://github.com/xdegaye/cagibi/blob/master/doc/android_support.rst Motivations === * Android is ubiquitous. * This would be the first platform supported by

Re: [Python-Dev] support of the Android platform

2017-01-15 Thread Xavier de Gaye
On 01/14/2017 09:56 PM, Victor Stinner wrote: > Great job! Thank you and Chi Hsuan Yen! > > Did you get feedback from users? Maybe from the Kivy community? > > Victor > > Le 14 janv. 2017 18:31, "Xavier de Gaye" a écrit : > > Only a few minor issues are left to be fixed before the support of t

[Python-Dev] support of the Android platform

2017-01-14 Thread Xavier de Gaye
Only a few minor issues are left to be fixed before the support of the Android platform may be considered. See the current status at msg285493 [1] in the Android meta-issue 26865 [2]. Xavier [1] http://bugs.python.org/issue26865#msg285493 [2] http://bugs.python.org/issue26865 ___

Re: [Python-Dev] support of the android platform

2016-04-26 Thread Stefan Krah
Xavier de Gaye gmail.com> writes: > Yes, I am re-licensing GPL code to the PSF for all the patches written by me > in the issues listed on http://bugs.python.org/issue26865#msg264310. I have > only rewritten the patches from scratch in the following issues: Thanks, this all sounds good. > issu

Re: [Python-Dev] support of the android platform

2016-04-26 Thread Xavier de Gaye
On 04/26/2016 07:12 PM, Stefan Krah wrote: > Xavier de Gaye gmail.com> writes: >> This code, or part of it, could be used to setup a buildbot and in this case >> there would not be any conflict between the GPL v3 license and the Python >> license, I think. I don't see how it can be combined with

Re: [Python-Dev] support of the android platform

2016-04-26 Thread Stefan Krah
Xavier de Gaye gmail.com> writes: > This code, or part of it, could be used to setup a buildbot and in this case > there would not be any conflict between the GPL v3 license and the Python > license, I think. I don't see how it can be combined with Python 3. For the patches on the tracker I just

Re: [Python-Dev] support of the android platform

2016-04-26 Thread Xavier de Gaye
On 04/26/2016 04:14 PM, Ethan Furman wrote: > On 04/24/2016 12:20 AM, Xavier de Gaye wrote: > >> [1] https://bitbucket.org/xdegaye/pyona/src > > The license: > --- > This software is licensed under the GNU General Public License version 3 or later. > --- > > > Will combining your

Re: [Python-Dev] support of the android platform

2016-04-26 Thread Xavier de Gaye
On 04/26/2016 04:02 AM, Nick Coghlan wrote: > On 26 April 2016 at 06:25, Xavier de Gaye mailto:xdeg...@gmail.com>> wrote: > > On 04/25/2016 04:53 PM, Stefan Krah wrote: > > Eric Snow gmail.com > writes: > >> On Sun, Apr 24, 2016 at 1:20 AM, Xavier de Gaye gmail.com <

Re: [Python-Dev] support of the android platform

2016-04-26 Thread Ethan Furman
On 04/24/2016 12:20 AM, Xavier de Gaye wrote: [1] https://bitbucket.org/xdegaye/pyona/src The license: --- This software is licensed under the GNU General Public License version 3 or later. --- Will combining your code with Python 3 be a problem? -- ~Ethan~ ___

Re: [Python-Dev] support of the android platform

2016-04-25 Thread Ryan Gonzalez
Oh wow, has a year passed already? I don't have access to an Android device suitable for development, and Cyd seems to have disappeared, which is why the issue ended up abandoned. I'd be happy to try to help with the new effort if possible! -- Ryan [ERROR]: Your autotools build scripts are 200 lin

Re: [Python-Dev] support of the android platform

2016-04-25 Thread Nick Coghlan
On 26 April 2016 at 06:25, Xavier de Gaye wrote: > On 04/25/2016 04:53 PM, Stefan Krah wrote: > > Eric Snow gmail.com> writes: > >> On Sun, Apr 24, 2016 at 1:20 AM, Xavier de Gaye gmail.com > > > > wrote: > >>> Starting with API level 21 (Android 5.0), the build of python3 with the > >>> offici

Re: [Python-Dev] support of the android platform

2016-04-25 Thread Xavier de Gaye
On 04/25/2016 04:53 PM, Stefan Krah wrote: > Eric Snow gmail.com> writes: >> On Sun, Apr 24, 2016 at 1:20 AM, Xavier de Gaye gmail.com> > wrote: >>> Starting with API level 21 (Android 5.0), the build of python3 with the >>> official android toolchains (that is, without resorting to external > >

Re: [Python-Dev] support of the android platform

2016-04-25 Thread Xavier de Gaye
On 04/25/2016 04:36 PM, Eric Snow wrote: > On Sun, Apr 24, 2016 at 1:20 AM, Xavier de Gaye wrote: >> Starting with API level 21 (Android 5.0), the build of python3 with the >> official android toolchains (that is, without resorting to external >> libraries >> for wide character support) runs corr

Re: [Python-Dev] support of the android platform

2016-04-25 Thread Stefan Krah
Eric Snow gmail.com> writes: > On Sun, Apr 24, 2016 at 1:20 AM, Xavier de Gaye gmail.com> wrote: > > Starting with API level 21 (Android 5.0), the build of python3 with the > > official android toolchains (that is, without resorting to external > How does this relate to http://bugs.python.org/is

Re: [Python-Dev] support of the android platform

2016-04-25 Thread Eric Snow
On Sun, Apr 24, 2016 at 1:20 AM, Xavier de Gaye wrote: > Starting with API level 21 (Android 5.0), the build of python3 with the > official android toolchains (that is, without resorting to external > libraries > for wide character support) runs correctly. With the set of patches > described > in

Re: [Python-Dev] support of the android platform

2016-04-25 Thread Xavier de Gaye
On 04/24/2016 11:50 AM, Stefan Krah wrote: > Xavier de Gaye gmail.com> writes: >> Starting with API level 21 (Android 5.0), the build of python3 with the >> official android toolchains (that is, without resorting to external libraries >> for wide character support) runs correctly. With the set o

Re: [Python-Dev] support of the android platform

2016-04-24 Thread Stefan Krah
Xavier de Gaye gmail.com> writes: > Starting with API level 21 (Android 5.0), the build of python3 with the > official android toolchains (that is, without resorting to external libraries > for wide character support) runs correctly. With the set of patches described > in the patches/Makefile fil

[Python-Dev] support of the android platform

2016-04-24 Thread Xavier de Gaye
Starting with API level 21 (Android 5.0), the build of python3 with the official android toolchains (that is, without resorting to external libraries for wide character support) runs correctly. With the set of patches described in the patches/Makefile file at [1], the cpython test suite runs[2] o