EconForge / interpolation.py

BSD 2-Clause "Simplified" License
125 stars 35 forks source link

"interp" not working with python 3.11 #103

Open flowerpower13 opened 1 year ago

flowerpower13 commented 1 year ago

"interp" not working with python 3.11

albop commented 1 year ago

what error message do you get ?

Mv77 commented 1 year ago

Installed the package on a 3.11 environment. I ran some tests without errors.

I do get the following warning: NumbaDeprecationWarning: numba.generated_jit is deprecated. Please see the documentation at: https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-generated-jit for more information and advice on a suitable replacement. warnings.warn(msg, NumbaDeprecationWarning)

The crux of the matter is that numba==0.57.0, released last week, is the earliest to support python 3.11. The issue is that this version also deprecates the @generated_jit decorator, which the package uses.