Skip to content

Commit 76b5ea3

Browse files
Jeffrey WhitakerJeffrey Whitaker
authored andcommitted
add mpi4py optional dependency in pyproject.toml
1 parent 44594ba commit 76b5ea3

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/build_latest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
run: |
7070
export PATH=${NETCDF_DIR}/bin:${PATH}
7171
export NETCDF_PLUGIN_DIR=${{ github.workspace }}/netcdf-c-${NETCDF_VERSION}/plugins/plugindir
72-
python -m pip install .
72+
python -m pip install .[mpitest]
7373
- name: Test
7474
run: |
7575
export PATH=${NETCDF_DIR}/bin:${PATH}

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ tests = [
4747
"pytest",
4848
]
4949

50+
[dependency-groups]
51+
mpitest = ["mpi4py"]
52+
5053
[project.readme]
5154
text = """\
5255
netCDF version 4 has many features not found in earlier versions of the library,

0 commit comments

Comments
 (0)