Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add custom jupyter-ai extension #196

Draft
wants to merge 32 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
83ed649
run pip check after install
Adam-D-Lewis Feb 18, 2025
1c8cb4e
add nebari-jupyter-ai
Adam-D-Lewis Feb 18, 2025
1faa385
move pip check
Adam-D-Lewis Feb 18, 2025
5d8a660
remove pip check
Adam-D-Lewis Feb 18, 2025
0ec522c
remove pip check
Adam-D-Lewis Feb 18, 2025
62b9433
try adding pip check
Adam-D-Lewis Feb 19, 2025
00ebd45
fix typo
Adam-D-Lewis Feb 19, 2025
b033e79
update
Adam-D-Lewis Feb 19, 2025
6cf5bb4
fix typo
Adam-D-Lewis Feb 19, 2025
659655c
update
Adam-D-Lewis Feb 19, 2025
b16614f
update
Adam-D-Lewis Feb 19, 2025
30d1141
remove pip check
Adam-D-Lewis Feb 19, 2025
aa4b081
retrigger docker image build
Adam-D-Lewis Feb 20, 2025
e375b86
retrigger ci
Adam-D-Lewis Feb 20, 2025
24dc3ba
retrigger ci
Adam-D-Lewis Feb 20, 2025
286d618
conda list all envs
Adam-D-Lewis Feb 24, 2025
047d98b
Merge branch 'main' into list_all_envs
Adam-D-Lewis Feb 24, 2025
4ad6efa
update MAMBAFORGE version to latest
Adam-D-Lewis Feb 24, 2025
4483012
switch from mambaforge (deprecated july 2024) to miniforge
Adam-D-Lewis Feb 24, 2025
fa32841
fix typo
Adam-D-Lewis Feb 24, 2025
987aea3
update checksums
Adam-D-Lewis Feb 24, 2025
a2f6ff1
Merge branch 'update-mambaforge-version' into list_all_envs
Adam-D-Lewis Feb 24, 2025
3195d9d
Revert "Merge branch 'update-mambaforge-version' into list_all_envs"
Adam-D-Lewis Feb 24, 2025
416ca0a
Reapply "Merge branch 'update-mambaforge-version' into list_all_envs"
Adam-D-Lewis Feb 24, 2025
1e6cd6e
Revert "Merge branch 'update-mambaforge-version' into list_all_envs"
Adam-D-Lewis Feb 24, 2025
95a0d35
have to add this pip dependency to get things to solve correctly
Adam-D-Lewis Feb 24, 2025
42498b2
Merge branch 'list_all_envs' into jupyter-ai
Adam-D-Lewis Feb 24, 2025
3bfb316
add another needed dependency
Adam-D-Lewis Feb 24, 2025
5f1c4cd
restrict solve for pydantic versions
Adam-D-Lewis Feb 24, 2025
0731ccf
update
Adam-D-Lewis Feb 25, 2025
e16f45b
readd jupyter scheduler
Adam-D-Lewis Feb 25, 2025
efbf5c5
Merge branch 'main' into jupyter-ai
Adam-D-Lewis Feb 25, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions jupyterlab/environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ dependencies:
- jupyterlab-spellchecker >= 0.7.3
- jupyterlab-pioneer
- jupyter-ai
- langchain-openai # optional jupyter-ai dependency
- jupyterlab-favorites >=3.2.1
- jupyter-scheduler >=2.8.0,<3.0.0 # >=2.8 due to https://github.com/conda-forge/jupyter_scheduler-feedstock/issues/46

Expand All @@ -59,6 +60,7 @@ dependencies:
- pip:
# vscode jupyterlab launcher
- git+https://github.com/betatim/vscode-binder
- git+https://github.com/nebari-dev/nebari-jupyter-ai
- jupyterlab_nvdashboard==0.11.0
- argo-jupyter-scheduler==2024.6.1
- jhub-apps==2025.2.1
Expand Down
9 changes: 8 additions & 1 deletion scripts/install-conda-environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,14 @@ 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
Loading