Public bug reported: https://github.com/swig/swig/pull/1587/files
this is a simple change to the swig source that fixed autogenerated files when used with python3.8. Ubuntu bionic has python 3.8 (in addition to 3.6 and 3.8) and causes errors when swig with it installed. The PyObject_GC_UnTrack macro got deprecated in 3.6 and finally removed in 3.8. Thus for all python versions >= 3.6 instead used PyObject_GC_UnTrack. https://github.com/swig/swig/commit/db9822788e183b79457d6bedab8b9a5cabb4cd5e.patch ** Affects: swig (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1966617 Title: Request to backport Fix for Swig when used with python 3.8+ https://github.com/swig/swig/pull/1587/files To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/swig/+bug/1966617/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs