-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #61 from jorenham/stubtest/scipy.integrate
deal with deprecated `scipy.integrate` modules
- Loading branch information
Showing
7 changed files
with
73 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
from .base import DenseOutput, OdeSolver | ||
from .bdf import BDF | ||
from .common import OdeSolution | ||
from .ivp import solve_ivp | ||
from .lsoda import LSODA | ||
from .radau import Radau | ||
from .rk import DOP853, RK23, RK45 | ||
from .base import DenseOutput as DenseOutput, OdeSolver as OdeSolver | ||
from .bdf import BDF as BDF | ||
from .common import OdeSolution as OdeSolution | ||
from .ivp import solve_ivp as solve_ivp | ||
from .lsoda import LSODA as LSODA | ||
from .radau import Radau as Radau | ||
from .rk import DOP853 as DOP853, RK23 as RK23, RK45 as RK45 | ||
|
||
# NOTE: this __all__ does not exist at runtime | ||
__all__ = ["BDF", "DOP853", "LSODA", "RK23", "RK45", "DenseOutput", "OdeSolution", "OdeSolver", "Radau", "solve_ivp"] | ||
# NOTE: There is no `__all__` at runtime |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,4 @@ | ||
# This file is not meant for public use and will be removed in SciPy v2.0.0. | ||
from typing_extensions import Never, deprecated | ||
__all__ = ["lsoda"] | ||
|
||
__all__: list[Never] = [] | ||
|
||
@deprecated("will be removed in SciPy 2.0.0.") | ||
def __dir__() -> list[Never]: ... | ||
@deprecated("will be removed in SciPy 2.0.0.") | ||
def __getattr__(name: str) -> Never: ... # pyright: ignore[reportIncompleteStub] | ||
lsoda: object |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# This file is not meant for public use and will be removed in SciPy v2.0.0. | ||
from typing_extensions import Never, deprecated | ||
from typing_extensions import deprecated | ||
|
||
__all__: list[Never] = [] | ||
from ._odepack_py import odeint | ||
|
||
__all__ = ["ODEintWarning", "odeint"] | ||
|
||
@deprecated("will be removed in SciPy 2.0.0.") | ||
def __dir__() -> list[Never]: ... | ||
@deprecated("will be removed in SciPy 2.0.0.") | ||
def __getattr__(name: str) -> Never: ... # pyright: ignore[reportIncompleteStub] | ||
class ODEintWarning(Warning): ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# This file is not meant for public use and will be removed in SciPy v2.0.0. | ||
from typing_extensions import Never, deprecated | ||
from typing_extensions import deprecated | ||
|
||
__all__: list[Never] = [] | ||
from ._quadpack_py import dblquad, nquad, quad, tplquad | ||
|
||
@deprecated("will be removed in SciPy 2.0.0.") | ||
def __dir__() -> list[Never]: ... | ||
@deprecated("will be removed in SciPy 2.0.0.") | ||
def __getattr__(name: str) -> Never: ... # pyright: ignore[reportIncompleteStub] | ||
__all__ = ["IntegrationWarning", "dblquad", "nquad", "quad", "tplquad"] | ||
|
||
@deprecated("will be removed in SciPy v2.0.0") | ||
class IntegrationWarning(UserWarning): ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters