From d169fe1aa1523b881fe86110f8d654b15d061cdf Mon Sep 17 00:00:00 2001 From: Eli Uriegas Date: Thu, 3 Dec 2020 13:54:25 -0800 Subject: [PATCH] pin jpeg to 9b Signed-off-by: Eli Uriegas --- .circleci/unittest/linux/scripts/environment.yml | 2 +- .circleci/unittest/windows/scripts/environment.yml | 2 +- packaging/torchvision/meta.yaml | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.circleci/unittest/linux/scripts/environment.yml b/.circleci/unittest/linux/scripts/environment.yml index 52a3925ead7..3d047ae5b3a 100644 --- a/.circleci/unittest/linux/scripts/environment.yml +++ b/.circleci/unittest/linux/scripts/environment.yml @@ -10,7 +10,7 @@ dependencies: - codecov - pip - libpng - - jpeg + - jpeg <= 9b - ca-certificates - av - pip: diff --git a/.circleci/unittest/windows/scripts/environment.yml b/.circleci/unittest/windows/scripts/environment.yml index 9cec0012b0b..1c19dd93e1d 100644 --- a/.circleci/unittest/windows/scripts/environment.yml +++ b/.circleci/unittest/windows/scripts/environment.yml @@ -10,7 +10,7 @@ dependencies: - codecov - pip - libpng - - jpeg + - jpeg <= 9b - ca-certificates - av - pip: diff --git a/packaging/torchvision/meta.yaml b/packaging/torchvision/meta.yaml index 01c91cd960d..1efb79214cf 100644 --- a/packaging/torchvision/meta.yaml +++ b/packaging/torchvision/meta.yaml @@ -9,7 +9,7 @@ requirements: build: - {{ compiler('c') }} # [win] - libpng - - jpeg + - jpeg <=9b host: - python @@ -21,7 +21,7 @@ requirements: run: - python - libpng - - jpeg + - jpeg <=9b - pillow >=4.1.1 - numpy >=1.11 {{ environ.get('CONDA_PYTORCH_CONSTRAINT') }} @@ -49,6 +49,7 @@ test: - pytest - scipy - av >=8.0.1 + - jpeg <=9b - ca-certificates {{ environ.get('CONDA_TYPING_CONSTRAINT') }}