Skip to content

Commit

Permalink
Update Sandbox image packages (#286)
Browse files Browse the repository at this point in the history
* Update packages

* Update env.yaml

* Update requirements.txt

* remove pygeos for compatibility

* update dive action

* Add xarray-spatial

---------

Co-authored-by: Emma Ai <[email protected]>
  • Loading branch information
robbibt and Emma Ai authored Jul 8, 2024
1 parent b3cb985 commit cead799
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/dive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ on:
env:
ORG: dea
IMAGE: dea-sandbox
DIVE: wagoodman/dive:v0.12.0
DOCKER_API: 1.37

jobs:
dive:
Expand Down Expand Up @@ -81,11 +83,11 @@ jobs:
sudo rm -rf ${GITHUB_WORKSPACE}/.git
- name: Dive
uses: yuichielectric/[email protected]
with:
image: ${{ env.ORG }}/${{ env.IMAGE}}:_build
config-file: ${{ github.workspace }}/dive-ci.yml
github-token: ${{ secrets.GITHUB_TOKEN }}
run: |
docker pull ${DIVE}
docker run -e CI=true -e DOCKER_API_VERSION=${DOCKER_API} --rm -v /var/run/docker.sock:/var/run/docker.sock \
--mount type=bind,source=${{ github.workspace }}/dive-ci.yml,target=/.dive-ci \
${DIVE} --ci-config /.dive-ci ${ORG}/${IMAGE}:_build
- name: Docker image size check
uses: wemake-services/docker-image-size-limit@master
Expand Down
13 changes: 8 additions & 5 deletions docker/env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ dependencies:
- libpq
- git
- wget
- curl
- unzip
- htop
- tmux
Expand Down Expand Up @@ -63,10 +64,10 @@ dependencies:
- frozenlist
- fsspec
- GeoAlchemy2
- geopandas
- geopandas<1.0.0
- greenlet
- HeapDict
- icu
- icu>=73.2
- idna
- imageio
- importlib-metadata
Expand Down Expand Up @@ -109,7 +110,7 @@ dependencies:
- pyproj
- pyrsistent
- pystac
- pystac-client
- pystac-client>=0.8.1
- pytest!=8.1.0
- python-dateutil
- python-rapidjson
Expand Down Expand Up @@ -174,15 +175,16 @@ dependencies:
- dask-ml
- pathos
- scikit-learn
- tensorflow>=2.10
- tensorflow>=2.16
- xgboost
- zarr
- bokeh=3.2.2
- descartes
- matplotlib
- seaborn
- pygeos
# - pygeos
- cmocean
- gcsfs
- geohash2
- geojson
- geopy
Expand All @@ -203,6 +205,7 @@ dependencies:
- urbanaccess
- contextily
- pyTMD<=2.1.0
- xarray-spatial
# jupyter things
- autopep8
- black
Expand Down
2 changes: 1 addition & 1 deletion docker/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ s2cloudmask
opencv-python-headless
opencv-contrib-python-headless

datacube[performance,s3] >= 1.8.17
datacube[performance,s3] >= 1.8.19
odc-algo @ git+https://github.com/opendatacube/odc-algo@b8dcfce
odc-cloud[ASYNC]
odc-dscache
Expand Down

0 comments on commit cead799

Please sign in to comment.