Control: tags -1 + patch upstream fixed-upstream Hi,
The current bug is caused by the removal of the Python 2 compatibility macros in version 4.5.0 of SWIG. [1] According to the SWIG authors, these macros were retained in the generated code (pyhead.swg) solely for user typemaps. All typemap using these macros are updated to call the Python 3 C API directly. I have submitted a patch to fix the issue as a merge request at Salsa. [2] The issue appears to have been fixed upstream (commit cb0a0edf [3]), with explanations given in PR#3268 [4]. However, the associated patch [5] does not apply cleanly against version 1.29.0-2 of the Debian package. BTW, the latest upstream version is 1.34.0. Rafael Laboissière [1] https://github.com/swig/swig/commit/79f7a2b7cb7ddc256eba09c8770133148025171d [2] https://salsa.debian.org/alteholz/meep-mpi-default/-/merge_requests/2 [3] https://github.com/NanoComp/meep/commit/cb0a0edf16a9d0e709ef9ffc0f0dfb98e414b8e7 [4] https://github.com/NanoComp/meep/pull/3268 [5] https://github.com/NanoComp/meep/commit/cb0a0edf16a9d0e709ef9ffc0f0dfb98e414b8e7.diff

