[GRASS-dev] [GRASS GIS] #4018: GRASS ctypes fail with Python 3.7.6+
GRASS GIS
trac at osgeo.org
Tue Mar 31 12:35:05 PDT 2020
#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>
More information about the grass-dev
mailing list