-
Notifications
You must be signed in to change notification settings - Fork 81
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
Bump to python 3.12 #1180
Bump to python 3.12 #1180
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1180 +/- ##
=======================================
Coverage 87.32% 87.32%
=======================================
Files 62 62
Lines 6525 6525
=======================================
Hits 5698 5698
Misses 827 827 ☔ View full report in Codecov by Sentry. |
Looks like the latest release of mdtraj on conda doesn't support python 3.12 on MacOS environments. There has been some activity on the mdtraj feedstock related to OSX and python 3.12 about 5 months ago. |
Adding some notes from the dev call. I think we can remove mdtraj as a dependency if we
|
After looking through some of the unit tests, I looks like using mdtraj for loading pdb's instead of parmed does have some benefits for setting the expected hierarchy of compounds? I think its worth considering before we clean up and condense the reader's in mbuild. |
I ran this script to look at the difference in hierachy of mbuid objects: import mbuild as mb
from mbuild.utils.io import get_fn
import parmed
protein1 = mb.load(get_fn("6m03.pdb"))
protein2 = mb.Compound()
protein2.from_parmed(parmed.load_file(get_fn("6m03.pdb"))
print(protein1.children)
print("#"*20)
print(protein1.children[0].children)
print("#"*20)
print(protein2.children) output
One of the huge issues here is that parmed doesn't add the hydrogens, so it looks like a single atom. The other issue is the containment of the compounds. Maybe we can adjust that using some of the condense/flatten mBuild methods as part of the writer. |
Well it also looks like |
We may be able to wait this out as mdtraj is close to full support for 3.12, which renders switching the backend to parmed from mdtraj moot. |
It looks like the MacOS and python 3.12 issue is fixed |
Have a flaky test with mac os 3.11 now. Something off with the pybel smiles string for a benzene ring. |
I think its the Ubuntu 3.11 test. Also, I think the Should we include both |
Here is the output of
|
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.
I think this is good to go.
PR Summary:
PR Checklist