python-libsbml icon indicating copy to clipboard operation
python-libsbml copied to clipboard

Deprecation warnings

Open Midnighter opened this issue 7 years ago • 1 comments

In cobrapy we obviously use python-libsbml quite a bit and when running our test suite with pytest we get thousands of deprecation warnings coming from libsbml. For anyone else coming across this issue, you can filter the warnings using

pytest -W ignore::DeprecationWarning:libsbml

or configure it

[pytest]
filterwarnings =
    ignore::DeprecationWarning:libsbml

However, I'm wondering if anything should be done about this because it seems a much used aspect of the Python interface will be deprecated soon?

Midnighter avatar Nov 30 '18 11:11 Midnighter

We are addressing this and our forthcoming release should sort out the issue.

skeating avatar Nov 30 '18 13:11 skeating