Bug#1055716: python-mapnik ftbfs with Python 3.12
Sebastiaan Couwenberg
sebastic at xs4all.nl
Fri Nov 10 10:03:01 GMT 2023
Control: tags -1 upstream
Control: forwarded -1 https://github.com/mapnik/python-mapnik/issues/260
On 11/10/23 10:49, Matthias Klose wrote:
> src/python_grid_utils.cpp:108:26: error: there are no arguments to
> ‘PyUnicode_FromUnicode’ that depend on a template parameter, so a
> declaration of ‘PyUnicode_FromUnicode’ must be available [-fpermissive]
> 108 | PyUnicode_FromUnicode(line.get(),
> array_size))));
> | ^~~~~~~~~~~~~~~~~~~~~
> src/python_grid_utils.cpp:108:26: note: (if you use ‘-fpermissive’, G++
> will accept your code, but allowing the use of an undeclared name is
> deprecated)
Upstream is aware that PyUnicode_FromUnicode was deprecated but has not
acted on that yet. Upstream development is pretty much dead, someone
will have to provide a patch to port python-mapnik away from
PyUnicode_FromUnicode.
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
More information about the Pkg-grass-devel
mailing list