提交 3496e688 authored 作者: Ricardo Vieira's avatar Ricardo Vieira 提交者: Ricardo Vieira

Doctest modules are now opt-in and run in Python 3.12

pytest-sphinx is not compatible with Python 3.13: https://github.com/twmr/pytest-sphinx/issues/67
上级 bd5d1b09
...@@ -83,7 +83,6 @@ jobs: ...@@ -83,7 +83,6 @@ jobs:
install-jax: [0] install-jax: [0]
install-torch: [0] install-torch: [0]
part: part:
- "--doctest-modules pytensor --ignore=pytensor/misc/check_duplicate_key.py --ignore=pytensor/link"
- "tests --ignore=tests/tensor --ignore=tests/scan --ignore=tests/sparse" - "tests --ignore=tests/tensor --ignore=tests/scan --ignore=tests/sparse"
- "tests/scan" - "tests/scan"
- "tests/sparse" - "tests/sparse"
...@@ -100,19 +99,22 @@ jobs: ...@@ -100,19 +99,22 @@ jobs:
float32: 1 float32: 1
- fast-compile: 1 - fast-compile: 1
float32: 1 float32: 1
- part: "--doctest-modules pytensor --ignore=pytensor/misc/check_duplicate_key.py --ignore=pytensor/link"
float32: 1
- part: "--doctest-modules pytensor --ignore=pytensor/misc/check_duplicate_key.py --ignore=pytensor/link"
fast-compile: 1
- numpy-version: "~=1.26.0" - numpy-version: "~=1.26.0"
fast-compile: 1 fast-compile: 1
- numpy-version: "~=1.26.0" - numpy-version: "~=1.26.0"
float32: 1 float32: 1
- numpy-version: "~=1.26.0" - numpy-version: "~=1.26.0"
python-version: "3.13" python-version: "3.13"
- numpy-version: "~=1.26.0"
part: "--doctest-modules pytensor --ignore=pytensor/misc/check_duplicate_key.py --ignore=pytensor/link"
include: include:
- os: "ubuntu-latest"
part: "--doctest-modules pytensor --ignore=pytensor/misc/check_duplicate_key.py --ignore=pytensor/link"
python-version: "3.12"
numpy-version: ">=2.0"
fast-compile: 0
float32: 0
install-numba: 0
install-jax: 0
install-torch: 0
- install-numba: 1 - install-numba: 1
os: "ubuntu-latest" os: "ubuntu-latest"
python-version: "3.10" python-version: "3.10"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论