Skip to content

Commit

Permalink
Merge branch 'materialsvirtuallab:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
kenko911 authored Aug 14, 2024
2 parents a4de37b + b392449 commit bdb5ee0
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --quiet -r requirements-ci.txt
pip install --quiet ruff mypy black
- name: ruff
run: |
ruff --version
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
env:
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION: "python"
PMG_MAPI_KEY: ${{ secrets.PMG_MAPI_KEY }}
DGLBACKEND: "pytorch"

steps:
- uses: actions/checkout@v3
Expand All @@ -37,8 +38,7 @@ jobs:
cache-dependency-path: '**/requirements.txt'
- name: Install dependencies
run: |
pip install --quiet -r requirements.txt -r requirements-ci.txt
pip install -e .
pip install -e '.[ci]'
- name: pytest
run: |
pytest --cov=matgl tests --color=yes
Expand Down
13 changes: 9 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,20 @@ classifiers = [
]
dependencies = [
"ase",
"dgl>=2.0.0",
"dgl<=2.1.0",
"pymatgen",
"lightning",
"torch",
"lightning<=2.4.0",
"torch<=2.2.1",
"pydantic",
"torchdata<0.8.0"
"torchdata<=0.7.1",
"boto3",
"numpy<2.0.0"
]
version = "1.1.3"

[project.optional-dependencies]
ci = ["pytest-cov", "pytest", "coverage"]

[project.scripts]
mgl = "matgl.cli:main"

Expand Down
9 changes: 0 additions & 9 deletions requirements-ci.txt

This file was deleted.

14 changes: 7 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
dgl==2.1.0
torch==2.2.1
lightning==2.2.5
pymatgen==2024.5.1
torch==2.4.0
lightning==2.4.0
pymatgen==2024.8.9
ase==3.23.0
pydantic==2.7.1
torchdata==0.7.1
boto3==1.34.101
pydantic==2.8.2
torchdata==0.8.0
boto3==1.34.159
numpy==1.26.4
sympy==1.12.1
sympy==1.13.2

0 comments on commit bdb5ee0

Please sign in to comment.