Skip to content

Commit 1fbd14a

Browse files
committed
MAINT: Remove Numba < 0.49.0 support
1 parent 9b7f7ef commit 1fbd14a

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

Diff for: 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

Diff for: 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',

Diff for: 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)