![]() |
[Announce] Python3.2 (3.2.3) on extras-devel
1 Attachment(s)
Python3.2 on extras-devel.
Compiled with gcc-4.6, so only armel (it can't be compiled with gcc-4.2), without docs (I can locally generate docs, but not in autobuilder). Seems to work. I'm eager to see packages using it. |
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Quote:
|
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Quote:
|
Re: [Announce] Python3.2 (3.2.3) on extras-devel
can u plz plz tell what'd be advantages after installing this? plz tell
|
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Python2 and python3 are scripting languages. They are "very similar but still different languages". https://wiki.python.org/moin/Python2orPython3
Quote:
*If you are planning to write python application for Fremantle, you can use python3, instead of python2. (*We might soon see Qt5+Python3+PyOtherSide: http://talk.maemo.org/showpost.php?p...&postcount=387) |
Re: [Announce] Python3.2 (3.2.3) on extras-devel
@AapoRantalainen
Thnk you very much, may god bless you buddy :) |
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Thanks AapoRantalainen
would it be possible to have setuptools packaged to ease the installation of python softwares ? |
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Quote:
|
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Aapo, what about python3 package to support /usr/bin/python3, py3version (and possibly dh-python later on)
|
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Aapo, can you please optify it?
|
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Quote:
|
Re: [Announce] Python3.2 (3.2.3) on extras-devel
I would also like an optified version, as my rootfs is almost full (still may optify it a bit manually).
But another question here, if it is possible at all? If yes would it be possible to optify python-2.5 (moving /usr/lib/python-2.5/ to opt), which is 'wasting' over 20MB on rootfs? |
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Quote:
Code:
~ $ mount |
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Ups, sorry.
Yes, read that part of mount so often that it seems I do ignore it fully. :mad: damn, thought I could free up some space... [down to 10MB] --edit (OT) Just checked once more (and it is actually 79.8 MB ;)). But why I thought so is du -xsh /usr/lib/ shows 79.8 for python2.5. And -x should not show space on other file system. Seems a mounted (different) file system is not recognized by 'du'? |
Re: [Announce] Python3.2 (3.2.3) on extras-devel
@peterleinchen
If I do "du -h /usr/lib" I get 201.5M. If I do "du -xh /usr/lib" I get 141.4M. Doing a diff on both outputs it is clear that "-xh" omits/ignores the 3 directories that are bind-mounted on /usr/lib, i.e. python2.5, pyshared and python-support. You are probably doing "du -xsh /usr/lib/*" (note the "*") which is effectively overriding the "-x" by telling du explicitly to calculate the size of every directory under /usr/lib/, that is, including those [r]bind-mounted. |
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Yes, exactly that is. (I expected a different behaviour, but from the view of directory hierarchy this makes sense.)
Muchos gracias. -- end of OT |
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Optified python3.4.0 on extras-devel. Thanks for Your patience.
This time no Debian/Ubuntu-stuff, but I started with sources straight from the upstream [https://www.python.org/ftp/python/3....thon-3.4.0.tgz]. Everything is now in one big (22Mb) package, called python3. Ok, this is loaned from Debian (but expat and libmpdec compiled-in) Code:
./configure --prefix=/opt/python3/ \ And symlink /usr/bin/python3 -> /opt/python3/bin/python3.4 (This all looks so obvious now, but trust me this took some time to tinker) Btw: It is compiled with default compiler on auto builder. |
Re: [Announce] Python3.2 (3.2.3) on extras-devel
And of cource you should be interested in test-results (feel free to run on your device, tests are installed):
I dont yet understand everything, feel free to comment what are critical. Code:
cd /opt/python3/lib/python3.4/test/ Code:
== CPython 3.4.0 (default, Apr 19 2014, 16:37:49) [GCC 4.2.1] You can run simple test with (e.g) Code:
root [EDIT] Tests 60,61,62,63,64 You need write access to the directory: Code:
chown -R user /opt/python3/lib/python3.4/test Code:
python3 regrtest.py -uurlfetch test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw |
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Quote:
|
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Quote:
BTW, we now have the same version of Python Sailfish has (3.4), which is even newer than the Python version in the latest Fedora (3.3). :D |
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Is it easy to make tkinter module optional? tk8.5+tcl8.5+blt are 10M of our precious space and I'm not aware about any package that actually uses python tkinter module even on python2. Are there any in maemo repos?
Update: why did you disable pip? Code:
--without-ensurepip \ Code:
--with-ensurepip=install |
Re: [Announce] Python3.2 (3.2.3) on extras-devel
int_ua: so why don't you optify it? ;) 'Cause if it's on opt, it doesn't matter that much
|
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Aapo, what about porting `python3-defaults` so that python3 modules can be built? We're porting the modules for 2.7, so maybe we could then build it for 3 at the same time, if python3-defaults were available.
|
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Doh,
Currently we have 'python-3.4.0' which is not coming from any debian source packages, but straight from the upstream. This is because rebuilding of debian's package needed so much extra dependencies and was too hard to optify. Now I'm not sure how to continue. This is list of binary-packages build from the source package python3-defaults Code:
Package: python3 |
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Not only. one of the python3 packages provides for example python3.mk, which is used by debian/rules of python packages. Of course it gives this "python3" command. It's all I can give you off the top of my head
|
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Aapo: would you be so king to state the state, please?
We're doing a big porting project[1], so that migration from our ancient py 2.5 is possible and the lack of information stalls the whole process. I'm coordinating the porting so I'd like to know what your decision on python3-defaults is. Are you still thinking whether to do it or not? Are you simply too busy to do anything? Any answer here is much better than not knowing at all. Thanks [1] http://talk.maemo.org/showpost.php?p...70&postcount=1 |
Re: [Announce] Python3.2 (3.2.3) on extras-devel
Quote:
This time I quit and confess: I don't have time for this project. I really respect your work (my primary phone is still N900). |
Re: [Announce] Python3.2 (3.2.3) on extras-devel
OK. Thanks for replying.
Are you uploading your port of 3.4? iirc you have it working? If yes, I'll try something with python3-defaults. Could you upload your copy with your changes somewhere, for reference? |
Re: [Announce] Python3.2 (3.2.3) on extras-devel
OK,
I managed to build python3-defaults. It builds and it's the only thing it does for the time being (until I adjust the dependencies correctly). I can't and won't proceed until Aapo's python3.4 lands in the repos. |
Re: [Announce] Python3.2 (3.2.3) on extras-devel
To make pyvenv work (finally, I had time to setup pip on Maemo):
Code:
sudo mount -o remount,size=5M -t tmpfs tmpfs /tmp |
All times are GMT. The time now is 19:00. |
vBulletin® Version 3.8.8