From aa7d80fe77f447a2f284e0e36e84bb3a045b06b2 Mon Sep 17 00:00:00 2001
From: Yannick DAYER <yannick.dayer@idiap.ch>
Date: Mon, 23 Oct 2023 15:53:36 +0000
Subject: [PATCH] meta(deps): apply the tensorflow specifier changes to all
 variants

---
 pyproject.toml | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index 30070e2..5812327 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -62,10 +62,8 @@
         "pytest",
         "pytest-cov",
         "coverage",
-        # dev-profile constraints will set the extras of tensorflow and
-        # tensorflow-macos according to the current OS. Leave both deps in here:
-        "tensorflow",
-        "tensorflow-macos",
+        "tensorflow; sys_platform != 'darwin'",
+        "tensorflow-macos; sys_platform == 'darwin'",
         ]
 
 [tool.setuptools]
-- 
GitLab