Bug#1145499: Patch available at Salsa
Pierre Gruet
pgt at debian.org
Tue Sep 1 20:57:28 BST 2026
Hi Rafael,
On Sun, 30 Aug 2026 16:36:09 +0200 Rafael Laboissièrere
<rafael at debian.org> wrote:
> Control: tags -1 + patch upstream fixed-upstream
>
> This issue 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 submitted a patch for fixing the issue as a merge request at Salsa. [2]
>
> Note that the upstream authors have already addressed the issue with
a similar patch [3]. However, this patch does not appear to be included
in any released version of OpenTURNS.
>
> Best,
>
> Rafael Laboissière
>
> [1]
https://github.com/swig/swig/commit/79f7a2b7cb7ddc256eba09c8770133148025171d
> [2] https://salsa.debian.org/science-team/openturns/-/merge_requests/3
> [3]
https://github.com/openturns/openturns/commit/559949dfeeb8305d41bd07e741636a6471e6cb27
>
>
Thanks for having monitored this!
Upstream just released version 1.27.3 with the fix, I am about to upload it.
Best wishes,
--
Pierre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20260901/466dafdc/attachment-0001.sig>
More information about the debian-science-maintainers
mailing list