From f8e4ed86356b72bb8c2b0e997c3082b789f9c322 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Mon, 22 Nov 2021 23:34:10 +1100 Subject: [PATCH] re-add tensorflow-base as a compatibility output wrapping tensorflow --- recipe/meta.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 1f7ff96f..366bba0f 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -205,6 +205,25 @@ outputs: - toco_from_protos --help # [not win] - toco --help # [not win] + # compatibility output wrapping core package, since tensorflow-base + # was used as an output before 2.7 (should we add a deprecation warning?) + - name: tensorflow-base + requirements: + host: + - python + - openssl + - {{ pin_subpackage('tensorflow', exact=True) }} + run: + - python + - {{ pin_subpackage('tensorflow', exact=True) }} + test: + requires: + - pip + imports: + - tensorflow + commands: + - pip check + - name: tensorflow-estimator script: build_estimator.sh # [not win] script: build_estimator.bat # [win]