Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove usage of deprecated functions from the source code and testing #139

Merged
merged 14 commits into from
Jan 4, 2023

Conversation

jorgensd
Copy link
Sponsor Member

@jorgensd jorgensd commented Dec 23, 2022

Linked to: #132

This PR makes sure that no deprecation warnings are hit by tests, i.e.
python…3 -m pytest -W error::DeprecationWarning -xvs . passes.

This only resolves the changes for FFCx/DOLFINx pipeline, and TSFC/Firedrake would have to systematically go through their code to avoid calling deprecated functions. The failing tests: https://github.com/FEniCS/ufl/actions/runs/3766640944/jobs/6403360685 indicates that most places in TSFC needs to change from the deprecated function

…3 -m pytest -W error::DeprecationWarning -xvs .` passes
ufl/core/expr.py Outdated Show resolved Hide resolved
ufl/core/expr.py Outdated Show resolved Hide resolved
garth-wells added a commit to FEniCS/ffcx that referenced this pull request Dec 24, 2022
* Make sure that we hit no deprecation warnings.
Linked to FEniCS/ufl#139

* More removal of ufl_domain

* Fix valuenumbering

* Small change to improve readability

Co-authored-by: Garth N. Wells <gnw20@cam.ac.uk>
@mscroggs
Copy link
Member

mscroggs commented Jan 3, 2023

Now that those other two PRs are merged, is this ready for the ffcx and dolfinx branches to be reverted to main?

@jorgensd
Copy link
Sponsor Member Author

jorgensd commented Jan 4, 2023

Should we merge this, as it does not break anything, as is currently a blocker for a new DOLFINxrelease according to @garth-wells

@mscroggs mscroggs merged commit 6d84d0e into main Jan 4, 2023
@mscroggs mscroggs deleted the dokken/remove-deprecations-from-source branch January 4, 2023 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants