Skip to content

Commit 7676e83

Browse files
group install syntax in wfs
1 parent 82369ac commit 7676e83

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Install dependencies
2929
run: |
3030
python -m pip install --upgrade pip
31-
pip install .[strict,docs]
31+
pip install .[strict] --group docs
3232
3333
- name: Build
3434
run: sphinx-build docs docs_build

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run: |
3535
python -m pip install --upgrade pip
3636
pip install "setuptools==77.0.3"
37-
pip install .[strict,docs]
37+
pip install .[strict] --group docs
3838
3939
- name: Copy tutorials
4040
run: |

.github/workflows/testing.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
python -m pip install --upgrade pip
6868
mkdir -p ~/.abinit/pseudos
6969
cp -r tests/test_data/abinit/pseudos/ONCVPSP-PBE-SR-PDv0.4 ~/.abinit/pseudos
70-
uv pip install .[strict,strict-forcefields,tests,abinit,approxneb,aims]
70+
uv pip install .[strict,strict-forcefields,abinit,approxneb,aims] --group tests
7171
uv pip install torch-runstats torch_dftd
7272
uv pip install --no-deps nequip==0.5.6
7373
@@ -139,7 +139,7 @@ jobs:
139139
run: |
140140
micromamba activate a2
141141
python -m pip install --upgrade pip
142-
uv pip install .[strict-openff,tests]
142+
uv pip install .[strict-openff] --group tests
143143
144144
- name: Install pymatgen from master if triggered by pymatgen repo dispatch
145145
if: github.event_name == 'repository_dispatch' && github.event.action == 'pymatgen-ci-trigger'
@@ -201,7 +201,7 @@ jobs:
201201
run: |
202202
micromamba activate a2
203203
python -m pip install --upgrade pip
204-
uv pip install .[strict,tests,aims]
204+
uv pip install .[strict,aims] --group tests
205205
uv pip install tblite>=0.4.0
206206
207207
- name: Install pymatgen from master if triggered by pymatgen repo dispatch
@@ -271,7 +271,7 @@ jobs:
271271
python -m pip install --upgrade pip
272272
mkdir -p ~/.abinit/pseudos
273273
cp -r tests/test_data/abinit/pseudos/ONCVPSP-PBE-SR-PDv0.4 ~/.abinit/pseudos
274-
uv pip install .[strict,strict-forcefields,tests,abinit,aims]
274+
uv pip install .[strict,strict-forcefields,abinit,aims] --group tests
275275
uv pip install torch-runstats
276276
uv pip install --no-deps nequip==0.5.6
277277
@@ -319,7 +319,7 @@ jobs:
319319
- name: Install dependencies
320320
run: |
321321
python -m pip install --upgrade pip
322-
pip install .[strict,strict-forcefields,docs]
322+
pip install .[strict,strict-forcefields] --group docs
323323
324324
- name: Build
325325
run: sphinx-build docs docs_build

pyproject.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,19 @@ strict-forcefields = [
9595
"tensorflow-cpu==2.16.2",
9696
]
9797
strict = [
98-
"atomate2[strict-forcefields, docs, cclib, phonons, lobster, openmm, mp, defects, ase, ase-ext]",
98+
"atomate2[strict-forcefields, cclib, phonons, lobster, openmm, mp, defects, ase, ase-ext]",
9999
"numpy<2.0",
100100
]
101101

102+
[project.scripts]
103+
atm = "atomate2.cli:cli"
104+
105+
[project.urls]
106+
homepage = "https://materialsproject.github.io/atomate2/"
107+
repository = "https://github.com/materialsproject/atomate2"
108+
documentation = "https://materialsproject.github.io/atomate2/"
109+
changelog = "https://github.com/materialsproject/atomate2/blob/main/CHANGELOG.md"
110+
102111
[dependency-groups]
103112
dev = ["pre-commit>=4.5.1"]
104113
tests = [
@@ -124,15 +133,6 @@ docs = [
124133
"jupyterlab==4.5.0",
125134
]
126135

127-
[project.scripts]
128-
atm = "atomate2.cli:cli"
129-
130-
[project.urls]
131-
homepage = "https://materialsproject.github.io/atomate2/"
132-
repository = "https://github.com/materialsproject/atomate2"
133-
documentation = "https://materialsproject.github.io/atomate2/"
134-
changelog = "https://github.com/materialsproject/atomate2/blob/main/CHANGELOG.md"
135-
136136
[tool.setuptools.package-data]
137137
atomate2 = ["py.typed"]
138138
"atomate2.vasp.sets" = ["*.yaml"]

0 commit comments

Comments
 (0)