Closed IgorBaratta closed 1 year ago
@mscroggs could you take a look at this?
We should be using the Python logging and warnings system, instead of UFL's homemade one. Then we could suppress the warnings more easily.
We should be using the Python logging and warnings system, instead of UFL's homemade one. Then we could suppress the warnings more easily.
and turn deprecation warnings into error so we can find where the functions are called.
We should be using the Python logging and warnings system, instead of UFL's homemade one. Then we could suppress the warnings more easily.
I also started on this in https://github.com/FEniCS/ufl/tree/mscroggs/log
This warnings will be showing up after https://github.com/FEniCS/ufl/pull/131.
There were some functions that had comment stating that they should be made to give a deprecation warning, that I replaced with deprecation warnings. I'll take a look and work out which of these is causing this
Can this now be closed following #139?
I think so, the warnings are not showing up anymore.
Running ufl tests highlights the issue: