sphinxext uses deprecated app.info for logging

Bug #1798174 reported by Sean McGinnis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
stevedore
Fix Released
Undecided
Sean McGinnis

Bug Description

Sphinx has deprecated app.info for logging in the current 1.8.1 release and it has been removed completely in the current master branch code.

sphinxext uses app.info() calls for logging. This needs to be updated so things continue to work after the next version of sphinx is released.

Changed in python-stevedore:
assignee: nobody → Sean McGinnis (sean-mcginnis)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to stevedore (master)

Fix proposed to branch: master
Review: https://review.openstack.org/611129

Changed in python-stevedore:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to stevedore (master)

Reviewed: https://review.openstack.org/611129
Committed: https://git.openstack.org/cgit/openstack/stevedore/commit/?id=5b39123aa4d2988fc773003d166c2bde590ea080
Submitter: Zuul
Branch: master

commit 5b39123aa4d2988fc773003d166c2bde590ea080
Author: Sean McGinnis <email address hidden>
Date: Tue Oct 16 13:48:01 2018 -0500

    Update sphinx logging to not use app object

    Logging via the application object was deprecated in sphinx 1.6 and is
    now removed in the master branch that will become 2.0. This updates our
    sphinx extension to use the recommended sphinx.util.logging instead.

    Closes-bug: #1798174

    Change-Id: Ie66579146d68680905c3eac3d256369309130cf4
    Signed-off-by: Sean McGinnis <email address hidden>

Changed in python-stevedore:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/stevedore 1.30.0

This issue was fixed in the openstack/stevedore 1.30.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to stevedore (stable/rocky)

Reviewed: https://review.opendev.org/667974
Committed: https://git.openstack.org/cgit/openstack/stevedore/commit/?id=39f61e4392ef3c0f1852b87a9d2cb0bc4f410bec
Submitter: Zuul
Branch: stable/rocky

commit 39f61e4392ef3c0f1852b87a9d2cb0bc4f410bec
Author: Elod Illes <email address hidden>
Date: Thu Jun 27 12:57:48 2019 +0200

    Add local bindep.txt and update sphinx logging

    This is a combination of two commits to fix the check / gate jobs:

    1. Add local bindep.txt

    As it was announced [1] global bindep-fallback.txt was removed and now
    projects need to have a local bindep.txt to be able to install binary
    dependencies for testing.

    In documentation zuul job graphviz package ('dot' command) is needed.
    Without that the job fails with:
        dot command 'dot' cannot be run (needed for graphviz output),
        check the graphviz_dot setting

    [1] http://lists.openstack.org/pipermail/openstack-discuss/2019-June/007272.html

    (cherry picked from commit feac47186d79569bb564e18216e07f18ed5ccd8b)
    (cherry picked from commit caf65ed26066b5f7d13cc50e67f1df852414b2dc)

    2. Update sphinx logging to not use app object

    Logging via the application object was deprecated in sphinx 1.6 and is
    now removed in the master branch that will become 2.0. This updates our
    sphinx extension to use the recommended sphinx.util.logging instead.

    Closes-bug: #1798174
    Signed-off-by: Sean McGinnis <email address hidden>
    (cherry picked from commit 5b39123aa4d2988fc773003d166c2bde590ea080)

    Change-Id: I5efddfc72e9dc0dd1b8b9e1e37708e1d30ef3c39

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/stevedore rocky-eol

This issue was fixed in the openstack/stevedore rocky-eol release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.