From 80bab446fa76b373b4dc3ea8068f845007e07033 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nicolas=20M=2E=20Thi=C3=A9ry?= <nthiery@users.sf.net>
Date: Sat, 10 Feb 2024 23:53:54 +0100
Subject: [PATCH] Adaptation pour le tutoriel Jupyter

---
 Dockerfile-CI   |  3 ---
 environment.yml | 41 +++++++++++++++++++++++++++++++++--------
 2 files changed, 33 insertions(+), 11 deletions(-)

diff --git a/Dockerfile-CI b/Dockerfile-CI
index 47f3a99..d514d86 100644
--- a/Dockerfile-CI
+++ b/Dockerfile-CI
@@ -9,8 +9,5 @@ RUN cp -ra /tmp/binder/install_files/* /opt/conda/
 RUN cd /tmp/binder && \
     micromamba install -y -n base -f environment.yml && \
     micromamba clean --all --yes
-
-# Install Julia packages
-RUN /usr/local/bin/_entrypoint.sh julia -e 'using Pkg; Pkg.add(["SymPy", "Symbolics", "Plots", "Widgets", "IJulia"])'
     
 RUN rm -rf /tmp/binder
diff --git a/environment.yml b/environment.yml
index ef7b01e..53d058b 100644
--- a/environment.yml
+++ b/environment.yml
@@ -1,22 +1,32 @@
-name: julia
+# Logiciels requis pour utiliser et travailler sur les documents
+name: tutoriel-jupyter
 
 channels:
 - conda-forge
 
 dependencies:
-- python>=3.11
+- python
 - make
 - mamba
 - git
 
 ##############################################################################
 # JupyterLab
-
 - jupyterlab>=4
 - jupyterlab-language-pack-fr-FR
 - nbgitpuller
+- jupyter-collaboration
+
+# Interactive widgets
+- jupyterlab_widgets # >=3.0.5
+- ipywidgets                   # for dashboards and ipywidget-games-*
+- ipylab                       # for dashboards
+- jupyter_app_launcher         # for launching the dashboards as applications
+- ipydatagrid                  # for the instructor dashboard
+- ipympl                       # for interactive matplotlib
 
 # jupyterlab non critical extensions
+#- jupyter-offlinenotebook    # UI to save/... the notebook even when the server connection is lost
 - jupyter-resource-usage
 - jupyterlab-git
 - jupyterlab_code_formatter
@@ -29,12 +39,27 @@ dependencies:
 - jupyter-book
 - mystmd
 - nodejs
-- nbgrader>=0.9.1
+#- nbgrader>=0.9.1
 - jupyterlab-deck
 
-##############################################################################
 # For computations
-- julia
+- matplotlib-base
+- bqplot
+- pandas
+- seaborn
+- sympy
+- ipyleaflet
+- folium
+- networkx
+- xarray
+- ipytone   # For the wind demo
+- netcdf4
 
-##############################################################################
-# For code validation
+
+- pip
+- pip:
+    - jupyterlab-deck
+    - delpywidget
+    - git+https://gitlab.dsi.universite-paris-saclay.fr/nicolas.thiery/ValuePlayerWidget.git
+    - git+https://gitlab.dsi.universite-paris-saclay.fr/nicolas.thiery/GraphAlgorithmPlayer.git
+    - git+https://gitlab.dsi.universite-paris-saclay.fr/nicolas.thiery/Laby.git
-- 
GitLab