You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Testing with most recent scipy leads to the following error
Run python -m pytest --durations=20 -v test/ ot/ --color=yes --cov=./ --cov-report=xml
ImportError while loading conftest '/home/runner/work/POT/POT/test/conftest.py'.
test/conftest.py:[11](https://github.com/PythonOT/POT/actions/runs/9657485158/job/26636841070?pr=640#step:6:12): in <module>
from ot.backend import get_backend_list, jax, tf
ot/__init__.py:23: in <module>
from . import optim
ot/optim.py:22: in <module>
from scipy.optimize.linesearch import scalar_search_armijo
E ImportError: cannot import name 'scalar_search_armijo' from 'scipy.optimize.linesearch' (/opt/hostedtoolcache/Python/3.10.[14](https://github.com/PythonOT/POT/actions/runs/9657485158/job/26636841070?pr=640#step:6:15)/x64/lib/python3.10/site-packages/scipy/optimize/linesearch.py)
Error: Process completed with exit code 4.
One needs to import now from teh hiden submodule scipy.optimize._linesearch``
To Reproduce
Steps to reproduce the behavior:
...
Screenshots
Code sample
Expected behavior
Environment (please complete the following information):
OS (e.g. MacOS, Windows, Linux):
Python version:
How was POT installed (source, pip, conda):
Build command you used (if compiling from source):
Describe the bug
Testing with most recent scipy leads to the following error
One needs to import now from teh hiden submodule scipy.optimize._linesearch``
To Reproduce
Steps to reproduce the behavior:
Screenshots
Code sample
Expected behavior
Environment (please complete the following information):
pip
,conda
):Output of the following code snippet:
Additional context
The text was updated successfully, but these errors were encountered: