From 11312bf57f64c196b517dd4889ed2c9112860abc Mon Sep 17 00:00:00 2001 From: Florian Frantzen Date: Tue, 15 Oct 2024 16:07:34 +0200 Subject: [PATCH] Update karateclub dependency --- pyproject.toml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fe37c22..5ee89f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,11 +26,16 @@ classifiers = [ requires-python = ">= 3.10" dependencies=[ "numpy", - "karateclub @ git+https://github.com/benedekrozemberczki/karateclub@d35e05526455599688f1c4dd92e397cf92316ae4", + "karateclub @ git+https://github.com/benedekrozemberczki/karateclub@cb46a91df8dcbeb2570debcf6a9d0c518107a2de", "networkx", "pyrandwalk", - "scipy < 1.12", # scipy 1.12 removed scipy.errstate, which networkx < 3.0 depends on - "toponetx @ git+https://github.com/pyt-team/TopoNetX.git", + "scipy", + "toponetx", + + # We don't have a direct dependency on pygsp, but it is required by karateclub. + # The version on PyPI is severely outdated and does not work on Python 3.12. + # At least using the latest version from GitHub works for now. + "pygsp @ git+https://github.com/epfl-lts2/pygsp@a3412ce7696c02c8a55439e89d0c9ab8ae863269" ] [project.optional-dependencies]