-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Labels
defectA clear bug or issue that prevents SciPy from being installed or used as expectedA clear bug or issue that prevents SciPy from being installed or used as expectedscipy.integrate
Milestone
Description
Describe your issue.
Since SciPy 1.8.0, importing ODEintWarning from scipy.integrate.odepack raises the following warning:
DeprecationWarning: Please use
ODEintWarning
from thescipy.integrate
namespace, thescipy.integrate.odepack
namespace is deprecated.
However, importing ODEintWarning from scipy.integrate fails. I think the solution is to add ODEintWarning to scipy.integrate._odepack_py.__all__
, but I want to check if I'm misunderstanding something obvious before I attempt a PR.
Reproducing Code Example
from scipy.integrate import ODEintWarning
Error message
ImportError: cannot import name 'ODEintWarning' from 'scipy.integrate' (C:\Anaconda3\lib\site-packages\scipy\integrate\__init__.py)
SciPy/NumPy/Python version information
1.9.3 1.23.4 sys.version_info(major=3, minor=9, micro=12, releaselevel='final', serial=0)
Metadata
Metadata
Assignees
Labels
defectA clear bug or issue that prevents SciPy from being installed or used as expectedA clear bug or issue that prevents SciPy from being installed or used as expectedscipy.integrate