Skip to content

Commit

Permalink
numpy install mods.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjohns-databricks committed Jan 4, 2024
1 parent 075a9e5 commit b5cbf6e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/actions/python_build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ runs:
shell: bash
run: |
cd python
pip install build wheel pyspark==${{ matrix.spark }} numpy~=${{ matrix.numpy }}
pip install build wheel pyspark==${{ matrix.spark }}
pip install --no-cache-dir --force-reinstall numpy~=${{ matrix.numpy }}
pip install GDAL[numpy]==${{ matrix.gdal }}
pip install .
- name: Test and build python package
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/scala_build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ runs:
sudo apt-get update -y
# - install numpy first
pip install --upgrade pip
pip install --force-reinstall numpy~=${{ matrix.numpy }}
pip install --no-cache-dir --force-reinstall numpy~=${{ matrix.numpy }}
# - install natives
sudo apt-get install -y unixodbc libcurl3-gnutls libsnappy-dev libopenjp2-7
sudo apt-get install -y gdal-bin libgdal-dev
Expand Down
4 changes: 2 additions & 2 deletions scripts/mosaic-gdal-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ then
# - install specific numpy version
# - install scipy version (dep conflict)
pip install --upgrade pip
pip install --force-reinstall "numpy$NUMPY_VERSION"
pip install --force-reinstall "scipy$SCIPY_VERSION"
pip install --no-cache-dir --force-reinstall "numpy$NUMPY_VERSION"
pip install --no-cache-dir --force-reinstall "scipy$SCIPY_VERSION"

# - install natives
sudo apt-get install -y gdal-bin libgdal-dev
Expand Down

0 comments on commit b5cbf6e

Please sign in to comment.