Skip to content

Deprecation warnings #7

Open
Open
@Midnighter

Description

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions