Skip to content

Commit

Permalink
Increased numba version.
Browse files Browse the repository at this point in the history
  • Loading branch information
albop committed Apr 11, 2024
1 parent 2d20da5 commit 3899b76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
13 changes: 3 additions & 10 deletions interpolation/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,7 @@

from numba import __version__

if parse(__version__) >= parse("0.43"):
overload_options = {"strict": False}
else:
overload_options = {}
overload_options = {"strict": False}

if parse(__version__) >= parse("0.49"):
from numba.core.types import Array, Float, Integer
from numba.core.types import Tuple, UniTuple
else:
from numba.types import Array, Float, Integer
from numba.types.containers import Tuple, UniTuple
from numba.core.types import Array, Float, Integer
from numba.core.types import Tuple, UniTuple
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ license = "BSD-2-Clause"

[tool.poetry.dependencies]
python = ">=3.9"
numba = ">=0.57"
numba = ">=0.59.1"
scipy = "^1.10"

[tool.poetry.dev-dependencies]
Expand Down

0 comments on commit 3899b76

Please sign in to comment.