econ-ark/HARK

ImportError: cannot import name 'generated_jit' from 'numba'

Closed this issue · 4 comments

These errors are showing up on the continuous integration tests:

 ImportError: cannot import name 'generated_jit' from 'numba' (/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/numba/__init__.py)

What's going on? What depends on Numba?

AzureMachineLearning.ipynb which uses IndShockConsumerTypeFast. Not widely used and we could remove from code base until we figure out what's going on with numba.

DecayInterp.ipynb which uses interpolation.py. This might be required by @Mv77 and his JMP.

The errors are below. All these files use interpolation.py

ERROR HARK/ConsumptionSaving/tests/test_IndShockConsumerTypeFast.py
ERROR HARK/ConsumptionSaving/tests/test_PerfForesightFastConsumerType.py
ERROR HARK/tests/test_dcegm.py
ERROR HARK/tests/test_econforgeinterp.py

EconForge/interpolation.py#110

Need to set numba < 0.59.0