Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NumbaDeprecationWarning #5

Open
ccagrawal opened this issue Jun 18, 2023 · 1 comment
Open

NumbaDeprecationWarning #5

ccagrawal opened this issue Jun 18, 2023 · 1 comment

Comments

@ccagrawal
Copy link

With numba 0.57.0, I get the following error

/env/lib/python3.10/site-packages/py_lets_be_rational/numba_helper.py:10: NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
  return jit(*jit_args, **jit_kwargs)(fun)

In the maybe_jit function, a default value can be added to jit_kwargs to fix this.

@alexandercommon
Copy link

This is extremely annoying, it would be nice to fix this. How hard is it to put in a nopython argument?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants