支持 Python 2.7 的最新 sphinx 版本是什么?
What's the latest sphinx version which supports Python 2.7?
我在 Python v2.7.18 上打包 Sphinx v4.2 时遇到问题:
========== 1733 passed, 3 skipped, 3477 warnings in 663.79s (0:11:03) ==========
==> Entering fakeroot environment...
==> Starting package()...
Traceback (most recent call last):
File "setup.py", line 8, in <module>
import sphinx
File "/home/user/Projects/aur/python2-sphinx/src/Sphinx-4.2.0/sphinx/__init__.py", line 20, in <module>
from .deprecation import RemovedInNextVersionWarning
File "/home/user/Projects/aur/python2-sphinx/src/Sphinx-4.2.0/sphinx/deprecation.py", line 28
def deprecated_alias(modname: str, objects: Dict[str, object],
^
SyntaxError: invalid syntax
由于上述关于 Python 3.x 类型提示和安装 python2-typing
的错误没有任何区别,我猜测 python 2 支持一定已被弃用,所以
支持Python的最新sphinx版本是什么2.x?
python2-sphinx
的最新 PKGBUILD
版本 1.8.5
。
我在 Python v2.7.18 上打包 Sphinx v4.2 时遇到问题:
========== 1733 passed, 3 skipped, 3477 warnings in 663.79s (0:11:03) ==========
==> Entering fakeroot environment...
==> Starting package()...
Traceback (most recent call last):
File "setup.py", line 8, in <module>
import sphinx
File "/home/user/Projects/aur/python2-sphinx/src/Sphinx-4.2.0/sphinx/__init__.py", line 20, in <module>
from .deprecation import RemovedInNextVersionWarning
File "/home/user/Projects/aur/python2-sphinx/src/Sphinx-4.2.0/sphinx/deprecation.py", line 28
def deprecated_alias(modname: str, objects: Dict[str, object],
^
SyntaxError: invalid syntax
由于上述关于 Python 3.x 类型提示和安装 python2-typing
的错误没有任何区别,我猜测 python 2 支持一定已被弃用,所以
支持Python的最新sphinx版本是什么2.x?
python2-sphinx
的最新 PKGBUILD
版本 1.8.5
。