Skip to content

Commit

Permalink
Merge branch 'list_all_envs' into jupyter-ai
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam-D-Lewis committed Feb 24, 2025
2 parents 95a0d35 + 1e6cd6e commit 42498b2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jupyterhub/environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ dependencies:
- pip:
- nebari-jupyterhub-theme==2024.7.1
- python-keycloak==0.26.1
- jhub-apps==2024.12.1
- jhub-apps==2025.2.1
2 changes: 1 addition & 1 deletion jupyterlab/environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ dependencies:
- git+https://github.com/nebari-dev/nebari-jupyter-ai
- jupyterlab_nvdashboard==0.11.0
- argo-jupyter-scheduler==2024.6.1
- jhub-apps==2024.12.1
- jhub-apps==2025.2.1
- jupyterlab-nebari-mode==0.3.0
- jupyterlab-conda-store==2024.11.1
- jupyterlab-launchpad==1.0.3
Expand Down
10 changes: 9 additions & 1 deletion scripts/install-conda-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,15 @@ else
fi

# ========= list dependencies ========
/opt/conda/bin/conda list
# Run pip check for all conda environments
echo "Running \"conda list\" for all conda environments..."
mamba env list | grep -v '^#' | awk '{print $1}' | while read -r conda_env_name; do
if [ ! -z "$conda_env_name" ]; then
echo "Running \"conda list\" for environment: $conda_env_name"
/opt/conda/bin/conda list -n "$conda_env_name"
fi
done


# ========== cleanup conda ===========
/opt/conda/bin/mamba clean -afy
Expand Down

0 comments on commit 42498b2

Please sign in to comment.