提交 4116a35d authored 作者: Michael Osthege's avatar Michael Osthege 提交者: Thomas Wiecki

Update docs environment to Python 3.9

上级 9ae4895c
......@@ -17,6 +17,7 @@
# sys.path.append(os.path.abspath('some/directory'))
import os
import sys
import pytensor
# General configuration
......@@ -60,7 +61,7 @@ version = pytensor.__version__
if os.environ.get("READTHEDOCS", False):
rtd_version = os.environ.get("READTHEDOCS_VERSION", "")
if rtd_version.lower() == "stable":
version = pymc.__version__.split("+")[0]
version = pytensor.__version__.split("+")[0]
elif rtd_version.lower() == "latest":
version = "dev"
else:
......
......@@ -3,13 +3,13 @@ channels:
- conda-forge
- nodefaults
dependencies:
- python=3.7
- python=3.9
- gcc_linux-64
- gxx_linux-64
- numpy
- scipy
- six
- sphinx>=5.1.0
- sphinx>=5.1.0,<6
- mock
- pillow
- pip
......
......@@ -32,7 +32,7 @@ dependencies:
- pytest-xdist
- pytest-benchmark
# For building docs
- sphinx>=5.1.0
- sphinx>=5.1.0,<6
- sphinx_rtd_theme
- pygments
- pydot
......
......@@ -89,8 +89,7 @@ tests = [
"pytest-benchmark",
]
rtd = [
"sphinx>=1.3.0",
"sphinx_rtd_theme",
"sphinx>=5.1.0,<6",
"pygments",
"pydot",
"pydot2",
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论