Package: python3-spyne
Version: 2.14.0-2
Severity: normal
Tags: upstream
X-Debbugs-Cc: [email protected]
Dear Maintainer,
the tests of an application using python3-spyne failed due to an ImportError:
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 1072, in _find_spec
AttributeError: '_SixMetaPathImporter' object has no attribute 'find_spec'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.11/unittest/loader.py", line 452, in _find_test_path
package = self._get_module_from_name(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 362, in
_get_module_from_name
__import__(name)
File "/build/elbe-14.9.3/elbepack/daemons/soap/__init__.py", line 14, in
<module>
from spyne import Application
File "/usr/lib/python3/dist-packages/spyne/__init__.py", line 39, in
<module>
from spyne.evmgr import EventManager
File "/usr/lib/python3/dist-packages/spyne/evmgr.py", line 21, in <module>
from spyne.util.oset import oset
File "/usr/lib/python3/dist-packages/spyne/util/__init__.py", line 44, in
<module>
import thread
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1138, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1074, in _find_spec
File "<frozen importlib._bootstrap>", line 1047, in _find_spec_legacy
ImportWarning: _SixMetaPathImporter.find_spec() not found; falling back to
find_module()
The failure is caused by an outdated customized copy of six.py
(1.14.0 instead of 1.16.0) The issue is reported with a fix to upstream by
pull request #704. https://github.com/arskom/spyne/pull/704
Regards
Benedikt Spranger
-- System Information:
Debian Release: trixie/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.5.0-5-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled
Versions of packages python3-spyne depends on:
ii python3 3.11.6-1
ii python3-lxml 4.9.3-1
ii python3-pyparsing 3.1.1-1
ii python3-tz 2023.3.post1-1
python3-spyne recommends no packages.
python3-spyne suggests no packages.
-- no debconf information