Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739756 - =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')
Summary: =dev-python/flask-babel-2.0.0 USE=doc: Extension error: Could not import exte...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-31 17:28 UTC by Bernd
Modified: 2020-12-19 09:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
flask-babel-2.0.0\:20200831-172409.log (flask-babel-2.0.0:20200831-172409.log,4.84 KB, text/plain)
2020-08-31 17:30 UTC, Bernd
Details
emerge-info-flask-babel-2.0.0.txt (emerge-info-flask-babel-2.0.0.txt,14.85 KB, text/plain)
2020-08-31 17:31 UTC, Bernd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd 2020-08-31 17:28:43 UTC
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
Comment 1 Bernd 2020-08-31 17:30:57 UTC
Created attachment 657642 [details]
flask-babel-2.0.0\:20200831-172409.log

build log
Comment 2 Bernd 2020-08-31 17:31:54 UTC
Created attachment 657644 [details]
emerge-info-flask-babel-2.0.0.txt

output of emerge --info =flask-babel-2.0.0
Comment 3 Bernd 2020-12-19 09:35:34 UTC
dev-python/pallets-sphinx-themes has updated PYTHON_TARGETS, so the docs now build successfully.
Closing this issue.