From 2539ea0136a6fc874e01c4f2af9d443427d48c84 Mon Sep 17 00:00:00 2001 From: Nikita Shulga Date: Fri, 1 Apr 2022 15:56:51 -0700 Subject: [PATCH] Move `libuv` to build requirements on Unix As `libuv` recipe contains `run_export`, which adds it as a runtime requirement, despite the fact that PyTorch is linked statically with it --- conda/pytorch-nightly/meta.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conda/pytorch-nightly/meta.yaml b/conda/pytorch-nightly/meta.yaml index 6c0fbf4e0..cdc326b43 100644 --- a/conda/pytorch-nightly/meta.yaml +++ b/conda/pytorch-nightly/meta.yaml @@ -12,7 +12,9 @@ requirements: build: - cmake - {{ compiler('c') }} # [win] - + - pkg-config # [unix] + - libuv # [unix] + host: - python - setuptools @@ -26,8 +28,6 @@ requirements: - dataclasses # [py36] - ninja - libuv # [win] - - libuv # [unix] - - pkg-config # [unix] - numpy=1.19 # [py <= 39] - numpy>=1.21.2 # [py >= 310] - openssl=1.1.1l # [py >= 310 and linux]