Run tutorials and tests in CI#35
Conversation
124869d to
ac6c5ce
Compare
|
@mgt16-LANL I force-pushed and reset the workflow approval :( Please reapprove when you get the chance! |
Done! @orionarcher ! |
|
@mgt16-LANL, hmm, this time I did not force-push but approvals are still required again. You may have to modify something on the repo settings or on my permissions for me to be able to iterate on this testing PR. Any solution would be appreciated! |
|
@orionarcher - Let's fully depricate the xtb-python package. I wrote the CLI ASE class as bypass and don't want the headache of trying to continue to interface with an unsupported package (I'll take care of this). If the cli class is throwing errors I should update that ASE class. Also - is torch-dftd required for the base architector package? I'd prefer keeping non-required MLIP packages separate from the architector requirements. |
|
@mgt16-LANL -
The setup.py (or pyproject.toml) could also have optional dependency sets for different use cases. |
|
@orionarcher - do you know how to update the .github/workflows/deploy.yml to work with pyproject.toml? I'm a bit unfamiliar with the distribution. Still working on tracking down just why this is failing in CI without xtb-python when it works on all my different machines locally... |
Oop just saw your commit, let me take a look and see if I can get the release and everything else working with the
I can also do some investigating here. On my machine I think I installed xtb-python. |
|
@orionarcher Think i finally fixed all the issues by pinning xtb version higher and a few code tweaks. Happy to merge when the pypi deployment works :). |
|
@mgt16-LANL, done! Last thing, are there are particular python versions that you are aiming to support? If so, we could iterate over those in testing. If you didn't have something in mind, I'd advocate for python 3.11-3.13 since numpy recently dropped 3.10 support. EDIT: taking a moment to clean up the dependencies in testing |
Keep in conda (required): - openbabel (C++ bindings) - crest (CLI) - xtb>6.5 (CLI) - tblite-python (Fortran) - jupytext (needed before pip install) Install via pip from pyproject.toml: - Core deps: ase, numpy, scipy, etc. - Optional: mace, dftd, tutorials
This reverts commit 537c656.
I would love to support python 3.11-3.13! |
The conda py3Dmol package depends on ipython, but pip py3Dmol doesn't. Adding ipython to [tutorials] optional deps fixes the headless CI issue. Conda (required): - openbabel (C++ bindings) - crest (CLI) - xtb>6.5 (CLI) - tblite-python (Fortran) - jupytext (needed before pip install) Pip via pyproject.toml: - Core deps + [mace,dftd,tutorials]
|
Ok! I think this is now working. I just added 3.11 and 3.12 because 3.13 isn't supported by OpenBabel yet. Good to merge in my opinion! |
No description provided.