← All tasks
pythonpexpect/pexpect #637Not a task: already works

Compiling the docs with Sphinx 3.0.1 fails with AttributeError: 'Sphinx' object has no attribute 'info'

envgap__pexpect__pexpect-637

01 / FAILURE SIGNATURE

As reported upstream

AttributeError: 'Sphinx' object has no attribute 'info'
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
1793f8cb60fc0e5a661b66535644b61b69db696e
Manifest
doc/requirements.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

pexpect/pexpect #637 · read the original issue
Are there plans to support building the docs with Sphinx 3?

```

# make -j5 -C doc html

make: Entering directory '/tmp/tmp.zp8i1A7t0T/pexpect/doc'

sphinx-build -b html -d _build/doctrees   . _build/html

Running Sphinx v3.0.1



Exception occurred:

  File "/tmp/tmp.zp8i1A7t0T/pexpect/doc/sphinxext/github.py", line 149, in setup

    app.info('Initializing GitHub plugin')

AttributeError: 'Sphinx' object has no attribute 'info'

The full traceback has been saved in /tmp/sphinx-err-ezjlx78k.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!

make: *** [Makefile:45: html] Error 2

make: Leaving directory '/tmp/tmp.zp8i1A7t0T/pexpect/doc'

```

Commenting out `app.info('Initializing GitHub plugin')` seems to make the build work.
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]