Re: [GRASS GIS] #4018: GRASS ctypes fail with Python 3.7.6+

"GRASS GIS" <[email protected]>
Newsgroups gmane.comp.gis.grass.devel
Message-ID <[email protected]>
#4018: GRASS ctypes fail with Python 3.7.6+
----------------------------+---------------------------------
  Reporter:  mmetz          |      Owner:  grass-dev@…
      Type:  defect         |     Status:  new
  Priority:  critical       |  Milestone:  7.8.3
 Component:  Python ctypes  |    Version:  git-releasebranch78
Resolution:                 |   Keywords:  ctypes
       CPU:  All            |   Platform:  All
----------------------------+---------------------------------

Comment (by neteler):

 Replying to [comment:1 mmetz]:
 > ...
 > This works with Python 3.7.6 and Python 3.7.5, but not with Python
 3.8.1. In some cases Python 3.8.1 complains about a `TypeError`, e.g. for
 C macros like
 >
 > {{{
 > #define GRASS_VERSION_STRING   "@(#) 7.9.dev (2020)"
 > }}}

 After the merge of https://github.com/OSGeo/grass/pull/325 there is only
 this occurrence left:


 {{{
 include/version.h.in
 1:#define GRASS_VERSION_STRING   "@(#) @GRASS_VERSION_NUMBER@
 (@GRASS_VERSION_DATE@)"
 }}}

 while in G78 (PR325 hasn't been backported yet) it is:

 {{{
 include/gis.h
 42:#define GIS_H_VERSION GRASS_VERSION_STRING

 include/version.h.in
 1:#define GRASS_VERSION_STRING   "@(#) @GRASS_VERSION_NUMBER@
 (@GRASS_VERSION_DATE@)"
 }}}

 Maybe GRASS_VERSION_STRING isn't needed at all?

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/4018#comment:3>
GRASS GIS <https://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.