From 6693a3810e432b1a3e92e292d40431973da297aa Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Wed, 22 Jul 2020 15:23:49 +0200
Subject: [PATCH] [conda] Enable osx+py==37 builds

---
 conda/meta.yaml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/conda/meta.yaml b/conda/meta.yaml
index e4623399..2a358da0 100644
--- a/conda/meta.yaml
+++ b/conda/meta.yaml
@@ -6,7 +6,7 @@ package:
   version: {{ environ.get('BOB_PACKAGE_VERSION', '0.0.1') }}
 
 build:
-  skip: true  # [not linux]
+  skip: true  # [not (linux or (osx and py==37))]
   number: {{ environ.get('BOB_BUILD_NUMBER', 0) }}
   run_exports:
     - {{ pin_subpackage(name) }}
@@ -29,7 +29,7 @@ requirements:
     - scipy {{ scipy }}
     - h5py {{ h5py }}
     - pytorch {{ pytorch }}
-    - torchvision  {{ torchvision }} # [linux]
+    - torchvision  {{ torchvision }}  # [linux or (osx and py==37)]
     - bob.extension
   run:
     - python
@@ -37,7 +37,7 @@ requirements:
     - {{ pin_compatible('numpy') }}
     - {{ pin_compatible('scipy') }}
     - {{ pin_compatible('pytorch') }}
-    - {{ pin_compatible('torchvision') }} # [linux]
+    - {{ pin_compatible('torchvision') }}  # [linux or (osx and py==37)]
     - matplotlib
     - pandas
     - pillow
-- 
GitLab