| 1 |
dolfin (2019.2.0~legacy20230609.8b85e9d.ar-1) unstable; urgency=medium |
| 2 |
|
| 3 |
* UFL 2023 is no longer compatible with legacy dolfin. The last |
| 4 |
compatible UFL version 2022 is now provided separately as |
| 5 |
ufl_legacy (python3-ufl-legacy). dolfin now uses ufl_legacy. |
| 6 |
Depending on how you use dolfin and ufl, you may need to update |
| 7 |
scripts, e.g. replace |
| 8 |
import ufl |
| 9 |
with |
| 10 |
import ufl_legacy as ufl |
| 11 |
or replace |
| 12 |
from ufl import FunctionSpace |
| 13 |
with |
| 14 |
from ufl_legacy import FunctionSpace |
| 15 |
If you use ufl classes from the dolfin namespace rather than the ufl |
| 16 |
namespace, for instance `from dolfin import *; V=FunctionSpace(mesh,el)` |
| 17 |
rather than `import ufl; V=ufl.FunctionSpace(mesh,el)`, then no code |
| 18 |
changes should be needed. |
| 19 |
|
| 20 |
-- Drew Parsons <[email protected]> Sun, 25 Jun 2023 10:37:03 +0200 |