[llvm-dev] LNT on pypy and documentation build

Matthias Braun via llvm-dev llvm-dev at lists.llvm.org
Tue Jul 18 10:48:01 PDT 2017


Hi,

working on the LNT documentation I am wondering about a few things:

- LNT documentation recommends to do `easy_install lnt==0.4.2dev` (in the install box on the left side of the title page). The last available version of LNT on pypy is version 0.4.0 from 2012. Are there plans to keep this up to date or should we better remove the entry and not mention pypy packages anymore?

- Building the documentation always fails with:
$ sphinx-build docs/ /tmp/lntdocs
Running Sphinx v1.5.2
...
/Users/mbraun/dev/lnt/docs/profiles.rst:101: WARNING: autodoc: failed to import class 'ProfileImpl' from module 'lnt.testing.profile.profile'; the following exception was raised:
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/site-packages/sphinx/ext/autodoc.py", line 551, in import_object
    __import__(self.modname)
  File "/Users/mbraun/dev/lnt/lnt/testing/profile/__init__.py", line 3, in <module>
    from profilev1impl import ProfileV1
ImportError: No module named 'profilev1impl'
/Users/mbraun/dev/lnt/docs/profiles.rst:106: WARNING: autodoc: failed to import module 'lnt.testing.profile.profilev1impl'; the following exception was raised:
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/site-packages/sphinx/ext/autodoc.py", line 551, in import_object
    __import__(self.modname)
  File "/Users/mbraun/dev/lnt/lnt/testing/profile/__init__.py", line 3, in <module>
    from profilev1impl import ProfileV1
ImportError: No module named 'profilev1impl'

Do I need special flags?

- Matthias


More information about the llvm-dev mailing list