Update numba jitclass imports
See original GitHub issueHi! Thanks a lot for this package.
I’d like to raise the issue that Numba has changed the location of jitclass
. In the current version (0.49) we are getting a bunch of DeprecationWarnings, and from 0.50 this imports will fail. The new location is numba.experimental.jitclass.
C:\Users\\miniconda3\envs\litt-conda\lib\site-packages\fastparquet\encoding.py:222: NumbaDeprecationWarning: The 'numba.jitclass' decorator has moved to 'numba.experimental.jitclass' to better reflect the experimental nature of the functionality. Please update your imports to accommodate this change and see http://numba.pydata.org/numba-doc/latest/reference/deprecation.html#change-of-jitclass-location for the time frame.
Numpy8 = numba.jitclass(spec8)(NumpyIO)
C:\Users\\miniconda3\envs\litt-conda\lib\site-packages\fastparquet\encoding.py:224: NumbaDeprecationWarning: The 'numba.jitclass' decorator has moved to 'numba.experimental.jitclass' to better reflect the experimental nature of the functionality. Please update your imports to accommodate this change and see http://numba.pydata.org/numba-doc/latest/reference/deprecation.html#change-of-jitclass-location for the time frame.
Numpy32 = numba.jitclass(spec32)(NumpyIO)
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (7 by maintainers)
Top Results From Across the Web
Compiling Python classes with @jitclass - Numba
Numba supports code generation for classes via the numba.jitclass() decorator. ... from numba import jitclass, types, typed # key and value types kv_ty ......
Read more >Compiling Python classes with @jitclass
List explicitly as part of the spec passed to jitclass . First, using explicit Numba types and explicit construction. from numba import jitclass, ......
Read more >How to update a jitclass variable with its string name by ...
Here is a solution I came up with. I first wrote a function that return a list of the variable names I can...
Read more >Numba — Programming for Quantitative Economics
!pip install --upgrade quantecon ... import numpy as np import quantecon as qe import matplotlib.pyplot as plt ... from numba import jitclass, float64...
Read more >numba/numba - Gitter
Can't even get python to import numba ... installed it via pip, any ideas? ... Please upgrade your Python as Python 2.7 won't...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Done.
The version on conda-forge includes this fix