[Bug 240705] devel/py-virtualenv: 16.7.5 fails to build with DOCS=on

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Sep 21 06:11:39 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240705

Rainer Hurling <rhurlin at gwdg.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rhurlin at gwdg.de

--- Comment #6 from Rainer Hurling <rhurlin at gwdg.de> ---
Me too. After the patch, on a HEAD amd64 box I get:

[..snip..]
running build_sphinx
creating
/usr/ports/devel/py-virtualenv/work-py27/virtualenv-16.7.5/build/sphinx
creating
/usr/ports/devel/py-virtualenv/work-py27/virtualenv-16.7.5/build/sphinx/doctrees
creating
/usr/ports/devel/py-virtualenv/work-py27/virtualenv-16.7.5/build/sphinx/html
Running Sphinx v1.6.5

Exception occurred:
  File "conf.py", line 7, in <module>
ImportError: No module named pathlib
The full traceback has been saved in /tmp/sphinx-err-AluUXD.log, if you want to
report the issue to the developers.
Please also report this if it was a user error, so that a better error message
can be provided next time.
A bug report can be filed in the tracker at
<https://github.com/sphinx-doc/sphinx/issues>. Thanks!
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/py-virtualenv
*** Error code 1


The conf.py ImportError is 'pathlib' now, not 'virtualenv' anymore. The full
traceback is

 /tmp/sphinx-err-AluUXD.log 
# Sphinx version: 1.6.5
# Python version: 2.7.16 (CPython)
# Docutils version: 0.15.2 release
# Jinja2 version: 2.10.1
# Last messages:

# Loaded extensions:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/sphinx/setup_command.py", line
191, in run
    warningiserror=self.warning_is_error)
  File "/usr/local/lib/python2.7/site-packages/sphinx/application.py", line
168, in __init__
    confoverrides or {}, self.tags)
  File "/usr/local/lib/python2.7/site-packages/sphinx/config.py", line 150, in
__init__
    execfile_(filename, config)
  File "/usr/local/lib/python2.7/site-packages/sphinx/util/pycompat.py", line
150, in execfile_
    exec_(code, _globals)
  File "/usr/local/lib/python2.7/site-packages/six.py", line 709, in exec_
    exec("""exec _code_ in _globs_, _locs_""")
  File "<string>", line 1, in <module>
  File "conf.py", line 7, in <module>
ImportError: No module named pathlib

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-python mailing list