-
Notifications
You must be signed in to change notification settings - Fork 65
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
add packaging #910
add packaging #910
Conversation
oh this is very cool, just repeating to check i have understood the most recent versions of MOAB come with PyMoab that was causing a few installation issue. Consequently a few of us have stayed with MOAB 5.3.1 as the newest version that we have installed pymoab with. However adding My only question is should perhaps to this location which already appears to have a |
Your understanding is correct (with the minor variation that DAGMC briefly worked with newer MOAB versions on 22.04 until the most recent update broke it again). I am not sure how the Any ideas @pshriwise ? |
You can see a failure here: https://github.com/svalinn/DAGMC/actions/runs/6209143428/job/16856049951 |
CI/Dockerfile
Outdated
@@ -41,6 +41,7 @@ RUN apt-get -y update; \ | |||
python3 \ | |||
python3-pip \ | |||
python3-setuptools \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
setuptools and packaging are mentioned in the pyproject.toml of pymoab so ideally they would have been installed by python during the instal process.
I see adding them to the docker works which is great but I would be keen to understand why they are not being installed automatically like other build dependencies
I see it is running I also notice there is a requirements.txt file which somewhat doubles up on the pyproject.toml as well |
I wonder if it needs to use |
@shimwell is right, we can do away with the I'll submit a PR to MOAB shortly to fix this. |
MOAB PR cros-reference: https://bitbucket.org/fathomteam/moab/pull-requests/651 |
In the future, we would appreciate it if you can raise issues or submit PRs when something fails in DagMC due to MOAB. This will help keep the library up to date in general as workflows evolve. @shimwell In general, I do not recommend sticking to old versions unless absolutely necessary. |
We are trying to get out of the habit of pinning to old versions @vijaysm but bandwidth limitations sometimes put us there. It's often not a MOAB bug/issue, but important progress in MOAB or other dependencies that we don't have the bandwidth to adapt to. |
When this merges to MOAB/master, I can try our current test without this PR; if it works I'll withdraw this. |
CI/Dockerfile
Outdated
@@ -41,6 +41,7 @@ RUN apt-get -y update; \ | |||
python3 \ | |||
python3-pip \ | |||
python3-setuptools \ | |||
python3-packaging \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
python3-packaging \ |
shall we remove this and retrigger the CI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤞🏻
It looks like |
we might be able to remove these from the dockerfile as well
|
This adds the python
packaging
module to support updated pymoab installation in MOABmaster
branch.Successful testing is demonstrated here.