Skip to content

Commit e92c0db

Browse files
authored
Conda install gmt dev version directly in one step instead of two (#1279)
See if the dependency resolver works better if we install GMT dev and NumPy et al. directly in one `conda install` step, instead of having a two step process.
1 parent 5125224 commit e92c0db

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci_docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ jobs:
6666
# Install GMT and other required dependencies from conda-forge
6767
- name: Install dependencies
6868
run: |
69-
conda install -c conda-forge/label/dev gmt=6.2.0rc1
70-
conda install numpy pandas xarray netCDF4 packaging \
69+
conda install conda-forge/label/dev::gmt=6.2.0rc1 \
70+
numpy pandas xarray netCDF4 packaging \
7171
ipython make myst-parser \
7272
sphinx sphinx-copybutton sphinx-gallery sphinx_rtd_theme
7373

.github/workflows/ci_tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ jobs:
8989
# Install GMT and other required dependencies from conda-forge
9090
- name: Install dependencies
9191
run: |
92-
conda install -c conda-forge/label/dev gmt=6.2.0rc1
93-
conda install numpy=${{ matrix.numpy-version }} \
92+
conda install conda-forge/label/dev::gmt=6.2.0rc1 \
93+
numpy=${{ matrix.numpy-version }} \
9494
pandas xarray netCDF4 packaging \
9595
${{ matrix.optional-packages }} \
9696
codecov coverage[toml] dvc ipython make \

0 commit comments

Comments
 (0)