| Summary: | dev-python/urllib3-1.24.2[doc]: undeclared dependency to dev-python/mock | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Dirk Sondermann <ds-gentoo> |
| Component: | Current packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | ds-gentoo, jstein, mgorny |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build.log
emerge --info |
||
Created attachment 602414 [details]
build.log
Created attachment 602416 [details]
emerge --info
*** This bug has been marked as a duplicate of bug 704548 *** |
Building dev-python/urllib3-1.24.2 with USE="doc -test" fails with "ModuleNotFoundError: No module named 'mock'". Reproducible: Always Steps to Reproduce: 1. USE="doc -test" emerge =dev-python/urllib3-1.24.2 Actual Results: Build fails with the following message: Running Sphinx v2.0.1 Configuration error: There is a programmable error in your configuration file: Traceback (most recent call last): File "/usr/lib64/python3.6/site-packages/sphinx/config.py", line 361, in eval_config_file execfile_(filename, namespace) File "/usr/lib64/python3.6/site-packages/sphinx/util/pycompat.py", line 86, in execfile_ exec(code, _globals) File "/var/tmp/portage/dev-python/urllib3-1.24.2/work/urllib3-1.24.2/docs/conf.py", line 30, in <module> import mock ModuleNotFoundError: No module named 'mock' Expected Results: Build succeeds. The same problem existed for version 1.25.7 and was fixed by commit afca75d4.