Skip to content

Commit

Permalink
Update dependency pinning
Browse files Browse the repository at this point in the history
  • Loading branch information
PicoCentauri committed Feb 6, 2025
1 parent ddff22b commit 58adfe4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ keywords = [
license = {text = "BSD-3-Clause"}
name = "torch-pme"
readme = "README.rst"
requires-python = ">=3.9"
requires-python = ">=3.9,<3.13"

[project.optional-dependencies]
examples = [
Expand All @@ -50,6 +50,7 @@ examples = [
"matplotlib",
"metatensor-operations",
"scipy",
"torch < 2.6", # vesin requires this pinning
"vesin >= 0.3.0",
"vesin-torch >= 0.3.0",
]
Expand Down
1 change: 1 addition & 0 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ pytest
pytest-cov
pytest-doctestplus
scipy
torch < 2.6 # limit version in tests due to vesin
vesin >= 0.3.0
vesin[torch] >= 0.3.0

0 comments on commit 58adfe4

Please sign in to comment.