equinor / komodoenv

Komodoenv is the virtualenv of the Komodo world
GNU General Public License v3.0
1 stars 3 forks source link

Pytest fails when filterwarnings are present in configuration #8

Closed oyvindeide closed 2 years ago

oyvindeide commented 3 years ago

Tested with komodo version 2020.08.00-py36, steps to reproduce:

Create a minimal test, test_minimal.py:

import pandas

def test_something_simple():
    pass

Create pytest.ini:

[pytest]
filterwarnings =
    error

Fails with:

RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject

pinkwah commented 2 years ago

It seems that this is a numpy version issue that is most likely resolved or resolvable. Reopen if this is still an issue.