Skip to content

Commit c572c38

Browse files
committed
Doctest modules are now opt-in and run in Python 3.12
pytest-sphinx is not compatible with Python 3.13: twmr/pytest-sphinx#67
1 parent e69df35 commit c572c38

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

Diff for: .github/workflows/test.yml

+9-7
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ jobs:
8383
install-jax: [0]
8484
install-torch: [0]
8585
part:
86-
- "--doctest-modules pytensor --ignore=pytensor/misc/check_duplicate_key.py --ignore=pytensor/link"
8786
- "tests --ignore=tests/tensor --ignore=tests/scan --ignore=tests/sparse"
8887
- "tests/scan"
8988
- "tests/sparse"
@@ -100,19 +99,22 @@ jobs:
10099
float32: 1
101100
- fast-compile: 1
102101
float32: 1
103-
- part: "--doctest-modules pytensor --ignore=pytensor/misc/check_duplicate_key.py --ignore=pytensor/link"
104-
float32: 1
105-
- part: "--doctest-modules pytensor --ignore=pytensor/misc/check_duplicate_key.py --ignore=pytensor/link"
106-
fast-compile: 1
107102
- numpy-version: "~=1.26.0"
108103
fast-compile: 1
109104
- numpy-version: "~=1.26.0"
110105
float32: 1
111106
- numpy-version: "~=1.26.0"
112107
python-version: "3.13"
113-
- numpy-version: "~=1.26.0"
114-
part: "--doctest-modules pytensor --ignore=pytensor/misc/check_duplicate_key.py --ignore=pytensor/link"
115108
include:
109+
- os: "ubuntu-latest"
110+
part: "--doctest-modules pytensor --ignore=pytensor/misc/check_duplicate_key.py --ignore=pytensor/link"
111+
python-version: "3.12"
112+
numpy-version: ">=2.0"
113+
fast-compile: 0
114+
float32: 0
115+
install-numba: 0
116+
install-jax: 0
117+
install-torch: 0
116118
- install-numba: 1
117119
os: "ubuntu-latest"
118120
python-version: "3.10"

0 commit comments

Comments
 (0)