Skip to content

Conversation

@minrk
Copy link
Contributor

@minrk minrk commented Oct 6, 2023

prevents failure to import dolfinx.mesh in Python 3.8 due to the use of tuple[...], which requires Python 3.9. Since this is in an annotation, deferring annotation evaluation via the annotations __future__ ought to work, as is done in some other files already.

This suggests that there aren't CI jobs to verify that dolfinx builds and then imports with Python 3.8, I think?

testing in conda-forge/fenics-dolfinx-feedstock#47 if you want to wait for that to confirm this is sufficient.

prevents failure to import in Python 3.8
@minrk
Copy link
Contributor Author

minrk commented Oct 6, 2023

fwiw, a local build with Python 3.8 for mac-arm worked fine with this patch. conda-forge/fenics-dolfinx-feedstock#47 may take an hour or two to finish.

@minrk
Copy link
Contributor Author

minrk commented Oct 6, 2023

conda-forge/fenics-dolfinx-feedstock#47 passed with this and #2810

@jhale jhale added this pull request to the merge queue Oct 6, 2023
Merged via the queue into FEniCS:main with commit 29a86c4 Oct 6, 2023
jhale pushed a commit that referenced this pull request Oct 10, 2023
prevents failure to import in Python 3.8

Co-authored-by: Garth N. Wells <gnw20@cam.ac.uk>
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.

3 participants