From 022e5206a5f7dfdc0a11ae93d265aa028204f947 Mon Sep 17 00:00:00 2001
From: Paul Andrey <paul.andrey@inria.fr>
Date: Wed, 22 Feb 2023 18:35:53 +0100
Subject: [PATCH] Make network communication dependencies optional.

This removal was supposed to be part of a past commit
(cd1d0cb137b74c6baec397c703f4d1c8830427c4) but had in
fact not been properly finished.

With this commit, install declearn no longer results
in the automatic installation of gRPC and websockets,
which are properly relegated to being optional, user-
triggered-installation, dependencies.

This commit was cherry-picked into r2.0.
Original commit: 3c82f5ce719668a64d0af4ccce6fd7b9c6c0187a
---
 pyproject.toml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index e4e15c37..67e75153 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -37,12 +37,10 @@ classifiers = [
 ]
 dependencies = [
     "cryptography >= 35.0",
-    "grpcio >= 1.45",
     "pandas >= 1.2",
     "scikit-learn >= 1.0",
     "tomli >= 2.0 ; python_version < '3.11'",
     "typing_extensions >= 4.0",
-    "websockets ~= 10.1",
 ]
 
 [project.optional-dependencies]
-- 
GitLab