Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'breathe' : blocking submodule bumps #395

Closed
tcal-x opened this issue Nov 25, 2020 · 4 comments
Closed
Assignees

Comments

@tcal-x
Copy link

tcal-x commented Nov 25, 2020

@rw1nkler can you take a look -- it looks like automatic bump builds are seeing this error:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/symbiflow/conda/391/lib/python3.8/site-packages/sphinx/registry.py", line 409, in load_extension
    mod = import_module(extname)
  File "/home/docs/checkouts/readthedocs.org/user_builds/symbiflow/conda/391/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'breathe'

#391

@rw1nkler rw1nkler self-assigned this Nov 25, 2020
@chipsalliance chipsalliance locked and limited conversation to collaborators Nov 25, 2020
@chipsalliance chipsalliance unlocked this conversation Nov 25, 2020
@rw1nkler
Copy link
Contributor

Yes I will check what is happening there

@rw1nkler
Copy link
Contributor

rw1nkler commented Dec 1, 2020

This error is strange. The RTD shows that the necessary packages are installed:

Collecting package metadata: ...working... done
Solving environment: ...working... done
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Ran pip subprocess with arguments:
[u'/home/docs/checkouts/readthedocs.org/user_builds/rw1nkler-symbiflow-docs/conda/fix_submodules/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/docs/checkouts/readthedocs.org/user_builds/rw1nkler-symbiflow-docs/checkouts/fix_submodules/tmpy8J74D.requirements.txt']
Pip subprocess output:
Collecting sphinx_symbiflow_theme
  Cloning http://github.com/SymbiFlow/sphinx_materialdesign_theme.git (to revision master) to /tmp/pip-install-aaj_sxq1/sphinx-symbiflow-theme_787c60f16d1e4b0ea401150d8cf6e6a7
Collecting git+http://github.com/SymbiFlow/sphinx-verilog-domain (from -r file:requirements.txt (line 3))
  Cloning http://github.com/SymbiFlow/sphinx-verilog-domain to /tmp/pip-req-build-ksw9a904
Collecting breathe==4.18.1
  Downloading breathe-4.18.1-py3-none-any.whl (77 kB)
Collecting recommonmark==0.6.0
  Downloading recommonmark-0.6.0-py2.py3-none-any.whl (10 kB)
Collecting Sphinx==3.0.4
  Downloading Sphinx-3.0.4-py3-none-any.whl (2.8 MB)
Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/rw1nkler-symbiflow-docs/conda/fix_submodules/lib/python3.9/site-packages (from Sphinx==3.0.4->-r file:requirements.txt (line 1)) (49.6.0.post20201009)
Collecting sphinx-markdown-tables==0.0.12
  Downloading sphinx_markdown_tables-0.0.12-py3-none-any.whl (15 kB)
Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/rw1nkler-symbiflow-docs/conda/fix_submodules/lib/python3.9/site-packages (from Sphinx==3.0.4->-r file:requirements.txt (line 1)) (49.6.0.post20201009)
Collecting sphinxcontrib-bibtex==0.4.2
  Downloading sphinxcontrib_bibtex-0.4.2-py2.py3-none-any.whl (15 kB)
Collecting sphinxcontrib-domaintools==0.3
  Downloading sphinxcontrib_domaintools-0.3-py3-none-any.whl (6.2 kB)
Collecting sphinxcontrib-images==0.9.2
  Downloading sphinxcontrib_images-0.9.2-py2.py3-none-any.whl (63 kB)
Collecting symbolator==1.0.2
  Downloading symbolator-1.0.2.tar.gz (30 kB)
Collecting alabaster<0.8,>=0.7
  Downloading alabaster-0.7.12-py2.py3-none-any.whl (14 kB)
Collecting babel>=1.3
  Downloading Babel-2.9.0-py2.py3-none-any.whl (8.8 MB)
Collecting commonmark>=0.8.1
  Downloading commonmark-0.9.1-py2.py3-none-any.whl (51 kB)
Collecting docutils>=0.12
  Downloading docutils-0.16-py2.py3-none-any.whl (548 kB)
Collecting hdlparse>=1.0.4
  Downloading hdlparse-1.0.4.tar.gz (10 kB)
Collecting imagesize
  Downloading imagesize-1.2.0-py2.py3-none-any.whl (4.8 kB)
Collecting Jinja2>=2.3
  Downloading Jinja2-2.11.2-py2.py3-none-any.whl (125 kB)
Collecting lark-parser
  Downloading lark_parser-0.11.1-py2.py3-none-any.whl (93 kB)
Collecting markdown==3.0.1
  Downloading Markdown-3.0.1-py2.py3-none-any.whl (89 kB)
Collecting MarkupSafe>=0.23
  Downloading MarkupSafe-1.1.1.tar.gz (19 kB)
Collecting oset>=0.1.3
  Downloading oset-0.1.3.tar.gz (7.3 kB)
Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/rw1nkler-symbiflow-docs/conda/fix_submodules/lib/python3.9/site-packages (from Sphinx==3.0.4->-r file:requirements.txt (line 1)) (49.6.0.post20201009)
Collecting packaging
  Downloading packaging-20.7-py2.py3-none-any.whl (35 kB)
Collecting pybtex>=0.20
  Downloading pybtex-0.23.0-py2.py3-none-any.whl (279 kB)
Collecting latexcodec>=1.0.4
  Downloading latexcodec-2.0.1-py2.py3-none-any.whl (18 kB)
Collecting pybtex-docutils>=0.2.0
  Downloading pybtex_docutils-0.2.2-py2.py3-none-any.whl (4.6 kB)
Collecting Pygments>=2.0
  Downloading Pygments-2.7.2-py3-none-any.whl (948 kB)
Collecting pyparsing>=2.0.2
  Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting pytz>=2015.7
  Downloading pytz-2020.4-py2.py3-none-any.whl (509 kB)
Collecting PyYAML>=3.01
  Downloading PyYAML-5.3.1.tar.gz (269 kB)
Collecting requests>=2.5.0
  Downloading requests-2.25.0-py2.py3-none-any.whl (61 kB)
Requirement already satisfied: certifi>=2017.4.17 in /home/docs/checkouts/readthedocs.org/user_builds/rw1nkler-symbiflow-docs/conda/fix_submodules/lib/python3.9/site-packages (from requests>=2.5.0->Sphinx==3.0.4->-r file:requirements.txt (line 1)) (2020.11.8)
Collecting chardet<4,>=3.0.2
  Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting idna<3,>=2.5
  Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting six>=1.9
  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting snowballstemmer>=1.1
  Downloading snowballstemmer-2.0.0-py2.py3-none-any.whl (97 kB)
Collecting sphinxcontrib-applehelp
  Downloading sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl (121 kB)
Collecting sphinxcontrib-devhelp
  Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB)
Collecting sphinxcontrib-htmlhelp
  Downloading sphinxcontrib_htmlhelp-1.0.3-py2.py3-none-any.whl (96 kB)
Collecting sphinxcontrib-jsmath
  Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB)
Collecting sphinxcontrib-qthelp
  Downloading sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB)
Collecting sphinxcontrib-serializinghtml
  Downloading sphinxcontrib_serializinghtml-1.1.4-py2.py3-none-any.whl (89 kB)
Collecting urllib3<1.27,>=1.21.1
  Downloading urllib3-1.26.2-py2.py3-none-any.whl (136 kB)
Building wheels for collected packages: sphinx-symbiflow-theme, sphinx-verilog-domain, symbolator, hdlparse, MarkupSafe, oset, PyYAML
  Building wheel for sphinx-symbiflow-theme (setup.py): started
  Building wheel for sphinx-symbiflow-theme (setup.py): finished with status 'done'
  Created wheel for sphinx-symbiflow-theme: filename=sphinx_symbiflow_theme-0.1.11-py3-none-any.whl size=18259693 sha256=cfe4bebef8b5b7bf9b4030a72cb1b4609ea53f5940d03bd58b9d7c3807bfdd76
  Stored in directory: /tmp/pip-ephem-wheel-cache-7fs3gtw9/wheels/6b/d6/7a/82bd1cdfa687d3e8d4c77034cd3a33280b6da3c087667e5e6e
  Building wheel for sphinx-verilog-domain (setup.py): started
  Building wheel for sphinx-verilog-domain (setup.py): finished with status 'done'
  Created wheel for sphinx-verilog-domain: filename=sphinx_verilog_domain-0.0.dev0-py3-none-any.whl size=12482 sha256=3e758fa8ee7de59bf1a9f8acbde744973211113ee3881247d5180b92d92035ec
  Stored in directory: /tmp/pip-ephem-wheel-cache-7fs3gtw9/wheels/4a/aa/67/169949a6678e15030d9e67c2c8b62c03809de01334b7b63930
  Building wheel for symbolator (setup.py): started
  Building wheel for symbolator (setup.py): finished with status 'done'
  Created wheel for symbolator: filename=symbolator-1.0.2-py3-none-any.whl size=36102 sha256=aa260e32a6144c4c288a6ec9eddc8849b60ce8a1859e3384b2699b939021fc15
  Stored in directory: /home/docs/.cache/pip/wheels/de/c6/2d/7784e93e01db257cd72b4840357ea883fefe76a39828094d88
  Building wheel for hdlparse (setup.py): started
  Building wheel for hdlparse (setup.py): finished with status 'done'
  Created wheel for hdlparse: filename=hdlparse-1.0.4-py3-none-any.whl size=11294 sha256=22bf1e5b15d036c7cc15c28e9b16c6bb598537356f68b4ae9977ac2e2b1c2fde
  Stored in directory: /home/docs/.cache/pip/wheels/10/3f/77/a08cb797075191a7d86ad3e479a77694983de9f32c3d5cba90
  Building wheel for MarkupSafe (setup.py): started
  Building wheel for MarkupSafe (setup.py): finished with status 'done'
  Created wheel for MarkupSafe: filename=MarkupSafe-1.1.1-cp39-cp39-linux_x86_64.whl size=17732 sha256=2c6cbe50ed4351bcc5532f9f3ff9fc56f69d51e96c55ae609f6744c5123aec5b
  Stored in directory: /home/docs/.cache/pip/wheels/e0/19/6f/6ba857621f50dc08e084312746ed3ebc14211ba30037d5e44e
  Building wheel for oset (setup.py): started
  Building wheel for oset (setup.py): finished with status 'done'
  Created wheel for oset: filename=oset-0.1.3-py3-none-any.whl size=9660 sha256=7794d74aa0ae6a250decdb7d45d8c7a8b226d6b496f99fbdfde6f844538a1e40
  Stored in directory: /home/docs/.cache/pip/wheels/0b/2b/f6/b94600cb8d3c7b7c60bc4455bca01810cf76661a9a6786eb2f
  Building wheel for PyYAML (setup.py): started
  Building wheel for PyYAML (setup.py): finished with status 'done'
  Created wheel for PyYAML: filename=PyYAML-5.3.1-cp39-cp39-linux_x86_64.whl size=44617 sha256=5bf7efe6fd502809f8e0f511cc6c626eca1da9b1ba06a39d5a8fadff4e0a5819
  Stored in directory: /home/docs/.cache/pip/wheels/69/60/81/5cd74b8ee068fbe9e04ca0d53148f28f5c6e2c5b177d5dd622
Successfully built sphinx-symbiflow-theme sphinx-verilog-domain symbolator hdlparse MarkupSafe oset PyYAML
Installing collected packages: six, urllib3, PyYAML, pytz, pyparsing, MarkupSafe, latexcodec, idna, chardet, sphinxcontrib-serializinghtml, sphinxcontrib-qthelp, sphinxcontrib-jsmath, sphinxcontrib-htmlhelp, sphinxcontrib-devhelp, sphinxcontrib-applehelp, snowballstemmer, requests, Pygments, pybtex, packaging, Jinja2, imagesize, docutils, babel, alabaster, Sphinx, pybtex-docutils, oset, markdown, lark-parser, hdlparse, commonmark, symbolator, sphinxcontrib-images, sphinxcontrib-domaintools, sphinxcontrib-bibtex, sphinx-verilog-domain, sphinx-symbiflow-theme, sphinx-markdown-tables, recommonmark, breathe
Successfully installed Jinja2-2.11.2 MarkupSafe-1.1.1 PyYAML-5.3.1 Pygments-2.7.2 Sphinx-3.0.4 alabaster-0.7.12 babel-2.9.0 breathe-4.18.1 chardet-3.0.4 commonmark-0.9.1 docutils-0.16 hdlparse-1.0.4 idna-2.10 imagesize-1.2.0 lark-parser-0.11.1 latexcodec-2.0.1 markdown-3.0.1 oset-0.1.3 packaging-20.7 pybtex-0.23.0 pybtex-docutils-0.2.2 pyparsing-2.4.7 pytz-2020.4 recommonmark-0.6.0 requests-2.25.0 six-1.15.0 snowballstemmer-2.0.0 sphinx-markdown-tables-0.0.12 sphinx-symbiflow-theme-0.1.11 sphinx-verilog-domain-0.0.dev0 sphinxcontrib-applehelp-1.0.2 sphinxcontrib-bibtex-0.4.2 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-domaintools-0.3 sphinxcontrib-htmlhelp-1.0.3 sphinxcontrib-images-0.9.2 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 sphinxcontrib-serializinghtml-1.1.4 symbolator-1.0.2 urllib3-1.26.2

However, the packages are not available during the RTD build:

Running Sphinx v3.2.1
/home/docs/.conda/bin/conda
/home/docs/checkouts/readthedocs.org/user_builds/rw1nkler-symbiflow-docs/conda/fix_submodules/bin/python3
/home/docs/checkouts/readthedocs.org/user_builds/rw1nkler-symbiflow-docs/conda/fix_submodules/bin/python
/home/docs/checkouts/readthedocs.org/user_builds/rw1nkler-symbiflow-docs/conda/fix_submodules/bin/pip
/home/docs/checkouts/readthedocs.org/user_builds/rw1nkler-symbiflow-docs/conda/fix_submodules/bin/pip3
# packages in environment at /home/docs/checkouts/readthedocs.org/user_builds/rw1nkler-symbiflow-docs/conda/fix_submodules:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       1_gnu    conda-forge
alabaster                 0.7.12                     py_0  
babel                     2.8.1              pyhd3eb1b0_0  
brotlipy                  0.7.0           py38h27cfd23_1003  
bzip2                     1.0.8                h7f98852_4    conda-forge
c-ares                    1.17.1               h36c2ea0_0    conda-forge
ca-certificates           2020.10.14                    0  
cairo                     1.16.0            h9f066cc_1006    conda-forge
certifi                   2020.11.8        py38h06a4308_0  
cffi                      1.14.0           py38h2e261b9_0  
chardet                   3.0.4           py38h06a4308_1003  
cmake                     3.19.1               h1f3970d_0    conda-forge
commonmark                0.9.1                    pypi_0    pypi
cryptography              3.2.1            py38h3c74f83_1  
docutils                  0.16                     py38_1  
doxygen                   1.8.20               had0d8f1_0    conda-forge
expat                     2.2.9                he1b5a44_2    conda-forge
fontconfig                2.13.1            h7e3eb15_1002    conda-forge
freetype                  2.10.4               h7ca028e_0    conda-forge
fribidi                   1.0.10               h36c2ea0_0    conda-forge
gettext                   0.19.8.1          hf34092f_1004    conda-forge
glib                      2.66.3               h58526e2_0    conda-forge
gobject-introspection     1.56.1           py38h9a62fa1_2  
graphite2                 1.3.13            h58526e2_1001    conda-forge
harfbuzz                  2.7.2                ha5b49bf_1    conda-forge
icu                       67.1                 he1b5a44_0    conda-forge
idna                      2.10                       py_0  
imagesize                 1.2.0                      py_0  
jinja2                    2.11.2                     py_0  
jpeg                      9b                   h024ee3a_2  
krb5                      1.17.2               h926e7f8_0    conda-forge
lcms2                     2.11                 h396b838_0  
ld_impl_linux-64          2.35.1               hed1e6ac_0    conda-forge
libcurl                   7.71.1               hcdd3856_8    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libffi                    3.2.1             he1b5a44_1007    conda-forge
libgcc-ng                 9.3.0               h5dbcf3e_17    conda-forge
libglib                   2.66.3               hbe7bbb4_0    conda-forge
libgomp                   9.3.0               h5dbcf3e_17    conda-forge
libiconv                  1.16                 h516909a_0    conda-forge
libnghttp2                1.41.0               h8cfc5f6_2    conda-forge
libpng                    1.6.37               h21135ba_2    conda-forge
libssh2                   1.9.0                hab1572f_5    conda-forge
libstdcxx-ng              9.3.0               h2ae2ef3_17    conda-forge
libtiff                   4.1.0                h2733197_1  
libuuid                   2.32.1            h14c3975_1000    conda-forge
libuv                     1.40.0               hd18ef5c_0    conda-forge
libxcb                    1.13              h14c3975_1002    conda-forge
libxml2                   2.9.10          20201006_132122    symbiflow
lz4-c                     1.9.2                heb0550a_3  
markupsafe                1.1.1            py38h7b6447c_0  
mock                      4.0.2                      py_0  
ncurses                   6.2                  h58526e2_4    conda-forge
olefile                   0.46                       py_0  
openssl                   1.1.1h               h7b6447c_0  
packaging                 20.4                       py_0  
pango                     1.42.4               h69149e4_5    conda-forge
pcre                      8.44                 he1b5a44_0    conda-forge
pillow                    8.0.1            py38he98fc37_0  
pip                       20.3               pyhd8ed1ab_0    conda-forge
pixman                    0.40.0               h36c2ea0_0    conda-forge
pthread-stubs             0.4               h36c2ea0_1001    conda-forge
pycairo                   1.19.1           py38h2a1e443_0  
pycparser                 2.20                       py_2  
pygments                  2.7.2              pyhd3eb1b0_0  
pyopenssl                 20.0.0             pyhd3eb1b0_1  
pyparsing                 2.4.7                      py_0  
pysocks                   1.7.1            py38h06a4308_0  
python                    3.8.2                hcf32534_0  
pytz                      2020.4             pyhd3eb1b0_0  
readline                  8.0                  he28a2e2_2    conda-forge
readthedocs-sphinx-ext    2.1.1                    pypi_0    pypi
recommonmark              0.6.0                    pypi_0    pypi
requests                  2.25.0             pyhd3eb1b0_0  
rhash                     1.3.6             h516909a_1001    conda-forge
setuptools                50.3.1           py38h06a4308_1  
six                       1.15.0           py38h06a4308_0  
snowballstemmer           2.0.0                      py_0  
sphinx                    3.2.1                      py_0  
sphinx_rtd_theme          0.4.3                      py_0  
sphinxcontrib-applehelp   1.0.2                      py_0  
sphinxcontrib-devhelp     1.0.2                      py_0  
sphinxcontrib-htmlhelp    1.0.3                      py_0  
sphinxcontrib-jsmath      1.0.1                      py_0  
sphinxcontrib-qthelp      1.0.3                      py_0  
sphinxcontrib-serializinghtml 1.1.4                      py_0  
sqlite                    3.33.0               h4cf870e_1    conda-forge
tk                        8.6.10               hed695b0_1    conda-forge
tzdata                    2020d                h516909a_0    conda-forge
urllib3                   1.25.11                    py_0  
wheel                     0.35.1             pyh9f0ad1d_0    conda-forge
xorg-kbproto              1.0.7             h14c3975_1002    conda-forge
xorg-libice               1.0.10               h516909a_0    conda-forge
xorg-libsm                1.2.3             h84519dc_1000    conda-forge
xorg-libx11               1.6.12               h516909a_0    conda-forge
xorg-libxau               1.0.9                h14c3975_0    conda-forge
xorg-libxdmcp             1.1.3                h516909a_0    conda-forge
xorg-libxext              1.3.4                h516909a_0    conda-forge
xorg-libxrender           0.9.10            h516909a_1002    conda-forge
xorg-renderproto          0.11.1            h14c3975_1002    conda-forge
xorg-xextproto            7.3.0             h14c3975_1002    conda-forge
xorg-xproto               7.0.31            h14c3975_1007    conda-forge
xz                        5.2.5                h516909a_1    conda-forge
zlib                      1.2.11            h516909a_1010    conda-forge
zstd                      1.4.5                h9ceee32_0  
Package                       Version
----------------------------- -------------------
alabaster                     0.7.12
Babel                         2.8.1
brotlipy                      0.7.0
certifi                       2020.11.8
cffi                          1.14.0
chardet                       3.0.4
commonmark                    0.9.1
cryptography                  3.2.1
docutils                      0.16
idna                          2.10
imagesize                     1.2.0
Jinja2                        2.11.2
MarkupSafe                    1.1.1
mock                          4.0.2
olefile                       0.46
packaging                     20.4
Pillow                        8.0.1
pip                           20.3
pycairo                       1.19.1
pycparser                     2.20
Pygments                      2.7.2
pyOpenSSL                     20.0.0
pyparsing                     2.4.7
PySocks                       1.7.1
pytz                          2020.4
readthedocs-sphinx-ext        2.1.1
recommonmark                  0.6.0
requests                      2.25.0
setuptools                    50.3.1.post20201107
six                           1.15.0
snowballstemmer               2.0.0
Sphinx                        3.2.1
sphinx-rtd-theme              0.4.3
sphinxcontrib-applehelp       1.0.2
sphinxcontrib-devhelp         1.0.2
sphinxcontrib-htmlhelp        1.0.3
sphinxcontrib-jsmath          1.0.1
sphinxcontrib-qthelp          1.0.3
sphinxcontrib-serializinghtml 1.1.4
urllib3                       1.25.11
wheel                         0.35.1

@rw1nkler
Copy link
Contributor

rw1nkler commented Dec 1, 2020

Recently there many similar issues reported on the RTD server:
readthedocs/readthedocs.org#7663
readthedocs/readthedocs.org#7665

@tmichalak
Copy link
Contributor

This seems to be fixed indirectly, dependabot rebases seems to work lately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants