FS#75729 - [python-pyhamcrest] Missing dependency on python-six

Attached to Project: Community Packages
Opened by Zhang Yi-ning (yi-ning) - Monday, 29 August 2022, 11:34 GMT
Last edited by Felix Yan (felixonmars) - Monday, 29 August 2022, 15:08 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


==> Starting check()...
Traceback (most recent call last):
File "/usr/bin/mamba", line 33, in <module>
sys.exit(load_entry_point('mamba==0.11.2', 'console_scripts', 'mamba')())
File "/usr/lib/python3.10/site-packages/mamba/cli.py", line 18, in main
File "/usr/lib/python3.10/site-packages/mamba/runners.py", line 29, in run
modules = self.example_collector.modules()
File "/usr/lib/python3.10/site-packages/mamba/example_collector.py", line 20, in modules
with self._load_module_from(path) as module:
File "/usr/lib/python3.10/contextlib.py", line 135, in __enter__
return next(self.gen)
File "/usr/lib/python3.10/site-packages/mamba/example_collector.py", line 52, in _load_module_from
yield self._module_from_ast(name, path)
File "/usr/lib/python3.10/site-packages/mamba/example_collector.py", line 70, in _module_from_ast
exec(code, module.__dict__)
File "specs/have_been_called_spec.py", line 3, in <module>
import doublex
File "/usr/lib/python3.10/site-packages/doublex/__init__.py", line 3, in <module>
from .doubles import *
File "/usr/lib/python3.10/site-packages/doublex/doubles.py", line 24, in <module>
import hamcrest
File "/usr/lib/python3.10/site-packages/hamcrest/__init__.py", line 2, in <module>
from hamcrest.core import *
File "/usr/lib/python3.10/site-packages/hamcrest/core/__init__.py", line 2, in <module>
from hamcrest.core.assert_that import assert_that
File "/usr/lib/python3.10/site-packages/hamcrest/core/assert_that.py", line 4, in <module>
from hamcrest.core.string_description import StringDescription
File "/usr/lib/python3.10/site-packages/hamcrest/core/string_description.py", line 4, in <module>
import six
ModuleNotFoundError: No module named 'six'
==> ERROR: A failure occurred in check().

Additional info:
* package version(s) 0.7.1
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
1. asp checkout
2. extra-x86_64-build

Possible solution:
Add 'python-six' to the checkdepends array.
This task depends upon

Closed by  Felix Yan (felixonmars)
Monday, 29 August 2022, 15:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-pyhamcrest 1.10.1-4