Skip to content

Commit

Permalink
pin numpy<2, setuptools<70
Browse files Browse the repository at this point in the history
  • Loading branch information
janosh committed Jun 21, 2024
1 parent a5f8b48 commit 3fc1cc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

- name: Install dependencies
run: |
uv pip install cython setuptools --system
uv pip install cython 'setuptools<70' --system
python setup.py build_ext --inplace
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license = { text = "Modified BSD" }
dependencies = [
"ase>=3.23.0",
"cython>=3",
"numpy>=1.26",
"numpy>=1.26,<2",
"nvidia-ml-py3>=7.352.0",
"pymatgen>=2023.10.11",
"torch>=1.11.0",
Expand Down Expand Up @@ -46,7 +46,7 @@ find = { include = ["chgnet*"], exclude = ["tests", "tests*"] }
"chgnet.pretrained" = ["*", "**/*"]

[build-system]
requires = ["Cython", "setuptools>=65.0", "wheel"]
requires = ["Cython", "setuptools>=65,<70", "wheel"]
build-backend = "setuptools.build_meta"

[tool.ruff]
Expand Down

0 comments on commit 3fc1cc1

Please sign in to comment.