Skip to content

Commit 20854ee

Browse files
committed
Prefer older binary pip packages over newer pip packages
Save from having to compile Python 3.10 packages, and fixes installation issues for some libraries like `aiohttp` which have outdated pre-release versions.
1 parent c32e6c9 commit 20854ee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci_tests_dev.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ jobs:
9090
mamba install python=${{ matrix.python-version }} \
9191
ninja cmake libblas libcblas liblapack fftw libgdal \
9292
ghostscript libnetcdf hdf5 zlib curl pcre make
93-
pip install --pre numpy
94-
pip install --pre pandas xarray netCDF4 packaging \
95-
dvc geopandas ipython 'pytest>=6.0' pytest-cov \
96-
pytest-mpl sphinx-gallery tomli
93+
pip install --pre --prefer-binary \
94+
numpy pandas xarray netCDF4 packaging \
95+
dvc geopandas ipython 'pytest>=6.0' pytest-cov \
96+
pytest-mpl sphinx-gallery tomli
9797
9898
# Build and install latest GMT from GitHub
9999
- name: Install GMT ${{ matrix.gmt_git_ref }} branch (Linux/macOS)

0 commit comments

Comments
 (0)