Skip to content

Commit

Permalink
streamline python deps for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjohns-databricks committed Jan 5, 2024
1 parent 47cef69 commit 1f09809
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
11 changes: 0 additions & 11 deletions .github/actions/python_build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,8 @@ runs:
- name: Install python dependencies
shell: bash
run: |
# - update apt
sudo apt-add-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc)-backports main universe multiverse restricted"
sudo apt-add-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc)-updates main universe multiverse restricted"
sudo apt-add-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc)-security main multiverse restricted universe"
sudo apt-add-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main multiverse restricted universe"
sudo apt-get update -y
# - install natives
sudo apt-get install -y unixodbc libcurl3-gnutls libsnappy-dev libopenjp2-7
sudo apt-get install -y gdal-bin libgdal-dev python3-numpy python3-gdal
# - install pip libs
cd python
pip install --upgrade pip
pip install gdal==${{ matrix.gdal }}
pip install build wheel pyspark==${{ matrix.spark }}
pip install .
- name: Test and build python package
Expand Down
1 change: 1 addition & 0 deletions scripts/mosaic-gdal-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ then
sudo apt-get update -y

# - install natives
sudo apt-get install -y unixodbc libcurl3-gnutls libsnappy-dev libopenjp2-7
sudo apt-get install -y gdal-bin libgdal-dev python3-numpy python3-gdal

# - pip install gdal
Expand Down

0 comments on commit 1f09809

Please sign in to comment.