Skip to content

Commit 9307ae3

Browse files
committedApr 15, 2023
MAINT: Remove Numba < 0.49.0 support
1 parent 3ddb70d commit 9307ae3

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed
 

‎docs/rtd-requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sphinx
22
ipython
33
numpydoc
4-
numba>=0.38
4+
numba>=0.49
55
numpy>=1.17
66
sympy
77
scipy>=1.5

‎pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ keywords = [
2121
dynamic = ["description", "version"]
2222
requires-python = ">=3.7"
2323
dependencies = [
24-
'numba',
24+
'numba>=0.49.0',
2525
'numpy>=1.17.0',
2626
'requests',
2727
'scipy>=1.5.0',

‎quantecon/util/numba.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@
55
import numpy as np
66
from numba import jit, types
77
from numba.extending import overload
8-
try:
9-
from numba.np.linalg import _LAPACK # for Numba >= 0.49.0
10-
except ModuleNotFoundError:
11-
from numba.targets.linalg import _LAPACK # for Numba < 0.49.0
8+
from numba.np.linalg import _LAPACK
129

1310

1411
# BLAS kinds as letters

0 commit comments

Comments
 (0)
Please sign in to comment.