Package: src:python-oslo.service
Version: 3.2.0-2
Severity: important
Tags: sid trixie
User: [email protected]
Usertags: python3.12
python-oslo.service's autopkg tests fail with Python 3.12:
[...]
373s autopkgtest [18:47:15]: test python-import: - - - - - - - - - -
results - - - - - - - - - -
373s python-import PASS
373s autopkgtest [18:47:15]: test python-stestr: preparing testbed
375s Reading package lists...
375s Building dependency tree...
375s Reading state information...
376s Starting pkgProblemResolver with broken count: 0
376s Starting 2 pkgProblemResolver with broken count: 0
376s Done
376s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
376s 1 not fully installed or removed.
376s After this operation, 0 B of additional disk space will be used.
376s Setting up autopkgtest-satdep (0) ...
378s (Reading database ... 82155 files and directories currently installed.)
378s Removing autopkgtest-satdep (0) ...
378s autopkgtest [18:47:20]: test python-stestr: [-----------------------
378s + py3versions -r
379s Testing with python3.12:
379s + echo Testing with python3.12:
379s + PYTHON=python3.12 stestr run
379s
379s =========================
379s Failures during discovery
379s =========================
379s --- import errors ---
379s Failed to import test module: oslo_service.tests
379s Traceback (most recent call last):
379s File "/usr/lib/python3.12/unittest/loader.py", line 427, in
_find_test_path
379s package = self._get_module_from_name(name)
379s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
379s File "/usr/lib/python3.12/unittest/loader.py", line 337, in
_get_module_from_name
379s __import__(name)
379s File
"/tmp/autopkgtest.QhyYUf/build.j23/src/oslo_service/tests/__init__.py",
line 15, in <module>
379s import eventlet
379s File "/usr/lib/python3/dist-packages/eventlet/__init__.py", line
17, in <module>
379s from eventlet import convenience
379s File "/usr/lib/python3/dist-packages/eventlet/convenience.py",
line 7, in <module>
379s from eventlet.green import socket
379s File "/usr/lib/python3/dist-packages/eventlet/green/socket.py",
line 21, in <module>
379s from eventlet.support import greendns
379s File
"/usr/lib/python3/dist-packages/eventlet/support/greendns.py", line 45,
in <module>
379s from eventlet.green import ssl
379s File "/usr/lib/python3/dist-packages/eventlet/green/ssl.py", line
25, in <module>
379s _original_wrap_socket = __ssl.wrap_socket
379s ^^^^^^^^^^^^^^^^^
379s AttributeError: module 'ssl' has no attribute 'wrap_socket'
379s
379s
================================================================================
379s The above traceback was encountered during test discovery which
imports all the found test modules in the specified test_path.