Skip to content

Conversation

@corona10
Copy link
Member

@corona10corona10 commented Sep 11, 2020

@corona10
Copy link
MemberAuthor

The current failure is not related to this PR
See: https://bugs.python.org/issue41762

/Users/corona10/oss/cpython/Doc/library/string.rst:311:duplicate token description of sign, other instance in library/functions 

@vstinner
Copy link
Member

The current failure is not related to this PR

I don't understand. All jobs are now green. Did you re-run some jobs?

@corona10
Copy link
MemberAuthor

corona10 commented Sep 11, 2020

I don't understand. All jobs are now green.

I expected that Travis CI - Pull Request will failed but not on this PR.

@corona10corona10 changed the title bpo-35293: Remove PyModulelevel deprecated warningbpo-35293: Remove RemovedInSphinx40WarningSep 12, 2020
@corona10
Copy link
MemberAuthor

@vstinner@njsmith Please take a look

@vstinner
Copy link
Member

I fixed https://bugs.python.org/issue41762 with commit 8af239e, PR #22281.

@corona10
Copy link
MemberAuthor

I fixed https://bugs.python.org/issue41762 with commit 8af239e, PR #22281.

Nice!, I rebased it!

@vstinner
Copy link
Member

I confirm that the PR fix RemovedInSphinx40Warning warnings.

Without the PR:

$ cd Doc $ make clean $ make venv PYTHON=../python && make html SPHINXOPTS="-j10" (...) /home/vstinner/python/master/Doc/tools/extensions/pyspecific.py:310: RemovedInSphinx40Warning: PyClassmember is deprecated. Please check the implementation of <class 'pyspecific.PyCoroutineMethod'> return PyClassmember.run(self) /home/vstinner/python/master/Doc/tools/extensions/pyspecific.py:304: RemovedInSphinx40Warning: PyModulelevel is deprecated. Please check the implementation of <class 'pyspecific.PyCoroutineFunction'> return PyModulelevel.run(self) /home/vstinner/python/master/Doc/tools/extensions/pyspecific.py:278: RemovedInSphinx40Warning: PyModulelevel is deprecated. Please check the implementation of <class 'pyspecific.PyDecoratorFunction'> return PyModulelevel.run(self) /home/vstinner/python/master/Doc/tools/extensions/pyspecific.py:316: RemovedInSphinx40Warning: PyClassmember is deprecated. Please check the implementation of <class 'pyspecific.PyAwaitableFunction'> return PyClassmember.run(self) /home/vstinner/python/master/Doc/tools/extensions/pyspecific.py:278: RemovedInSphinx40Warning: PyModulelevel is deprecated. Please check the implementation of <class 'pyspecific.PyDecoratorFunction'> return PyModulelevel.run(self) /home/vstinner/python/master/Doc/tools/extensions/pyspecific.py:278: RemovedInSphinx40Warning: PyModulelevel is deprecated. Please check the implementation of <class 'pyspecific.PyDecoratorFunction'> return PyModulelevel.run(self) /home/vstinner/python/master/Doc/tools/extensions/pyspecific.py:310: RemovedInSphinx40Warning: PyClassmember is deprecated. Please check the implementation of <class 'pyspecific.PyCoroutineMethod'> return PyClassmember.run(self) /home/vstinner/python/master/Doc/tools/extensions/pyspecific.py:278: RemovedInSphinx40Warning: PyModulelevel is deprecated. Please check the implementation of <class 'pyspecific.PyDecoratorFunction'> return PyModulelevel.run(self) /home/vstinner/python/master/Doc/tools/extensions/pyspecific.py:322: RemovedInSphinx40Warning: PyClassmember is deprecated. Please check the implementation of <class 'pyspecific.PyAwaitableMethod'> return PyClassmember.run(self) /home/vstinner/python/master/Doc/tools/extensions/pyspecific.py:278: RemovedInSphinx40Warning: PyModulelevel is deprecated. Please check the implementation of <class 'pyspecific.PyDecoratorFunction'> return PyModulelevel.run(self) 

With the PR, I don't see these warnings anymore:

$ cd Doc $ make clean $ make venv PYTHON=../python && make html SPHINXOPTS="-j10" (...) 

Copy link
Member

@vstinnervstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@miss-islington
Copy link
Contributor

Thanks @corona10 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8, 3.9.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 18, 2020
* bpo-35293: Remove RemovedInSphinx40Warning * Update Misc/NEWS.d/next/Documentation/2020-09-12-17-37-13.bpo-35293._cOwPD.rst Co-authored-by: Victor Stinner <vstinner@python.org> * bpo-35293: Apply Victor's review Co-authored-by: Victor Stinner <vstinner@python.org> (cherry picked from commit 6595cb0) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
@bedevere-bot
Copy link

GH-22302 is a backport of this pull request to the 3.9 branch.

@corona10
Copy link
MemberAuthor

@vstinner Thank you Victor!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 18, 2020
* bpo-35293: Remove RemovedInSphinx40Warning * Update Misc/NEWS.d/next/Documentation/2020-09-12-17-37-13.bpo-35293._cOwPD.rst Co-authored-by: Victor Stinner <vstinner@python.org> * bpo-35293: Apply Victor's review Co-authored-by: Victor Stinner <vstinner@python.org> (cherry picked from commit 6595cb0) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
@bedevere-bot
Copy link

GH-22303 is a backport of this pull request to the 3.8 branch.

@corona10corona10 deleted the bpo-35293 branch September 18, 2020 09:23
miss-islington added a commit that referenced this pull request Sep 18, 2020
* bpo-35293: Remove RemovedInSphinx40Warning * Update Misc/NEWS.d/next/Documentation/2020-09-12-17-37-13.bpo-35293._cOwPD.rst Co-authored-by: Victor Stinner <vstinner@python.org> * bpo-35293: Apply Victor's review Co-authored-by: Victor Stinner <vstinner@python.org> (cherry picked from commit 6595cb0) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
miss-islington added a commit that referenced this pull request Sep 18, 2020
* bpo-35293: Remove RemovedInSphinx40Warning * Update Misc/NEWS.d/next/Documentation/2020-09-12-17-37-13.bpo-35293._cOwPD.rst Co-authored-by: Victor Stinner <vstinner@python.org> * bpo-35293: Apply Victor's review Co-authored-by: Victor Stinner <vstinner@python.org> (cherry picked from commit 6595cb0) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
xzy3 pushed a commit to xzy3/cpython that referenced this pull request Oct 18, 2020
* bpo-35293: Remove RemovedInSphinx40Warning * Update Misc/NEWS.d/next/Documentation/2020-09-12-17-37-13.bpo-35293._cOwPD.rst Co-authored-by: Victor Stinner <vstinner@python.org> * bpo-35293: Apply Victor's review Co-authored-by: Victor Stinner <vstinner@python.org>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@corona10@vstinner@miss-islington@bedevere-bot@the-knights-who-say-ni