Skip to content

Commit

Permalink
python gdal must be installed in dist-packages of GH-provided pytho…
Browse files Browse the repository at this point in the history
…n interpreter
  • Loading branch information
sllynn committed Nov 16, 2023
1 parent 4fdf8cd commit 3393c10
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 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 @@ -11,7 +11,7 @@ runs:
shell: bash
run: |
cd python
pip install build wheel pyspark==${{ matrix.spark }} numpy==${{ matrix.numpy }}
pip install build wheel pyspark==${{ matrix.spark }} numpy==${{ matrix.numpy }} gdal==${{ matrix.gdal }}
pip install .
- name: Test and build python package
shell: bash
Expand Down
1 change: 0 additions & 1 deletion .github/actions/scala_build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ runs:
run : |
sudo apt-get update && sudo apt-get install -y unixodbc libcurl3-gnutls libsnappy-dev libopenjp2-7
pip install databricks-mosaic-gdal==${{ matrix.gdal }}
ls /opt/hostedtoolcache/Python/${{ matrix.python }}/x64/lib/python3.9/site-packages/databricks-mosaic-gdal/resources/gdal-${{ matrix.gdal }}-filetree.tar.xz
sudo tar -xf /opt/hostedtoolcache/Python/${{ matrix.python }}/x64/lib/python3.9/site-packages/databricks-mosaic-gdal/resources/gdal-${{ matrix.gdal }}-filetree.tar.xz -C /
sudo tar -xhf /opt/hostedtoolcache/Python/${{ matrix.python }}/x64/lib/python3.9/site-packages/databricks-mosaic-gdal/resources/gdal-${{ matrix.gdal }}-symlinks.tar.xz -C /
- name: Test and build the scala JAR - skip tests is false
Expand Down

0 comments on commit 3393c10

Please sign in to comment.