alan-turing-institute / pixelflow

BSD 3-Clause "New" or "Revised" License
5 stars 4 forks source link

Fix Numba Deprecation Warning #28

Closed IFenton closed 1 year ago

IFenton commented 1 year ago

When I load pixelflow, I currently get the following warning:

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.

IFenton commented 1 year ago

This is fixed by installing the latest version of openpnm (3.2.0), which is one of the pixelflow dependencies. It doesn't need any changes to pixelflow though