is GRASS master now Python 3 only???

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

is GRASS master now Python 3 only???

Michael Barton
I'm getting a bunch of errors trying to compile GRASS master right now and they all seem to be calling for python3. Has this become the default as of yesterday or today? 

Python 2.7 is still the default on the Mac and I still have not been able to compile a working Python3 version. Currently getting ctype errors.

Michael 
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity 
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbartonhttp://csdc.asu.edu

















_______________________________________________
grass-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: is GRASS master now Python 3 only???

Helmut Kudrnovsky
Michael Barton wrote
> I'm getting a bunch of errors trying to compile GRASS master right now and
> they all seem to be calling for python3. Has this become the default as of
> yesterday or today?

yes, see [1]:

[GRASS-git] [OSGeo/grass] be0e59: change Python shebang to python3 (#75)  
Markus Neteler
[GRASS-git] [OSGeo/grass] 6ac803: change Python shebang to python3 (#82)  
Markus Neteler
[GRASS-git] [OSGeo/grass] 428521: change Python shebang to python3 (#82)  
Markus Neteler


[1] https://lists.osgeo.org/pipermail/grass-commit/2019-August/date.html



-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html
_______________________________________________
grass-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/grass-dev
best regards
Helmut
Reply | Threaded
Open this post in threaded view
|

Re: is GRASS master now Python 3 only???

Helmut Kudrnovsky
Helmut Kudrnovsky wrote
> [GRASS-git] [OSGeo/grass] be0e59: change Python shebang to python3 (#75)  
> Markus Neteler
> [GRASS-git] [OSGeo/grass] 6ac803: change Python shebang to python3 (#82)  
> Markus Neteler
> [GRASS-git] [OSGeo/grass] 428521: change Python shebang to python3 (#82)  
> Markus Neteler

and this one:

[GRASS-git] [OSGeo/grass] b4432f: change Python shebang to python3 (#75)  
Markus Neteler
[GRASS-git] [OSGeo/grass] fd822f: update Python 3 dependencies (#79)  
Markus Neteler




-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html
_______________________________________________
grass-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/grass-dev
best regards
Helmut
Reply | Threaded
Open this post in threaded view
|

Re: is GRASS master now Python 3 only???

Markus Neteler
In reply to this post by Michael Barton
Michael Barton <[hidden email]> schrieb am Di., 6. Aug. 2019, 23:29:
I'm getting a bunch of errors trying to compile GRASS master right now and they all seem to be calling for python3. Has this become the default as of yesterday or today? 


Yes.


Python 2.7 is still the default on the Mac and

Python 2 is EOL in some month.

I still have not been able to compile a working Python3 version. Currently getting ctype errors.

For Python 2 just run

find -name '*.py' | xargs sed -i 's,#!/usr/bin/env python3,#!/usr/bin/env python2,' && \
    sed -i 's,python3,python2,' include/Make/Platform.make.in

(see the emails on 7.8.0 and 8.0.0 releases of the last 2 days)

Markus


Michael 
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity 
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbartonhttp://csdc.asu.edu
















_______________________________________________
grass-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/grass-dev

_______________________________________________
grass-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/grass-dev