-
Notifications
You must be signed in to change notification settings - Fork 19
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 GAFF test (and GAFF skips) to CI #847
Conversation
|
Okay so it works, as in this test is asking for gaff, so we expect it to fail, but we should be getting this error message:
|
so need to do some work in openmmff, once we get the error we expect I will mark test tests as xfail |
wooo it works! |
I will use this PR to fix the CI so we do test gaff, but skip it on envs where we can't run the gaff tests |
Okay as part of the big openmmforcefeilds (OMMFF) dust up of 2024, we only can use GAFF with ambertools 22 on python 3.10 for reasons so what we need to do is skip the GAFF tests if we are dealing with non-ambertools 22, since only with ambertools 22 do we support GAFF, because of how our packaging works, OMMFF=0.12.0 is the version we need. So the plan is for python 3.10 tests, we test OMMFF=0.12.0, which should let us test GAFF, and on the other python versions we pull in OMFF=0.13.0 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #847 +/- ##
==========================================
- Coverage 93.09% 92.28% -0.81%
==========================================
Files 134 134
Lines 9708 9804 +96
==========================================
+ Hits 9038 9048 +10
- Misses 670 756 +86
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Also dropping python 3.9 from test matrix |
also adding an osx arm test |
Okay so osx-arm will have to go until I can get an arm build for I don't want to push any changes until the other tests get a chance to run |
Hmm, getting
If I print out Any ideas @IAlibay or @hannahbaumann ? |
Co-authored-by: Hannah Baumann <[email protected]>
Good idea @hannahbaumann for re-naming that variable |
Once this gets merged in we can add osx-arm to the tests conda-forge/citeproc-py-feedstock#9 |
Should I name the gaff test something different? I am worried we might get confused later |
Maybe? I'm not sure what would be better. |
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.
This looks good, just a couple of questions - I'll approve early.
@@ -37,10 +37,10 @@ jobs: | |||
os: ["ubuntu-latest"] | |||
pydantic-version: [">1"] | |||
python-version: | |||
- "3.9" |
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.
Are we definitely dropping 3.9 now? What's stopping us from going 3.12? (I thought it was AmberTools but that might not be the case with these changes?)
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.
If we are are following https://scientific-python.org/specs/spec-0000/ then we are good to drop it.
That's a good question about 3.12, I'll open a PR and test if we can solve a 3.12 env.
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.
testing here #850
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.
looks like pymbar 3.x needs a py 3.12 build https://github.com/OpenFreeEnergy/openfe/actions/runs/9033924083/job/24825299591?pr=850
I can do this, but given #833 and choderalab/pymbar#419 (comment) I think we can move to pymbar 4 soon, thoughts?
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.
Let's aim to get pymbar support done before the next release and temporarily shorten our support range.
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.
Ah wait so it did work out in the end?
I didn't get an error so the test might not be doing what we think it does, can you link it? |
Hello @mikemhenry! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2024-05-10 22:03:51 UTC |
I can't easily add a custom name without adding something to all the CI strings, I vote until it is an issue, we just leave the 2 python 3.10 named tests and we can fix it when it becomes a problem |
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.
Thanks @mikemhenry !
Checklist
news
entryDevelopers certificate of origin