Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,13 @@ addopts = [
"-v",
]
testpaths = ["tests"]

[tool.uv]
# make these dependencies mutually exclusive since they use incompatible e3nn versions
# see https://docs.astral.sh/uv/concepts/projects/config/#conflicting-dependencies for more details
conflicts = [
[{ extra = "mace" }, { extra = "mattersim" }],
[{ extra = "mattersim" }, { extra = "graphpes" }],
[{ extra = "sevenn" }, { extra = "graphpes" }],
[{ extra = "mace" }, { extra = "sevenn" }],
Comment on lines +154 to +157

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there anyway to automatically get these ?

(base) ➜  torch-sim git:(test-stress) uv lock
  × No solution found when resolving dependencies for split (python_full_version >= '3.12' and sys_platform == 'win32'):
  ╰─▶ Because torch-sim-atomistic[mattersim] depends on mattersim and mattersim>=1.1.0 depends on e3nn>=0.5.0, we can conclude
      that e3nn<0.5.0, mattersim!=1.0.0, torch-sim-atomistic[mattersim] are incompatible.
      And because mattersim==1.0.0 depends on e3nn==0.5.0 and graph-pes>=0.0.34 depends on e3nn==0.4.4, we can conclude that
      graph-pes>=0.0.34 and torch-sim-atomistic[mattersim] are incompatible.
      And because only the following versions of graph-pes are available:
          graph-pes<=0.0.34
          graph-pes==0.0.35
          graph-pes==0.0.36
          graph-pes==0.1.0
          graph-pes==0.1.1
      and torch-sim-atomistic[graphpes] depends on graph-pes>=0.0.34, we can conclude that torch-sim-atomistic[graphpes] and
      torch-sim-atomistic[mattersim] are incompatible.
      And because your project requires torch-sim-atomistic[graphpes] and torch-sim-atomistic[mattersim], we can conclude that
      your project's requirements are unsatisfiable.

running uv lock only seems to give the first one it encounters

]