From e290113064c8955562c65f592bbc7bfe509532e4 Mon Sep 17 00:00:00 2001
From: Eleni Mathioulaki <emathioulaki@athenarc.gr>
Date: Fri, 28 Feb 2025 13:57:43 +0000
Subject: [PATCH] feat(py-annarchy): add version 4.8.2.3

---
 packages/py-annarchy/package.py | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/packages/py-annarchy/package.py b/packages/py-annarchy/package.py
index bf672bb8..4368d1e0 100644
--- a/packages/py-annarchy/package.py
+++ b/packages/py-annarchy/package.py
@@ -13,14 +13,16 @@ class PyAnnarchy(PythonPackage):
     """
 
     homepage = "https://annarchy.readthedocs.io/en/latest/"
-    pypi = 'ANNarchy/ANNarchy-4.7.2.5.tar.gz'
+    pypi = 'ANNarchy/annarchy-4.8.2.3.tar.gz'
 
     maintainers = ['dionperd', 'paulapopa', "ldomide"]
 
+    version('4.8.2.3', '25a4d09905983ce27f7c6b4dd67a54831ea233b6b28943cb67dafd3c351d1dde')
     version('4.7.2.5', 'b7ef91cc4415e078e386eb30e595922c9f0ef90ad1340a12dc5ca46e728a7bb2')
 
     # python_requires
-    depends_on('python@3.8:3.10', type=('build', 'run'))
+    depends_on('python@3.8:3.10', when='@:4.7.2', type=('build', 'run'))
+    depends_on('python@3.10:', when='@4.7.3:', type=('build', 'run'))
 
     # setup_requires
     depends_on('py-pip', type='build')
@@ -34,6 +36,8 @@ class PyAnnarchy(PythonPackage):
     depends_on('py-sympy', type=('build', 'run'))  # >= 1.6
     depends_on('py-matplotlib', type=('build', 'run'))  # >= 2.0
     depends_on('py-cython', type=('build', 'run'))  # >= 0.20
+    depends_on('py-tqdm', when='@4.8:', type=('build', 'run'))
+    depends_on('py-h5py', when='@4.8.2:', type=('build', 'run'))
 
     # Highly recommended:
     # pyqtgraph >= 0.9.8 (to visualize some of the provided examples. The OpenGL backend can also be needed)
-- 
GitLab