Skip to content

Sphinx 2.0 problems: BuildEnvironment has no attribute warn_node #6

@hroncok

Description

@hroncok

In Fedora, we have the following problem when building the docs with Sphinx 2.0.1:

+ sphinx-build docs html
Running Sphinx v2.0.1
BUILDSTDERR: Configuration error:
BUILDSTDERR: There is a programmable error in your configuration file:
BUILDSTDERR: Traceback (most recent call last):
BUILDSTDERR:   File "/usr/lib/python3.7/site-packages/sphinx/config.py", line 361, in eval_config_file
BUILDSTDERR:     execfile_(filename, namespace)
BUILDSTDERR:   File "/usr/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 86, in execfile_
BUILDSTDERR:     exec(code, _globals)
BUILDSTDERR:   File "/builddir/build/BUILD/python-utils-2.3.0/docs/conf.py", line 71, in <module>
BUILDSTDERR:     original_warn_mode = sphinx.environment.BuildEnvironment.warn_node
BUILDSTDERR: AttributeError: type object 'BuildEnvironment' has no attribute 'warn_node'

I cannot have a look ATM, but can try to submit a PR later.

Reported at https://bugzilla.redhat.com/show_bug.cgi?id=1709063

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions