Skip to content

Commit

Permalink
I think this is actually the bug
Browse files Browse the repository at this point in the history
  • Loading branch information
levkk committed May 16, 2020
1 parent 16e082e commit 655c6d0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions librosa/util/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
'''Helpful tools for deprecation'''

import warnings
from packaging import version
from decorator import decorator
import numba
if version.parse(numba.__version__) < version.parse('0.49.0'):
if numba.__version__ < '0.50.0':
from numba.decorators import jit as optional_jit
else:
from numba.core.decorators import jit as optional_jit
Expand Down

0 comments on commit 655c6d0

Please sign in to comment.