Skip to content

Commit f5e8259

Browse files
docs: Update scipy intersphinx url to drop 'reference' (#1767)
* Update scipy scipy intersphinx url to target 'https://docs.scipy.org/doc/scipy/objects.inv' to avoid redirect from 'https://docs.scipy.org/doc/scipy/reference/'. - This is the result of SciPy changing the location in scipy v1.8.0.
1 parent e3d879f commit f5e8259

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def setup(app):
7373
intersphinx_mapping = {
7474
'python': ('https://docs.python.org/3', None),
7575
'numpy': ('https://numpy.org/doc/stable/', None),
76-
'scipy': ('https://docs.scipy.org/doc/scipy/reference/', None),
76+
'scipy': ('https://docs.scipy.org/doc/scipy/', None),
7777
'matplotlib': ('https://matplotlib.org/stable/', None),
7878
'iminuit': ('https://iminuit.readthedocs.io/en/stable/', None),
7979
'uproot': ('https://uproot.readthedocs.io/en/latest/', None),

tests/test_optim.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import numpy as np
1010

1111

12-
# from https://docs.scipy.org/doc/scipy/reference/tutorial/optimize.html#nelder-mead-simplex-algorithm-method-nelder-mead
12+
# from https://docs.scipy.org/doc/scipy/tutorial/optimize.html#nelder-mead-simplex-algorithm-method-nelder-mead
1313
@pytest.mark.skip_pytorch
1414
@pytest.mark.skip_pytorch64
1515
@pytest.mark.skip_tensorflow

0 commit comments

Comments
 (0)