• change in the extention importation with 3.11

    From picca@21:1/5 to All on Tue Dec 6 14:50:01 2022
    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.

    thanks for considering

    Frederic

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stuart Prescott@21:1/5 to picca on Tue Dec 6 16:00:01 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From PICCA Frederic-Emmanuel@21:1/5 to All on Tue Dec 6 17:30:01 2022
    My pytango package has the same probleme...

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024078

    I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tango/build; python3.11 -m pytest tests
    ImportError while loading conftest '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_tango/build/tests/conftest.py'.
    tests/conftest.py:3: in <module>
    from tango.test_utils import state, typed_values, server_green_mode tango/__init__.py:83: in <module>
    from ._tango import (
    E SystemError: initialization of _tango raised unreported exception


    It use also the boost_python library... something is smelly around boost_python and python3.11...

    Cheers.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)