File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ sudo apt-get install -y pandoc
2222# Install PyTorch Nightly for test.
2323if [ " ${USE_NIGHTLY:- 0} " -eq 1 ]; then
2424 sudo pip uninstall -y torch torchvision torchaudio
25- pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly /cu130
25+ pip3 install torch==2.10.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/test /cu130
2626 pip show torch
2727fi
2828
Original file line number Diff line number Diff line change @@ -263,8 +263,9 @@ def wrapper(*args, **kwargs):
263263 # ignore_pattern also skips parsing.
264264 # See https://github.com/sphinx-gallery/sphinx-gallery/issues/721
265265 # for a more detailed description of the issue.
266+ # GALLERY_PATTERN should be a regular expression.
266267 sphinx_gallery_conf ["ignore_pattern" ] = (
267- r"/ (?!" + re . escape ( os .getenv ("GALLERY_PATTERN" )) + r")[^/]+$ "
268+ r"^ (?!.* " + os .getenv ("GALLERY_PATTERN" ) + r")"
268269 )
269270
270271for i in range (len (sphinx_gallery_conf ["examples_dirs" ])):
You can’t perform that action at this time.
0 commit comments