Re: [GRASS-user] [GRASS-dev] experimental Python 3 support in trunk

2018-09-06 Thread Vaclav Petras
On Thu, Sep 6, 2018 at 4:41 PM Markus Metz wrote: > > That means that trunk will continue to use python2 by default, and it also > requires that the link python is installed, which will, if installed, refer > to the same target as python2. > > If we want to get python3 support tested in trunk,

Re: [GRASS-user] [GRASS-dev] experimental Python 3 support in trunk

2018-09-06 Thread Markus Metz
On Thu, Sep 6, 2018 at 5:28 AM Vaclav Petras wrote: > > > > On Wed, Sep 5, 2018 at 3:57 PM Markus Metz wrote: >> >> >> >> On Wed, Sep 5, 2018 at 9:41 PM Martin Landa wrote: >> > >> > Hi, >> > >> > st 5. 9. 2018 v 21:38 odesílatel Markus Metz >> > napsal: >> > > alternatively, the shebang in

Re: [GRASS-user] [GRASS-dev] experimental Python 3 support in trunk

2018-09-05 Thread Vaclav Petras
On Wed, Sep 5, 2018 at 3:57 PM Markus Metz wrote: > > > On Wed, Sep 5, 2018 at 9:41 PM Martin Landa > wrote: > > > > Hi, > > > > st 5. 9. 2018 v 21:38 odesílatel Markus Metz > > napsal: > > > alternatively, the shebang in GRASS *.py files can be changed to > python3 (should be changed to

Re: [GRASS-user] [GRASS-dev] experimental Python 3 support in trunk

2018-09-05 Thread Markus Metz
On Wed, Sep 5, 2018 at 9:41 PM Martin Landa wrote: > > Hi, > > st 5. 9. 2018 v 21:38 odesílatel Markus Metz > napsal: > > alternatively, the shebang in GRASS *.py files can be changed to python3 (should be changed to python3 according to Python developer's Guide PEP394) > > we are going to

Re: [GRASS-user] [GRASS-dev] experimental Python 3 support in trunk

2018-09-05 Thread Martin Landa
Hi, st 5. 9. 2018 v 21:38 odesílatel Markus Metz napsal: > alternatively, the shebang in GRASS *.py files can be changed to python3 > (should be changed to python3 according to Python developer's Guide PEP394) we are going to support both Python2 and 3, at least for 7.6/7.8, right? Ma --

Re: [GRASS-user] [GRASS-dev] experimental Python 3 support in trunk

2018-09-05 Thread Markus Metz
On Mon, Sep 3, 2018 at 8:28 AM Markus Neteler wrote: [...] > > Could you please post a few lines how to properly do the testing with > virtualenv? If python3 with all required packages is already installed on the system, there is a simpler solution than virtualenv: mkdir ~/bin_p3 ln -s

Re: [GRASS-user] [GRASS-dev] experimental Python 3 support in trunk

2018-09-03 Thread Martin Landa
Hi, po 3. 9. 2018 v 20:47 odesílatel Markus Neteler napsal: my first attempt to start GRASS fails with: (grasspy3) martin@debian:~/src/grass7_trunk$ ./bin.x86_64-pc-linux-gnu/grass77 -text Traceback (most recent call last): File "./bin.x86_64-pc-linux-gnu/grass77", line 2162, in main()

Re: [GRASS-user] [GRASS-dev] experimental Python 3 support in trunk

2018-09-03 Thread Martin Landa
Hi, po 3. 9. 2018 v 15:48 odesílatel Anna Petrášová napsal: >> > I committed the experimental support of Python 3 to trunk (grass77) by >> > Sanjeet (GSoC 2018). great, thanks for hard work! Python3 support will be crucial for GRASS in a near feature. Will help with testing. Martin -- Martin

Re: [GRASS-user] [GRASS-dev] experimental Python 3 support in trunk

2018-09-03 Thread Moritz Lennert
Le Mon, 3 Sep 2018 08:27:53 +0200, Markus Neteler a écrit : > On Mon, Sep 3, 2018 at 4:21 AM Anna Petrášová > wrote: > > > > Hi, > > > > I committed the experimental support of Python 3 to trunk (grass77) > > by Sanjeet (GSoC 2018). > > This is excellent, thanks for much for your hard work,