From 424496c015ef1661724a6f1b55f62d9b95bb30c0 Mon Sep 17 00:00:00 2001
From: Quentin Yeche <quentin.yeche@inrae.fr>
Date: Mon, 16 Oct 2023 15:31:29 +0200
Subject: [PATCH] pinned Python version to fix incompatibilities

---
 environment_jupyterhub.yml | 44 +++++++++++++++++++-------------------
 environment_jupyterlab.yml | 43 +++++++++++++++++++------------------
 2 files changed, 44 insertions(+), 43 deletions(-)

diff --git a/environment_jupyterhub.yml b/environment_jupyterhub.yml
index 5f6a85b..1d3513c 100644
--- a/environment_jupyterhub.yml
+++ b/environment_jupyterhub.yml
@@ -1,24 +1,24 @@
 channels:
-  - conda-forge
-  - defaults
+- conda-forge
+- defaults
 dependencies:
-  - python
-  - ipykernel
-  - geopandas
-  - pandas
-  - numpy
-  - matplotlib
-  - folium
-  - rioxarray
-  - jupyterhub==4.0.2
-  - jupyterlab
-  - pip
-  - pip:
-      - planetary-computer
-      - pystac-client
-      - rich
-      - stackstac
-      - bottleneck
-      - geogif
-      - xarray-spatial
-      - rasterstats
+# 3.11 is not a hard requirement but numba does not support 3.12 at the time of testing
+- python=3.11
+- ipykernel
+- geopandas
+- pandas
+- numpy
+- matplotlib
+- folium
+- rioxarray
+- jupyterhub-singleuser=3.0.0
+- pip
+- pip:
+  - planetary-computer
+  - pystac-client
+  - rich
+  - stackstac
+  - bottleneck
+  - geogif
+  - xarray-spatial
+  - rasterstats
diff --git a/environment_jupyterlab.yml b/environment_jupyterlab.yml
index 9635134..1a966e8 100644
--- a/environment_jupyterlab.yml
+++ b/environment_jupyterlab.yml
@@ -1,23 +1,24 @@
 channels:
-  - conda-forge
-  - defaults
+- conda-forge
+- defaults
 dependencies:
-  - python
-  - ipykernel
-  - geopandas
-  - pandas
-  - numpy
-  - matplotlib
-  - folium
-  - rioxarray
-  - jupyterlab
-  - pip
-  - pip:
-      - planetary-computer
-      - pystac-client
-      - rich
-      - stackstac
-      - bottleneck
-      - geogif
-      - xarray-spatial
-      - rasterstats
+# 3.11 is not a hard requirement but numba does not support 3.12 at the time of testing
+- python=3.11
+- ipykernel
+- geopandas
+- pandas
+- numpy
+- matplotlib
+- folium
+- rioxarray
+- jupyterlab
+- pip
+- pip:
+  - planetary-computer
+  - pystac-client
+  - rich
+  - stackstac
+  - bottleneck
+  - geogif
+  - xarray-spatial
+  - rasterstats
-- 
GitLab