-
-
Notifications
You must be signed in to change notification settings - Fork 30.5k
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 and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/silence doctest warnings #94001
Comments
The stdlib's tests use the It seems several warnings are for third party projects (Sphinx, etc) using stdlib modules that are deprecated; in that case, those projects should be updated. In 3.10, the warnings look to be due to Sphinx 3.x using names deprecated in Jinja 3.x. Either it should be upgrade to use Sphinx 4, or jinja should be upper capped at |
Third-party deprecation warnings in
Fixed in python-babel/babel#876, pending release. Edit: ✅ Released in Babel 2.11.0!
Pending issue: sphinx-doc/sphinx#10440 Edit: ✅ Released in Sphinx 6.2.0!
PR pending merge: certifi/python-certifi#193 Edit: ✅ Merged via certifi/python-certifi#199 and released in Certifi 2022.06.15.1! |
Current status (from https://github.com/python/cpython/actions/runs/5075730602/jobs/9117235935):
However, I cannot find if |
The warning is new in 3.12 and first needs fixing in Sphinx: Would you like to open an issue over there? cc @AA-Turner |
I'll do it later this day if nobody else gets ahead of me. Btw, https://docs.python.org/3/library/datetime.html#datetime.datetime.utcfromtimestamp seems to not have the deprecation note. |
Yep, the deprecation is new in 3.12, and shown here:
The issue: #103857 |
These have all been fixed (pending updating the Sphinx version). A |
I noticed a few warnings triggered during the
Doctest workflow
s. These should be either fixed by updating/removing the examples, or possibly silenced.These are the (collapsed) outputs on
main
/3.11
/3.10
:main
From https://github.com/python/cpython/runs/6946479177?check_suite_focus=true
3.11
From https://github.com/python/cpython/runs/6954035375?check_suite_focus=true
3.10
From https://github.com/python/cpython/runs/6954044919?check_suite_focus=true
The text was updated successfully, but these errors were encountered: