From 8c3cff48e2a2a37762d880ae9a12e3874dd0363c Mon Sep 17 00:00:00 2001 From: Nolwen Date: Thu, 2 Jun 2022 10:47:02 +0200 Subject: [PATCH] Pin protobuf version as it conflicts with ray This commit can be revert as soon as https://github.com/ray-project/ray/issues/25282 is fixed. Fix issue #192. --- pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 80dcdd8886..9fa54b3b9e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,12 +63,13 @@ networkx = {version = "^2.5", optional = true} minizinc = {version = "^0.4.2", optional = true} mip = {version = "^1.13.0", optional = true} deap = {version = "^1.3.1", optional = true} +protobuf = {version = "<4", optional = true} [tool.poetry.extras] domains = [ "gym", "numpy", "matplotlib", "simplejson" ] -solvers = [ "gym", "numpy", "joblib", "ray", "stable-baselines3" ] +solvers = [ "gym", "numpy", "joblib", "ray", "protobuf", "stable-baselines3" ] discrete_optimization = [ "networkx", "minizinc", "mip", "deap" ] -all = [ "gym", "numpy", "matplotlib", "simplejson", "joblib", "ray", "stable-baselines3", "networkx", "minizinc", "mip", "deap" ] +all = [ "gym", "numpy", "matplotlib", "simplejson", "joblib", "ray", "protobuf", "stable-baselines3", "networkx", "minizinc", "mip", "deap" ] [tool.poetry.plugins."skdecide.domains"] GymDomain = "skdecide.hub.domain.gym:GymDomain [domains]"