python-libsbml
python-libsbml copied to clipboard
Deprecation warnings
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?
We are addressing this and our forthcoming release should sort out the issue.