FS#78511 - [python-oslo-utils] FTBFS: missing checkdepends python-stestr and python-testscenarios
Attached to Project:
Community Packages
Opened by Eric Long (hack3ric) - Saturday, 13 May 2023, 16:20 GMT
Last edited by Jelle van der Waa (jelly) - Wednesday, 09 August 2023, 07:29 GMT
Opened by Eric Long (hack3ric) - Saturday, 13 May 2023, 16:20 GMT
Last edited by Jelle van der Waa (jelly) - Wednesday, 09 August 2023, 07:29 GMT
|
Details
Description:
python-oslo-context build failed in check(), where it uses `stestr` but the provider `python-stestr` is not listed in dependencies. When `python-stestr` is installed, it further complains about missing module `testscenarios`: ``` ========================= Failures during discovery ========================= --- import errors --- Failed to import test module: oslo_utils.tests.test_imageutils Traceback (most recent call last): File "/usr/lib/python3.11/unittest/loader.py", line 407, in _find_test_path module = self._get_module_from_name(name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/unittest/loader.py", line 350, in _get_module_from_name __import__(name) File "/build/python-oslo-utils/src/oslo.utils-6.1.0/oslo_utils/tests/test_imageutils.py", line 19, in <module> import testscenarios ModuleNotFoundError: No module named 'testscenarios' Failed to import test module: oslo_utils.tests.test_secretutils Traceback (most recent call last): File "/usr/lib/python3.11/unittest/loader.py", line 407, in _find_test_path module = self._get_module_from_name(name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/unittest/loader.py", line 350, in _get_module_from_name __import__(name) File "/build/python-oslo-utils/src/oslo.utils-6.1.0/oslo_utils/tests/test_secretutils.py", line 19, in <module> import testscenarios ModuleNotFoundError: No module named 'testscenarios' Failed to import test module: oslo_utils.tests.test_strutils Traceback (most recent call last): File "/usr/lib/python3.11/unittest/loader.py", line 407, in _find_test_path module = self._get_module_from_name(name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/unittest/loader.py", line 350, in _get_module_from_name __import__(name) File "/build/python-oslo-utils/src/oslo.utils-6.1.0/oslo_utils/tests/test_strutils.py", line 23, in <module> import testscenarios ModuleNotFoundError: No module named 'testscenarios' ================================================================================ ``` A patch is attached to add these two missing checkdepends. |
This task depends upon
Closed by Jelle van der Waa (jelly)
Wednesday, 09 August 2023, 07:29 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in git
Wednesday, 09 August 2023, 07:29 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in git