Skip to content

Commit

Permalink
Merge branch 'develop' into merge_nci_modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Ariana-B authored Jun 26, 2024
2 parents d5fec89 + f40b1e8 commit 9ecb1d2
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ jobs:
uses: wemake-services/docker-image-size-limit@master
with:
image: ${{ env.ORG }}/${{ env.IMAGE}}:_build
size: "7 GiB"
size: "8 GiB"
6 changes: 3 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mambaorg/micromamba:git-e4f55ab-jammy as sandbox-conda
FROM mambaorg/micromamba:git-df79b72-jammy as sandbox-conda

USER root
COPY env.yaml /conf/
Expand All @@ -16,7 +16,7 @@ ENV CC=/env/bin/x86_64-conda_cos6-linux-gnu-gcc \
RUN micromamba run -p /env pip install --no-cache-dir \
--no-build-isolation -r /conf/requirements.txt

FROM ubuntu:jammy-20230816
FROM ubuntu:jammy-20240212

ARG nb_user=jovyan
ARG nb_uid=1000
Expand All @@ -38,7 +38,7 @@ ENV LC_ALL=C.UTF-8 \
USER $nb_user
# NOTE - JupyterLab extensions can now be distributed as prebuilt extensions and available to PyPI
RUN echo "Enable jupyter lab extensions" \
&& jupyter labextension install jupyterlab-theme-toggle \
&& jupyter labextension install jupyterlab-topbar-extension jupyterlab-theme-toggle \
&& jupyter labextension list \
&& echo "...done"

Expand Down
4 changes: 0 additions & 4 deletions docker/assets/sync_repo
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,5 @@ BRANCH="${2:-master}"
rm -rf "${WORKDIR}"/{.github,.gitignore,LICENSE,README.md,README.rst,CITATION.cff,USAGE.rst,docker-compose.yml,DEAfrica_notebooks_template.ipynb,DEA_notebooks_template.ipynb,Scientific_workflows,Tests} || true
cp -Rv ${WORKDIR}/. ~/
rm -rf "${WORKDIR}"
# Install Tools folder if available
if [ -e $HOME/Tools/setup.py ]; then
python -m pip install -e "$HOME/Tools" || true
fi
rm -rf "$HOME/.git"
}
16 changes: 9 additions & 7 deletions docker/env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ dependencies:
- access
- aiobotocore
- boto3
- s5cmd
- affine
- aiohttp
- aioitertools
Expand Down Expand Up @@ -52,7 +53,7 @@ dependencies:
- datadog
- deepdiff
- defusedxml
- distributed
- distributed>=2023.11
- docutils
- ephem
- eodatasets3
Expand All @@ -76,7 +77,7 @@ dependencies:
- itsdangerous
- Jinja2
- jmespath
- jsonschema<4.18
- jsonschema>4.18
- kiwisolver
- lark
- python-lmdb
Expand Down Expand Up @@ -113,7 +114,7 @@ dependencies:
- pyrsistent
- pystac
- pystac-client
- pytest
- pytest!=8.1.0
- python-dateutil
- python-rapidjson
- python-slugify
Expand Down Expand Up @@ -177,10 +178,10 @@ dependencies:
- dask-ml
- pathos
- scikit-learn
- tensorflow=2.7
- tensorflow>=2.10
- xgboost
- zarr
- bokeh
- bokeh=3.2.2
- descartes
- matplotlib
- seaborn
Expand All @@ -205,7 +206,7 @@ dependencies:
- spyndex
- urbanaccess
- contextily
- pyTMD
- pyTMD<=2.1.0
# jupyter things
- autopep8
- black
Expand All @@ -225,7 +226,8 @@ dependencies:
- jupyterlab-topbar
- jupyterlab-system-monitor
- jupyterhub
- jupytext
- jupytext<1.16
- jupyterlab_pygments<0.3.0
- jupyter-resource-usage
- jupyter_server
- jupyter-server-proxy
Expand Down
7 changes: 6 additions & 1 deletion docker/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ jupyterlab-logout
jupyter-contrib-core
jupyter-contrib-nbextensions
jupyter-nbextensions-configurator
# pin for jupyterlab=3.x
jupyterlab-topbar-text==0.6.2
jupyterlab-logout==0.5.0

# ODC/DEA: these are installed in builder stage
otps
Expand All @@ -17,12 +20,14 @@ s2cloudmask
opencv-python-headless
opencv-contrib-python-headless

datacube[performance,s3]
datacube[performance,s3] >= 1.8.17
odc-algo @ git+https://github.com/opendatacube/odc-algo@b8dcfce
odc-cloud[ASYNC]
odc-stac
odc-stats[ows]
odc-ui
odc-geo
dea-tools

thredds-crawler
hdstats==0.1.8.post1
Expand Down

0 comments on commit 9ecb1d2

Please sign in to comment.