Skip to content

Add PETSc to requirements-git.txt#2065

Merged
dham merged 3 commits into
masterfrom
connorjward/fix-requirements-file
May 11, 2021
Merged

Add PETSc to requirements-git.txt#2065
dham merged 3 commits into
masterfrom
connorjward/fix-requirements-file

Conversation

@connorjward

Copy link
Copy Markdown
Contributor

This fixes an install issue where these were removed from PyOP2 in
OP2/PyOP2#617.

This fixes an install issue where this was removed from PyOP2 in
OP2/PyOP2#617.
@connorjward connorjward force-pushed the connorjward/fix-requirements-file branch from 3959aa0 to 8efa563 Compare May 11, 2021 10:50
@connorjward connorjward changed the title Add PETSc and petsc4py to requirements-ext.git Add PETSc to requirements-git.txt May 11, 2021
@wence-

wence- commented May 11, 2021

Copy link
Copy Markdown
Contributor

I think that looks right. Does firedrake-install get past the error that one has on master now?

@connorjward

Copy link
Copy Markdown
Contributor Author

Yes it does

@connorjward

Copy link
Copy Markdown
Contributor Author

But we might now hit the same issue with petsc4py not being explicitly listed

@connorjward

Copy link
Copy Markdown
Contributor Author

We are now getting ModuleNotFoundError: No module named 'petsc4py'. Shall I just include the additional line in the requirements-git.txt file even though it's nonsense? I can add an issue so we don't forget to fix this at a later time.

@wence-

wence- commented May 11, 2021

Copy link
Copy Markdown
Contributor

We are now getting ModuleNotFoundError: No module named 'petsc4py'. Shall I just include the additional line in the requirements-git.txt file even though it's nonsense? I can add an issue so we don't forget to fix this at a later time.

Maybe just before the line that does packages += ["firedrake"] do packages.append("petsc4py") ?

In order for PyOP2 to install it needs to be installed AFTER petsc4py.
@connorjward

Copy link
Copy Markdown
Contributor Author

This now builds. Can we merge it?

@dham dham merged commit eada709 into master May 11, 2021
@dham dham deleted the connorjward/fix-requirements-file branch May 11, 2021 15:12
connorjward added a commit that referenced this pull request May 12, 2021
This is essentially the same as #2065
but fixes firedrake-update.
sv2518 pushed a commit that referenced this pull request May 12, 2021
This is essentially the same as #2065
but fixes firedrake-update.
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