Closed ma-sadeghi closed 1 year ago
Hi Amin,
It's always good to hear about these issues. A few places in the chemicals/thermo/ht test suites also fail with the NUMBA_DISABLE_JIT=1 environmental variable set. It's fairly confusing that any numba functions in my software work with that setting at all though; I create each function with the numba.njit
decorator.
I found that I could disable those specific tests with the following pytest decorator:
jit_disabled = os.environ.get('NUMBA_DISABLE_JIT') == '1'
@pytest.mark.skipif(jit_disabled, reason='NUMBA JIT is disabled')
def your_test():
Unfortunately I'm not able to get to the bottom of what is going on. I believe numba is dropping this feature entirely in the November release.
Thanks! I just disabled the failing tests.
Describe the bug When operating in no-JIT mode, we get the following error:
Minimal Reproducible Example This happened during our automated tests, please see here. Here's the log: