On 10/27/19 7:03 PM, Boruch Baum wrote:
> Hi Andreas,
>
> I don't foresee this working, because the package depends on swig to
> perform the heavy lifting for the python bindings, and debian currently
> packages only version 3 of swig, which as far as I can tell, does not
> support python3...

Actually, SWIG supports Python 3 for quite some time: Support was
introduced in SWIG 1.3.37

Source: https://github.com/swig/swig/blob/master/RELEASENOTES#L260

AFAICT, only some Python 3.8 specific changes are missing in SWIG 3.

> Version 4 of swig does seem to support python3, using a new command-line
> option `-py3`.

This option is only for type annocation support.

See http://swig.org/Doc3.0/SWIGDocumentation.html#Python_nn74

> @Torsten - Am I correct about python3 support in swig3? Is debian
> planning on soon updating the package to version 4 (ie. before debian
> drops support for python2)? Do you have any suggestions or pointers for
> us?

See above for Pointers wrt. Python 3 support. Matthias Klose uploaded an
NMU to add even Python 3.8 support to swig3.

I intend to upload swig4 soonish.

Greetings, Torsten

Reply via email to