Stop using deprecated logging API in Sphinx by pablogsal · Pull Request #9875 · python/cpython (original) (raw)

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation8 Commits1 Checks0 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

pablogsal

The doc target can fail due to the use of a deprecated logging API in
Doc/tools/extensions/suspicious.py and treating warnings as errors. Example error:

$ make check suspicious html SPHINXOPTS="-q -W -j4"
python3 tools/rstlint.py -i tools -i ./venv -i README.rst
No problems found.
make[1]: Entering directory `/home/travis/build/python/cpython/Doc'
mkdir -p build
Building NEWS from Misc/NEWS.d with blurb
PATH=./venv/bin:$PATH sphinx-build -b suspicious -d build/doctrees -D latex_elements.papersize= -q -W -j4 . build/suspicious 
/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/sphinx/application.py:402: RemovedInSphinx20Warning: app.info() is now deprecated. Use sphinx.util.logging instead.
  RemovedInSphinx20Warning)

@pablogsal

brettcannon

vstinner added a commit that referenced this pull request

Oct 16, 2018

@vstinner

CuriousLearner added a commit to CuriousLearner/cpython that referenced this pull request

Oct 18, 2018

@CuriousLearner

CuriousLearner added a commit to CuriousLearner/cpython that referenced this pull request

Oct 18, 2018

@CuriousLearner

@miss-islington

Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.6.
🐍🍒⛏🤖

@miss-islington

Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

@bedevere-bot

@bedevere-bot

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Jun 9, 2019

@pablogsal @miss-islington

…nGH-9875)

(cherry picked from commit ee171a2)

Co-authored-by: Pablo Galindo Pablogsal@gmail.com

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Jun 9, 2019

@pablogsal @miss-islington

…nGH-9875)

(cherry picked from commit ee171a2)

Co-authored-by: Pablo Galindo Pablogsal@gmail.com

@miss-islington

Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 2.7.
🐍🍒⛏🤖

@bedevere-bot

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Jun 9, 2019

@pablogsal @miss-islington

…nGH-9875)

(cherry picked from commit ee171a2)

Co-authored-by: Pablo Galindo Pablogsal@gmail.com

miss-islington added a commit that referenced this pull request

Jun 9, 2019

@miss-islington @pablogsal

(cherry picked from commit ee171a2)

Co-authored-by: Pablo Galindo Pablogsal@gmail.com

ned-deily pushed a commit that referenced this pull request

Jun 9, 2019

…) (GH-13923)

(cherry picked from commit ee171a2)

Co-authored-by: Pablo Galindo Pablogsal@gmail.com

@miss-islington

Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 2.7.
🐍🍒⛏🤖

@miss-islington

Sorry @pablogsal, I had trouble checking out the 2.7 backport branch.
Please backport using cherry_picker on command line.
cherry_picker ee171a26c1169abfae534b08acc0d95c6e45a22a 2.7

benjaminp pushed a commit that referenced this pull request

Oct 8, 2019

@pablogsal @benjaminp

…H-9875)

(cherry picked from commit ee171a2)

Co-authored-by: Pablo Galindo Pablogsal@gmail.com