Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread Matthew Woodcraft
Ludovic Gasc wrote: 2018-04-24 22:16 GMT+02:00 Matthew Woodcraft : You didn't say what dependency problem you're seeing. Is it python3.6 depending on python3-distutils? If it is, you might try building the 3.6.5-3 source package from sid rather than the 3.6.5~rc1-1

Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread Ludovic Gasc
2018-04-24 22:16 GMT+02:00 Matthew Woodcraft : > Nguyễn Hồng Quân wrote: > >> I'm using Debian 9 on an ARM board (BeagleBone), for our IoT project. >> We write an application which needs Python 3.6. But we are struggling with >> packaging Python 3.6 as deb packages for

Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread Matthew Woodcraft
Nguyễn Hồng Quân wrote: I'm using Debian 9 on an ARM board (BeagleBone), for our IoT project. We write an application which needs Python 3.6. But we are struggling with packaging Python 3.6 as deb packages for Debian 9. We found the dsc file for Debian buster. But there is difference in

Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread Jeremy Stanley
On 2018-04-24 23:42:30 +0700 (+0700), Nguyễn Hồng Quân wrote: [...] > Then why Debian project invent *.deb file, not just pack binary as > tar file and let user to untar it? I favor building deb file, > rather than copying "make altinstall" result, because of the same > reason. I completely

Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread Nguyễn Hồng Quân
On Tue, Apr 24, 2018 at 11:45 PM, Andrey Rahmatullin wrote: > > > Adapt it from the 3.6.1 one? > > > > > > > ​Excuse me. What do​ ​you mean by "adapt"? > Replacing the tarball and changing the version in the changelog, for a > start. > As I told: "But there is difference in

Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread Nguyễn Hồng Quân
On Tue, Apr 24, 2018 at 10:19 PM, Jeremy Stanley wrote: > On 2018-04-24 22:07:03 +0700 (+0700), Nguyễn Hồng Quân wrote: > [...] > > I don't need to "not disturb" system. > > If have to use conda, pyenv, I would rather build Python3.6 from source > > tarball, not to bring more

Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread Nguyễn Hồng Quân
On Wed, Apr 25, 2018 at 12:05 AM, Andrey Rahmatullin wrote: > > How is this related to my suggestion? > ​Your suggestion is: ​" ​ ​Adapt it from the 3.6.1 one. Replacing the tarball and changing the version in the changelog" ​And I'm proving that it is not enough.​ There

Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread Andrey Rahmatullin
On Wed, Apr 25, 2018 at 12:11:03AM +0700, Nguyễn Hồng Quân wrote: > On Wed, Apr 25, 2018 at 12:05 AM, Andrey Rahmatullin > wrote: > > > > > How is this related to my suggestion? > > > > > ​Your suggestion is: > > ​" > ​ > ​Adapt it from the 3.6.1 one. Replacing the tarball

Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread Andrey Rahmatullin
On Wed, Apr 25, 2018 at 12:01:45AM +0700, Nguyễn Hồng Quân wrote: > On Tue, Apr 24, 2018 at 11:45 PM, Andrey Rahmatullin wrote: > > > > > Adapt it from the 3.6.1 one? > > > > > > > > > > ​Excuse me. What do​ ​you mean by "adapt"? > > Replacing the tarball and changing the version

Re: [Python-modules-team] Bug#896429: python3-django-tables2: django_tables2 fails to import

2018-04-24 Thread Brian May
Thomas Goirand writes: > Feel free to raise this on a Django upstream message. I very much agree > this isn't best. I believe there is (or at least was, and probably still is) general agreement that the Django settings mechanism is horrible for numerous reasons. IIRC this has

Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread Brian May
Nguyễn Hồng Quân writes: > ​Sorry? As I told, just leave the python3-xxx packages to be used with > python3.5 (default Python3 of Debian 9). > I don't need those to be used with Python3.6. > For whatever I need to use with Python3.6, I just install via "pip3.6".​ > For

Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread Nguyễn Hồng Quân
On Wed, Apr 25, 2018 at 12:58 AM, Jeremy Stanley wrote: > On 2018-04-24 23:42:30 +0700 (+0700), Nguyễn Hồng Quân wrote: > [...] > I completely understand the reason for using packages, but Debian is > a volunteer project which does not exist solely to solve your > problems so

Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread Nguyễn Hồng Quân
On Wed, Apr 25, 2018 at 3:16 AM, Matthew Woodcraft wrote: > Nguyễn Hồng Quân wrote: > > You didn't say what dependency problem you're seeing. Is it python3.6 > depending on python3-distutils? > ​Yes, and when I tried to backport python3-disutils, it depends on python

Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread Nguyễn Hồng Quân
On Wed, Apr 25, 2018 at 12:21 AM, Andrey Rahmatullin wrote: > > No, you are talking about the 3.6.4 packaging files while I'm suggesting > to not use them. > Do you mean to use " ​​python3.6_3.6.1-1.debian.tar.xz" (of 3.6.1) and change its number to

Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread Nguyễn Hồng Quân
On Wed, Apr 25, 2018 at 7:43 AM, Brian May wrote: > Nguyễn Hồng Quân writes: > > If using pip to install packages is fine (which can result in compiling > from source although increasing use of wheels helps), then I personally > fail to see the problem

Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread Andrey Rahmatullin
On Wed, Apr 25, 2018 at 10:00:51AM +0700, Nguyễn Hồng Quân wrote: > Do you mean to use " > ​​python3.6_3.6.1-1.debian.tar.xz" (of 3.6.1) and change its number to > "python3.6_3.6.4-4.debian.tar.xz" (of 3.6.4) and change its changelog > content? No, I meant to use the debian/ directory from that

Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread Nguyễn Hồng Quân
I'm using Debian 9 on an ARM board (BeagleBone), for our IoT project. We write an application which needs Python 3.6. But we are struggling with packaging Python 3.6 as deb packages for Debian 9. We found the dsc file for Debian buster. But there is difference in dependency hierarchy between

Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread Nguyễn Hồng Quân
Python 3.6 has much better performance than Python 3.5, especially on embedded computer (I tried and compared). I also like new Python 3.6 features: f-string, improved type hint (Python 3.5 has it, but Python 3.6 improved). On Tue, Apr 24, 2018 at 2:44 PM, W. Martin Borgert

Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread W. Martin Borgert
Quoting Nguyễn Hồng Quân : We write an application which needs Python 3.6. Could you elaborate, why you need Python 3.6 instead of 3.5? Maybe there is a way to make your application work with 3.5? E.g. by backporting specific modules?

Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread W. Martin Borgert
Quoting Nguyễn Hồng Quân : Python 3.6 has much better performance than Python 3.5, especially on embedded computer (I tried and compared). This is interesting! Did you also compare Python 2.7 with 3.5/3.6? I'm looking for more reasons to finally port my embedded

Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread Andrey Rahmatullin
On Tue, Apr 24, 2018 at 05:27:08PM +0700, Nguyễn Hồng Quân wrote: > > It's not enough to backport the interpreter, all binary modules will need > > to be recompiled too. > > > > ​Why?​ To be able to be imported in Python3.6. -- WBR, wRAR signature.asc Description: PGP signature

Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread Andrey Rahmatullin
On Tue, Apr 24, 2018 at 01:58:23PM +0700, Nguyễn Hồng Quân wrote: > Could you please provide an official packaging script for Python 3.6 and > Debian 9? It's not enough to backport the interpreter, all binary modules will need to be recompiled too. -- WBR, wRAR signature.asc Description: PGP

Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread Nguyễn Hồng Quân
On Tue, Apr 24, 2018 at 3:05 PM, Andrey Rahmatullin wrote: > It's not enough to backport the interpreter, all binary modules will need > to be recompiled too. > ​Why?​ Just leave Python3.6 exist in parallel to Python3.5. Don't touch Python3.5 package folder. Don't convert

Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread Nguyễn Hồng Quân
On Tue, Apr 24, 2018 at 3:12 PM, W. Martin Borgert wrote: > This is interesting! Did you also compare Python 2.7 with 3.5/3.6? > > ​No, I'm not interested in Python 2. Every my project is started with Python 3.​ -- Quân Nguyễn Hồng Quân ☎ 093 9030 338 Facebook:

Re: Request joining DPMT

2018-04-24 Thread Ondrej Novy
Hi, 2018-04-22 3:15 GMT+02:00 Lars Kruse : > I would like to join DPMT. > welcome :) -- Best regards Ondřej Nový Email: n...@ondrej.org PGP: 3D98 3C52 EB85 980C 46A5 6090 3573 1255 9D1E 064B

Re: Please add me to PAPT on Salsa

2018-04-24 Thread Tobias Hansen
On 04/24/2018 01:53 PM, Ondrej Novy wrote: > Hi Tobias, > > 2018-04-21 10:57 GMT+02:00 Tobias Hansen >: > > I would like to help maintaining cython. I am already a member of DPMT. > > > do you accept our PAPT policy >

Re: Please add me to PAPT on Salsa

2018-04-24 Thread Ondrej Novy
Hi Tobias, 2018-04-21 10:57 GMT+02:00 Tobias Hansen : > I would like to help maintaining cython. I am already a member of DPMT. > do you accept our PAPT policy (http://python-apps.alioth. debian.org/policy.html)? -- Best regards Ondřej Nový Email: n...@ondrej.org PGP:

Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread Nguyễn Hồng Quân
On Tue, Apr 24, 2018 at 9:45 PM, Ludovic Gasc wrote: > Hi, > > You can use pythonz, conda or pyenv to install the version of Python you > want without to disturb your system. > ​I don't need to "not disturb" system. If have to use conda, pyenv, I would rather build Python3.6

Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread Andrey Rahmatullin
On Tue, Apr 24, 2018 at 10:07:03PM +0700, Nguyễn Hồng Quân wrote: > ​So, I try to build Python as deb and use apt to install to my board. I was > successful to do so with Python 3.6.1, using the .dsc file found on Debian > buster repo. But since Python 3.6.4, the build script has changed >

Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread Nguyễn Hồng Quân
On Tue, Apr 24, 2018 at 5:41 PM, Andrey Rahmatullin wrote: > On Tue, Apr 24, 2018 at 05:27:08PM +0700, Nguyễn Hồng Quân wrote: > > > It's not enough to backport the interpreter, all binary modules will > need > > > to be recompiled too. > > ​Why?​ > To be able to be imported in

Re: Please add me to PAPT on Salsa

2018-04-24 Thread Ondrej Novy
Hi, 2018-04-24 14:33 GMT+02:00 Tobias Hansen : > > Seems to be a bit outdated, but I accept the spirit. ;) > right, it needs revision :). Welcome. -- Best regards Ondřej Nový Email: n...@ondrej.org PGP: 3D98 3C52 EB85 980C 46A5 6090 3573 1255 9D1E 064B

Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread Ludovic Gasc
Hi, You can use pythonz, conda or pyenv to install the version of Python you want without to disturb your system. Regards. -- Ludovic Gasc (GMLudo) 2018-04-24 8:58 GMT+02:00 Nguyễn Hồng Quân : > I'm using Debian 9 on an ARM board (BeagleBone), for our IoT project. > We

Re: Backport of Python 3.6 for Debian Stretch?

2018-04-24 Thread Jeremy Stanley
On 2018-04-24 22:07:03 +0700 (+0700), Nguyễn Hồng Quân wrote: [...] > I don't need to "not disturb" system. > If have to use conda, pyenv, I would rather build Python3.6 from source > tarball, not to bring more overhead (conda body, pyenv body), and > "Python3.6 from source" still not disturb my