Skip to content

Commit

Permalink
arcgis tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eeholmes committed Feb 26, 2024
1 parent f018304 commit f44a31b
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 20 deletions.
13 changes: 8 additions & 5 deletions ci/arcgis/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# This does not work; uses Python 3.9 and old modules
# The widget only works on the old notebook jupyter-server-proxy
# won't work in a jupyterhub
FROM ghcr.io/esri/arcgis-python-api-notebook
# Still no map but does start up in the base environment and uses latest
FROM quay.io/jupyter/base-notebook:latest

RUN mamba install --yes 'jupyter-server-proxy' && \
mamba clean --all -f -y


RUN mamba install --yes -c esri 'arcgis' && \
mamba clean --all -f -y

RUN fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"
11 changes: 0 additions & 11 deletions ci/arcgis/Dockerfile-arcgis-3.11

This file was deleted.

8 changes: 8 additions & 0 deletions ci/arcgis/Dockerfile-arcgis.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This does not work; uses Python 3.9 and old modules
# The widget only works on the old notebook jupyter-server-proxy
# won't work in a jupyterhub
FROM ghcr.io/esri/arcgis-python-api-notebook

RUN mamba install --yes 'jupyter-server-proxy' && \
mamba clean --all -f -y

2 changes: 1 addition & 1 deletion ci/arcgis/instructions.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Testing

This was testing. Discovered that
This was testing. Doesn't work. Discovered that

* jupyter-server-proxy is needed
* works in docker but not in jupyterhub I think due to the server app being different. I tried to change to old server but no luck.
Expand Down
7 changes: 5 additions & 2 deletions ci/py-rocker-base/Untitled
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
conda create --prefix ~/conda/envs/test-env python=3.9
python -m ipykernel install --user --name=test-env
conda create --prefix ~/conda/envs/test-env ipykernel
conda activate ~/conda/envs/test-env
python -m ipykernel install --user --name=test-env
conda deactivate

Removing
jupyter kernelspec list
jupyter kernelspec remove test-env
conda env remove -p /home/rstudio/conda/envs/test-env

ls -l ~/conda/envs/test-env

2 changes: 1 addition & 1 deletion ci/py-rocket-gis/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<https://hub.docker.com/repository/docker/eeholmes/py-rocket/general>

The one to use is the dated one. The `main` tag doesn't seem to always be recognized as a new tag when it changes.
THIS WAS TESTING. NOT USED.

# tldr;

Expand Down

0 comments on commit f44a31b

Please sign in to comment.