-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fix import #57
Comments
It seems to be okay in #59? |
Well that uninstalls and then installs UM2N again. So maybe that fixes it, yeah. But could you please try it in the docker container as it is and see if you get the same error? |
Sorry, it was a long day. I started digging into this, will get back to it later in the week. I think there's an issue with dependencies. |
No worries, no rush at all from my side :) |
Potentially part of the fix for mesh-adaptation/UM2N#57.
Not strictly required for #57 but related work. `meshio` and `tensorboardX` are never actually used in the code. `torch` is used, but it should be installed for the desired architecture before attempting to install UM2N.
Closes #57. Linked PR: mesh-adaptation/docs#59. This PR sets up UM2N's CI to use the newly added bespoke Docker image. It also makes use of the reusable test workflow from the docs repo.
While looking at mesh-adaptation/docs#59,
I realised that thetest_import.py
test is not actually doing what it's meant to do.Edit: I opened a PR which I thought fixes it, but then realised the actual issue... When you do
python3 -m pytest tests/test_import.py
fromfiredrake/src/UM2N
, the test passes (as in the CI test suite). But it fails if you dopython3 -m pytest test_import.py
fromfiredrake/src/UM2N/tests
. The former also fails if you dopytest tests/test_import.py
.So I guess python path might not be set correctly during installation?
The text was updated successfully, but these errors were encountered: