Skip to content

Commit

Permalink
updated build action to "install" dependencis using python package se…
Browse files Browse the repository at this point in the history
…tup script
  • Loading branch information
sllynn committed Nov 29, 2024
1 parent 5306ad7 commit c372ae8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/actions/scala_build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ runs:
- name: Add packaged GDAL dependencies
shell: bash
run : |
sudo dpkg -i python/mosaic/gdal/gdal_3.10.0-1_amd64.deb || :
sudo apt-get update && sudo apt-get install -f -y
sudo dpkg -i python/mosaic/gdal/gdal_3.10.0-1_amd64.deb
sudo dpkg -L gdal
sudo apt-get install -y python3-numpy zip unzip
cd python && pip install .
# sudo dpkg -i python/mosaic/gdal/gdal_3.10.0-1_amd64.deb || :
# sudo apt-get update && sudo apt-get install -f -y
# sudo dpkg -i python/mosaic/gdal/gdal_3.10.0-1_amd64.deb
# sudo dpkg -L gdal
# sudo apt-get install -y python3-numpy zip unzip
- name: Test and build the scala JAR - skip tests is false
if: inputs.skip_tests == 'false'
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion python/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ install_requires =
h3<4.0,>=3.7
ipython<8.11,>=7.4.2
keplergl==0.3.2
numpy<2.0,>=1.21.5
numpy<2.0,>=1.23.5

[options.package_data]
mosaic =
Expand Down

0 comments on commit c372ae8

Please sign in to comment.