Skip to content

Commit

Permalink
install "numpy<2" to avoid conflicts with opencv
Browse files Browse the repository at this point in the history
  • Loading branch information
dugalh committed Jun 17, 2024
1 parent 6261d9b commit aaaddad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run-unit-tests_conda-forge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
os: [ macos-latest, ubuntu-latest, windows-latest ]
python-version: ['3.9', '3.11', '3.12']
python-version: ['3.8', '3.11', '3.12']

steps:
- name: Check out repository
Expand All @@ -35,7 +35,7 @@ jobs:
- name: Install dependencies
run: |
conda info
conda install -c conda-forge rasterio opencv click tqdm pyyaml fsspec requests aiohttp pytest pytest-cov
conda install -c conda-forge rasterio opencv "numpy<2" click tqdm pyyaml fsspec requests aiohttp pytest pytest-cov
conda list
- name: Install OpenCV Linux dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-unit-tests_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest pytest-cov
python -m pip install rasterio opencv-python-headless click tqdm pyyaml fsspec requests aiohttp
python -m pip install rasterio opencv-python-headless "numpy<2" click tqdm pyyaml fsspec requests aiohttp
python -m pip list
- name: Lint with flake8
Expand Down

0 comments on commit aaaddad

Please sign in to comment.