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: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. #357

Open
rmgoetz opened this issue Dec 6, 2023 · 0 comments

Comments

@rmgoetz
Copy link

rmgoetz commented Dec 6, 2023

Describe the bug
Importing pyntcloud with numba 0.57.0 (and ostensibly 0.58.0) as well gives the following warning (repeated three times):

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.

This is because of the three @njit decorators in pyntcloud/utils/numba.py which do not have an explicit nopython argument passed to them.

To Reproduce
Import pyntcloud with numba 0.57.0 installed.

Expected behavior
No deprecation warning

Desktop (please complete the following information):
Both Windows 10 and multiple linux distributions; should be OS agnostic.

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

1 participant