Skip to content

Commit

Permalink
apt install python3-gdal (reverted).
Browse files Browse the repository at this point in the history
  • Loading branch information
mjohns-databricks committed Jan 4, 2024
1 parent b5cbf6e commit 1ff7fe8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions/python_build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ runs:
run: |
cd python
pip install build wheel pyspark==${{ matrix.spark }}
pip install --no-cache-dir --force-reinstall numpy~=${{ matrix.numpy }}
pip install numpy~=${{ matrix.numpy }}
pip install GDAL[numpy]==${{ matrix.gdal }}
pip install .
- name: Test and build python package
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/scala_build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ runs:
sudo apt-get update -y
# - install numpy first
pip install --upgrade pip
pip install --no-cache-dir --force-reinstall numpy~=${{ matrix.numpy }}
pip install 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
sudo apt-get install -y gdal-bin libgdal-dev python3-gdal
# - install gdal with numpy
pip install GDAL[numpy]>=${{ matrix.gdal }}
# - add the so files
Expand Down
2 changes: 1 addition & 1 deletion scripts/mosaic-gdal-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ then
pip install --no-cache-dir --force-reinstall "scipy$SCIPY_VERSION"

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

# - install gdal with numpy
pip install GDAL[numpy]==$GDAL_VERSION
Expand Down

0 comments on commit 1ff7fe8

Please sign in to comment.