[psycopg] documentation build failure with python sphinx 1.6.3 - Mailing list psycopg

From Pavel Raiskup
Subject [psycopg] documentation build failure with python sphinx 1.6.3
Date
Msg-id 2741387.dvL6Cb0VMB@nb.usersys.redhat.com
Whole thread Raw
Responses Re: [psycopg] documentation build failure with python sphinx 1.6.3  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
List psycopg
Hi all,

with recent Fedora's sphinx packages, it seems to be a problem to build the
documentation in doc/ directory:

    $ make
    make_admonition

    WARNING: couldn't import psycopg to read version.
    WARNING: couldn't import psycopg to read version.
    /usr/lib/python3.6/site-packages/sphinx/util/compat.py:40:
    RemovedInSphinx17Warning: sphinx.util.compat.Directive is deprecated and
    will be removed in Sphinx 1.7, please use docutils' instead.
    RemovedInSphinx17Warning)

    Extension error:
    Could not import extension dbapi_extension (exception: cannot import name
    'make_admonition')
    /usr/lib/python3.6/site-packages/sphinx/util/compat.py:40:
    RemovedInSphinx17Warning: sphinx.util.compat.Directive is deprecated and
    will be removed in Sphinx 1.7, please use docutils' instead.
    RemovedInSphinx17Warning)

    Extension error:
    Could not import extension dbapi_extension (exception: cannot import name
    'make_admonition')

Is there some work-around for this?  We use python-sphinx-1.6.3.

Pavel



psycopg by date:

Previous
From: Karsten Hilbert
Date:
Subject: Re: [psycopg] 2.7.2 still problem with readonly/autocommit, was:Changing set_session implementation
Next
From: Daniele Varrazzo
Date:
Subject: Re: [psycopg] documentation build failure with python sphinx 1.6.3