Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #14694 > unrolled thread
| Started by | picca <picca@debian.org> |
|---|---|
| First post | 2022-12-06 14:50 +0100 |
| Last post | 2022-12-06 17:30 +0100 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.debian.maint.python
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
| From | picca <picca@debian.org> |
|---|---|
| Date | 2022-12-06 14:50 +0100 |
| Subject | change in the extention importation with 3.11 |
| Message-ID | <FzGuB-8MTn-3@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Stuart Prescott <stuart@debian.org> |
|---|---|
| Date | 2022-12-06 16:00 +0100 |
| Message-ID | <FzHAl-8NxL-33@gated-at.bofh.it> |
| In reply to | #14694 |
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
[toc] | [prev] | [next] | [standalone]
| From | PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> |
|---|---|
| Date | 2022-12-06 17:30 +0100 |
| Message-ID | <FzIZr-8OGw-5@gated-at.bofh.it> |
| In reply to | #14695 |
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.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.maint.python
csiph-web