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

Update docs environment to Python 3.9

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