Skip to content

Impending Numba default argument value change #2

@realitychemist

Description

@realitychemist

When importing stemtool, numba raises the following warning (multiple 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.

The current Numba version is 0.58.0, and based on their previous release schedule I'd expect 0.59.0 within the next six months or so. My understanding is that this warning means that if there is any code in stemtool which is currently falling back to the python interpreter for function calls not supported supported by Numba, after 0.59.0 they will instead raise an error unless nopython is explicitly set to False.

I'm not sure if this will affect stemtool or not, but as there was no current open issue regarding this change it seemed like a good idea to open one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions