Skip to content

Split ase integration into a separate metatomic-ase package#177

Open
Luthaf wants to merge 1 commit intometatensor:mainfrom
Luthaf:split-ase
Open

Split ase integration into a separate metatomic-ase package#177
Luthaf wants to merge 1 commit intometatensor:mainfrom
Luthaf:split-ase

Conversation

@Luthaf
Copy link
Member

@Luthaf Luthaf commented Mar 10, 2026

As we add more and more integrations to Python engines (see #167), we don't want to have to release the main metatomic package for every bug fix that only impacts one of the engine.

Toward this goal, this PR splits the ASE integration into it's own package, metatomic-ase. For backward compatibility, we add a dependency on metatomic-ase in metatomic-torch, and re-export the calculators at the same path.

Still TBD:

  • update [project.urls] in pyproject.toml
  • write a Readme for the new package

Contributor (creator of pull-request) checklist

  • Tests updated (for new features and bugfixes)?
  • Documentation updated (for new features)?
  • Issue referenced (for PRs that solve an issue)?

Reviewer checklist

  • CHANGELOG updated with public API or any other important changes?

@Luthaf Luthaf requested review from HaoZeke and frostedoyster March 10, 2026 13:51
@Luthaf Luthaf force-pushed the split-ase branch 2 times, most recently from 90a9d5e to 2f2e349 Compare March 11, 2026 10:05
@PicoCentauri
Copy link
Contributor

Shouldn't we maybe put this into a new repo?

@HaoZeke
Copy link
Member

HaoZeke commented Mar 11, 2026

Shouldn't we maybe put this into a new repo?

This discussion we had a while back IRL, we're basically going monorepo a la metatensor :D

@Luthaf
Copy link
Member Author

Luthaf commented Mar 11, 2026

My argument was that this is a small package, and we need to re-export it from metatomic-torch for backward compatibility reasons, so for now it's easier to have it in the same repo; and if it becomes an issue down the line we can always split it into its own repo (like metatomic was split out of metatensor.torch.atomistic ~9 months ago)

@Luthaf Luthaf force-pushed the split-ase branch 3 times, most recently from 56da4dc to 0044da1 Compare March 11, 2026 17:58
@Luthaf Luthaf marked this pull request as ready for review March 11, 2026 18:17
HaoZeke added a commit to CompRhys/metatomic that referenced this pull request Mar 16, 2026
Replace hatchling/hatch-vcs with setuptools for building metatomic-torchsim.
This aligns with the build system used in metatomic-torch (PR metatensor#177).

Changes:
- Add setup.py with custom version generation from git tags
- Update pyproject.toml to use setuptools.build_meta
- Remove hatchling/hatch-vcs from tox.ini test dependencies
- Add VERSION file with base version number
@Luthaf Luthaf force-pushed the split-ase branch 2 times, most recently from 4841cbb to 4c27f0a Compare March 17, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants