| Summary: | =dev-python/flask-babel-2.0.0 USE=doc: Extension error: Could not import extension pallets_sphinx_themes (exception: No module named 'pallets_sphinx_themes') | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Bernd <waebbl-gentoo> |
| Component: | Current packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | esigra, jstein |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
flask-babel-2.0.0\:20200831-172409.log
emerge-info-flask-babel-2.0.0.txt |
||
Created attachment 657642 [details]
flask-babel-2.0.0\:20200831-172409.log
build log
Created attachment 657644 [details]
emerge-info-flask-babel-2.0.0.txt
output of emerge --info =flask-babel-2.0.0
dev-python/pallets-sphinx-themes has updated PYTHON_TARGETS, so the docs now build successfully. Closing this issue. |
Looks like building the docs for flask-babel-2.0.0 BDEPENDS on dev-python/pallets-sphinx-themes. With USE="-doc" the build succeeds. Emerging pallets-sphinx-theme prior to flask-babel doesn't work out of the box, because pallets-sphinx-theme supports only python-3.{6,7}, while flask-babel uses python-3.8 in global scope. Reproducible: Always Steps to Reproduce: 1. USE="doc" emerge =dev-python/flask-babel-2.0.0 2. 3. Actual Results: * Using python3.8 in global scope * python3_8: running distutils-r1_run_phase python_compile_all Running Sphinx v2.4.4 Extension error: Could not import extension pallets_sphinx_themes (exception: No module named 'pallets_sphinx_themes') * ERROR: dev-python/flask-babel-2.0.0::gentoo failed (compile phase): * (no error message) build.log and emerge --info as attachments