This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Travis CI docs broken: UnboundLocalError: local variable 'prefix' referenced before assignment
Type: Stage: resolved
Components: Documentation, Tests Versions: Python 3.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, serhiy.storchaka, vstinner
Priority: normal Keywords:

Created on 2017-04-03 15:34 by vstinner, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (4)
msg291075 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-04-03 15:34
https://travis-ci.org/python/cpython/jobs/218107336

CPython: master branch
Sphinx 1.5.4

make[1]: Entering directory `/home/travis/build/python/cpython/Doc'
./venv/bin/python -m sphinx -b suspicious -d build/doctrees -D latex_elements.papersize= -q -W . build/suspicious 

Exception occurred:
  File "/home/travis/virtualenv/python3.6.0/lib/python3.6/site-packages/sphinx/domains/python.py", line 317, in before_content
    if prefix:
UnboundLocalError: local variable 'prefix' referenced before assignment
msg291076 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-04-03 15:44
This already is fixed in mainstream. https://github.com/sphinx-doc/sphinx/issues/3597

Sphinx 1.5.5 will be released soon. https://github.com/sphinx-doc/sphinx/issues/3598
msg291077 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-04-03 16:07
https://pypi.org/project/Sphinx/1.5.5/ has been released. How can I schedule a recheck on Travis CI on PRs where the docs job failed?
msg291079 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-04-03 16:13
Oh, Zachary Were "restarted the docs job on most of the blocked PRs". So I close this issue.

That one was hopefully quickly fixed :-)
History
Date User Action Args
2022-04-11 14:58:44adminsetgithub: 74159
2017-04-03 16:13:56vstinnersetstatus: open -> closed
resolution: fixed
messages: + msg291079

stage: resolved
2017-04-03 16:07:45vstinnersetmessages: + msg291077
2017-04-03 15:44:19serhiy.storchakasetnosy: + serhiy.storchaka
messages: + msg291076
2017-04-03 15:34:14vstinnercreate