From 15f1048c1472abe6884724fbd4e785adb0ac3269 Mon Sep 17 00:00:00 2001
From: Eleni Mathioulaki <emathioulaki@athenarc.gr>
Date: Thu, 20 Mar 2025 19:56:32 +0100
Subject: [PATCH] fix: add missing py-jupyter-core dependency to Jupyter
 Extension packages

to correctly set jupyter extension env vars
---
 packages/py-ipycanvas/package.py       | 1 +
 packages/py-tvb-ext-bucket/package.py  | 1 +
 packages/py-tvb-ext-unicore/package.py | 1 +
 3 files changed, 3 insertions(+)

diff --git a/packages/py-ipycanvas/package.py b/packages/py-ipycanvas/package.py
index 0883611f..a37909bf 100644
--- a/packages/py-ipycanvas/package.py
+++ b/packages/py-ipycanvas/package.py
@@ -24,6 +24,7 @@ class PyIpycanvas(PythonPackage):
     # begin EBRAINS (added)
     depends_on("python@3.6:", when="@0.10:", type=("build", "run"))
     depends_on("python@3.7:", when="@0.11:", type=("build", "run"))
+    depends_on('py-jupyter-core', type=("build", "run"))
     # end EBRAINS
     depends_on("py-setuptools@40.8:", type="build")
     depends_on("py-jupyter-packaging@0.7", type="build")
diff --git a/packages/py-tvb-ext-bucket/package.py b/packages/py-tvb-ext-bucket/package.py
index 29fdae03..ffb6558e 100644
--- a/packages/py-tvb-ext-bucket/package.py
+++ b/packages/py-tvb-ext-bucket/package.py
@@ -15,6 +15,7 @@ class PyTvbExtBucket(PythonPackage):
     depends_on('py-setuptools', type='build')
     depends_on('python@3.8:', type=('build', 'run'))
     depends_on('py-jupyter-server', type=('build', 'run'))
+    depends_on('py-jupyter-core', type=("build", "run"))
     depends_on('py-ebrains-drive@0.5.0:', type=('build', 'run'))
     depends_on('py-hatchling@1.5.0:', type='build')
     depends_on('py-jupyterlab@3.4.7:3', type=('build', 'run'))
diff --git a/packages/py-tvb-ext-unicore/package.py b/packages/py-tvb-ext-unicore/package.py
index 786e2f6e..f55bf951 100644
--- a/packages/py-tvb-ext-unicore/package.py
+++ b/packages/py-tvb-ext-unicore/package.py
@@ -21,6 +21,7 @@ class PyTvbExtUnicore(PythonPackage):
     depends_on('py-hatch-jupyter-builder@0.5:', type='build')
     depends_on('py-jupyterlab@3.4.7:3', type=('build', 'run'))
     depends_on('py-jupyter-server', type=('build', 'run'))
+    depends_on('py-jupyter-core', type=("build", "run"))
     depends_on('py-pyunicore@1.0:', type=('build', 'run'))
     depends_on('py-jupyter-packaging@0.10:', type='build')
     depends_on('npm', type='build')
-- 
GitLab