[docs] [issue35605] backported patch requires new sphinx, minimum sphinx version was not bumped

Anthony Sottile report at bugs.python.org
Fri Dec 28 16:16:59 EST 2018


Anthony Sottile <asottile at umich.edu> added the comment:

If I add a patch which is essentially:


try:  # sphinx>=1.6
    from sphinx.util.logging import getLogger
except ImportError:  # sphinx<1.6
    from logging import getLogger

will that be fine?

and should I open that against 3.7 to be backported or just against 3.6 (I also ran into the same issue when backporting 3.7.2 for xenial -- but there I adjusted the minimum sphinx version: https://github.com/deadsnakes/python3.7/commit/c27b89bc7032d0b072b46c7425e5b32788f1c0fd )

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35605>
_______________________________________


More information about the docs mailing list