Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #14695

Re: change in the extention importation with 3.11

From Stuart Prescott <stuart@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: change in the extention importation with 3.11
Date 2022-12-06 16:00 +0100
Message-ID <FzHAl-8NxL-33@gated-at.bofh.it> (permalink)
References <FzGuB-8MTn-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi!

On 07/12/2022 00:47, picca wrote:
 > Hello, I am trying to fix this bug
 >
 > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024859
 >
 > I find the error message not very informative...
 >
 > :~/$ python3.11
 > Python 3.11.0+ (main, Nov  4 2022, 09:23:33) [GCC 12.2.0] on linux
 > Type "help", "copyright", "credits" or "license" for more information.
 >>>> import scitbx_linalg_ext
 > Traceback (most recent call last):
 >    File "<stdin>", line 1, in <module>
 > SystemError: initialization of scitbx_linalg_ext raised unreported
 > exception
 >>>>
 >
 > I would like your opinion and some help in order to fix this or at least
 > understand what is going on.
 >
 > ther extension was build with boost_python, maybe something is wrong
 > also with boost_python and Python3.11.
 >
 > I do not know if other packages using boost_python are affected like
 > this.


I briefly looked at #1023909 (python-pgmagick FTBFS with Python 3.11 as 
supported version) and found the same error. I spent some time trying to 
step through loading the extension with gdb and found that the failure 
is somewhere in amongst some boost macros associated with initialising 
the extension. I didn't actually manage to isolate the issue, however.

Is there a wider problem with boost python that needs addressing perhaps?

regards
Stuart

-- 
Stuart Prescott   http://www.nanonanonano.net/ stuart@nanonanonano.net
Debian Developer  http://www.debian.org/       stuart@debian.org
GPG fingerprint   90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

change in the extention importation with 3.11 picca <picca@debian.org> - 2022-12-06 14:50 +0100
  Re: change in the extention importation with 3.11 Stuart Prescott <stuart@debian.org> - 2022-12-06 16:00 +0100
    Re: change in the extention importation with 3.11 PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2022-12-06 17:30 +0100

csiph-web