From fe14bf180870c16da309ad4185904f8018e03474 Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Fri, 10 Sep 2021 17:04:51 +0200
Subject: [PATCH] Update conda template

---
 bob/devtools/templates/conda/meta.yaml | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/bob/devtools/templates/conda/meta.yaml b/bob/devtools/templates/conda/meta.yaml
index e62a09ec..3beccf72 100644
--- a/bob/devtools/templates/conda/meta.yaml
+++ b/bob/devtools/templates/conda/meta.yaml
@@ -29,6 +29,9 @@ requirements:
     # place your other host dependencies here (same as requirements.txt)
     # use the format:
     # - numpy {{ numpy }}
+
+    # Also place your optional dependencies here, like:
+    # - matplotlib {{ matplotlib }}
   run:
     - python
     - setuptools
@@ -36,6 +39,10 @@ requirements:
     # Use the format:
     # - {{ pin_compatible('numpy') }}
 
+  # List your optional dependencies here, like:
+  # run_constrained:
+  #   - {{ pin_compatible('matplotlib') }}
+
 test:
   imports:
     - {{ name }}
@@ -48,11 +55,11 @@ test:
     - conda inspect linkages -p $PREFIX {{ name }}  # [not win]
     - conda inspect objects -p $PREFIX {{ name }}  # [osx]
   requires:
-    - pytest
-    - pytest-cov
-    - coverage
-    - sphinx
-    - sphinx_rtd_theme
+    - pytest {{ pytest }}
+    - pytest-cov {{ pytest_cov }}
+    - coverage {{ coverage }}
+    - sphinx {{ sphinx }}
+    - sphinx_rtd_theme {{ sphinx_rtd_theme }}
     # extend this list with further test-time-only dependencies
 
 about:
-- 
GitLab