Comments (8)
@mscroggs could you take a look at this?
from ufl.
We should be using the Python logging and warnings system, instead of UFL's homemade one. Then we could suppress the warnings more easily.
from ufl.
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.
from ufl.
https://github.com/FEniCS/ufl/tree/chris/python-warnings
from ufl.
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
from ufl.
This warnings will be showing up after #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
from ufl.
Can this now be closed following #139?
from ufl.
I think so, the warnings are not showing up anymore.
from ufl.
Related Issues (20)
- Update tests to not use legacy features
- Fix warnings when building documentation
- Add typing and enable mypy checks
- Set tsfc branch to master
- Remove elements in ufl.legacy
- I/O of `ufl` forms HOT 2
- ufl.constantvalue.as_ufl should use the numbers hierarchy HOT 1
- Move CI tests from pydocstyle to ruff
- Update docstrings including bullet points
- manpages provided but no utility scripts
- ConstantValue and Parameter HOT 3
- Form should have a quadrature rule
- Use `cache` instead of `lru_cache` once minimum python version is >=3.9 HOT 1
- Replace multifunctions with class methods HOT 8
- Add Numpy-like functions HOT 1
- extract_domains does the wrong thing with interpolate.
- `ufl.extract_blocks` is broken for `MixedElement` HOT 9
- Tab completion is not working with the default python interpreter
- ufl.TrialFunction uses deprecated method
- Remove quadrature schemes from metadata
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ufl.