Your message dated Mon, 19 Dec 2022 20:41:15 +0000
with message-id <e1p7mwl-000kpx...@fasolo.debian.org>
and subject line Bug#1025658: fixed in boost1.74 1.74.0-18
has caused the Debian Bug report #1025658,
regarding libboost-python1.74-dev: Python 3.11 changes break loading of 
boost-python using extensions
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1025658: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025658
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libboost-python1.74-dev
Version: 1.74.0-17+b2
Severity: serious
Tags: patch
Justification: Breaks reverse dependencies with Python 3.11
X-Debbugs-Cc: stu...@debian.org, debian-pyt...@lists.debian.org


Dear Maintainer,

Python 3.11 has changed some details around types and GC; boost's enum.cpp
needs modifying to cope. The result of this change is that trying to
load an extension compiled with Debian's boost 1.74 results in a C++
exception being thrown and, since not properly handled, the following
rather obscure error:

SystemError: initialization of $module raised unreported exception

Further details courtesy of Alastair McKinstry's debugging work are to
be found at

https://bugs.debian.org/1024911#14

So far, we've spotted this problem in:

cctbx: https://bugs.debian.org/1024859
ecflow: https://bugs.debian.org/1024911
python-pgmagick: https://bugs.debian.org/1023909

The attached patch is a (trivial) backport of the upstream change for
this:

https://github.com/boostorg/python/commit/a218babc8daee904a83f550fb66e5cb3f1cb3013

I've verified that the attached patch solves the Python 3.11 incompatibility
of python-pgmagick, allowing it to successfully build, meaning that it is
now able to load its boost-python extensions for the test suite.

regards
Stuart
Description: Tweak enum for python 3.11 compatibility
 Backport upstream patch for compatibility with python 3.11
Origin: 
https://github.com/boostorg/python/commit/a218babc8daee904a83f550fb66e5cb3f1cb3013
--- a/libs/python/src/object/enum.cpp
+++ b/libs/python/src/object/enum.cpp
@@ -119,7 +119,6 @@
 #if PY_VERSION_HEX < 0x03000000
     | Py_TPFLAGS_CHECKTYPES
 #endif
-    | Py_TPFLAGS_HAVE_GC
     | Py_TPFLAGS_BASETYPE,                  /* tp_flags */
     0,                                      /* tp_doc */
     0,                                      /* tp_traverse */

--- End Message ---
--- Begin Message ---
Source: boost1.74
Source-Version: 1.74.0-18
Done: Anton Gladky <gl...@debian.org>

We believe that the bug you reported is fixed in the latest version of
boost1.74, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1025...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Anton Gladky <gl...@debian.org> (supplier of updated boost1.74 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 17 Dec 2022 21:19:02 +0100
Source: boost1.74
Architecture: source
Version: 1.74.0-18
Distribution: unstable
Urgency: medium
Maintainer: Debian Boost Team <team+bo...@tracker.debian.org>
Changed-By: Anton Gladky <gl...@debian.org>
Closes: 1025658
Changes:
 boost1.74 (1.74.0-18) unstable; urgency=medium
 .
   * [754888a] Disable blhc-check in gitlab-ci.
   * [9e420e3] Fix loading of bosst-python 3.11 extensions. (Closes: #1025658)
   * [7aab252] Trim trailing whitespace.
Checksums-Sha1:
 352e6f279565ec7a5d869280a29079724ab4db88 9110 boost1.74_1.74.0-18.dsc
 01d10450d7f3342c8065d6ada9325c8ea2eddf8f 373372 
boost1.74_1.74.0-18.debian.tar.xz
 037c5cc13830e6131ffd42c34173a2e58ca21359 12534 
boost1.74_1.74.0-18_source.buildinfo
Checksums-Sha256:
 474e1c05c6f168adf89c483f678861c0d3559fa597679d4933c39937cce79cff 9110 
boost1.74_1.74.0-18.dsc
 7f95481afbdfeeac96087a0647930edbd332f4858bcd5afba2dd60998cdc9dd9 373372 
boost1.74_1.74.0-18.debian.tar.xz
 a12309c97769e21a6433faf07be532c2a8d7bd99886da3f0b3256796c03477ff 12534 
boost1.74_1.74.0-18_source.buildinfo
Files:
 58f4e02f98e5e96a115eb2b003467d43 9110 libs optional boost1.74_1.74.0-18.dsc
 eb5ec10e06150aba8877a4f5f9c50cd8 373372 libs optional 
boost1.74_1.74.0-18.debian.tar.xz
 6a6e77bf4efb55f7579a2b9566f4ffea 12534 libs optional 
boost1.74_1.74.0-18_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEu71F6oGKuG/2fnKF0+Fzg8+n/wYFAmOeLhoACgkQ0+Fzg8+n
/wacoQ//Qut4h/ISpOOdeHrSgPbK3vxRy49coLP/3aktd0uPU/lqgwt7ebyi7Hme
/4kwJm/Ns6bjW5VeyCJN6TunmoZnWE06N1Gt7w4NFf5FTLxOP5RAR65YhKZ0SkEc
Q9qNBNMoJqLI31dVvoG0qKH4v93cREcYnEOw0U9NH81/vBxiBtPcWjmlE6TBSaO3
236si7XqChDwq7L0q5IWm6/BcIdRnsRk3Cba2gA9V7Ukstb8fm1Pou4rbJIPLA6G
ZgR2Xr07P66Zn24airbqxG0A44IUxPYE1pRCaxAeXrCCKHjr3j37XARwPji3dbh/
JnYb2uwtN8U8K3XiHCOXh1A+tUyoCci8/q9+2Rnbezzk7QYL6BbxO+1ZUjcloL11
tsy6HEuhyxy/zE7WUjc1pKsNWO6ETWsTzzjXLGwKc3+h7njcnjrhPgdW+R33rrlP
kVAiPJweNVDHJLTkNSowfM4/QUrA2iHKW9V/j65XBWW5xk0TlNrB7WBlbC6VxIup
wmRvM5EoQDgMGtikMpV45dA0wKIkSpJb44hkz09+U15XoJvRcyQUF6QCTwX0lE/U
XzliNBA2P1Lp9czSr0ls/0sPq/Niobs3UcPcIgxDfusAeiYbVQlgnBT6dKKGdg1x
PCKoiII1h9UlFzmspj9f2IdniHMAkpwWT5RJ2XN7nodqI8CGp64=
=7zmz
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to