From 7dfa8beec7391bcf9d22bcdc57c3a12160b47be4 Mon Sep 17 00:00:00 2001 From: Ruinong Tian Date: Tue, 28 Jan 2025 00:59:44 +0000 Subject: [PATCH] restrict evaluate version to get rid of gradio, which causes many CVEs --- build_artifacts/v2/v2.0/v2.0.2/cpu.env.in | 2 +- build_artifacts/v2/v2.0/v2.0.2/gpu.env.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build_artifacts/v2/v2.0/v2.0.2/cpu.env.in b/build_artifacts/v2/v2.0/v2.0.2/cpu.env.in index caef10b9..2bf01aac 100644 --- a/build_artifacts/v2/v2.0/v2.0.2/cpu.env.in +++ b/build_artifacts/v2/v2.0/v2.0.2/cpu.env.in @@ -54,5 +54,5 @@ conda-forge::pyhive[version='>=0.7.0,<0.8.0'] conda-forge::python-gssapi[version='>=1.8.3,<1.9.0'] conda-forge::tf-keras[version='>=2.17.0,<2.18.0'] conda-forge::sentencepiece[version='>=0.1.99,<0.2.0'] -conda-forge::gradio[version='>=5.0.0'] +conda-forge::evaluate[version='<=0.4.1'] conda-forge::libmamba[version='<2.0.0'] diff --git a/build_artifacts/v2/v2.0/v2.0.2/gpu.env.in b/build_artifacts/v2/v2.0/v2.0.2/gpu.env.in index 41f500d6..0c1e1670 100644 --- a/build_artifacts/v2/v2.0/v2.0.2/gpu.env.in +++ b/build_artifacts/v2/v2.0/v2.0.2/gpu.env.in @@ -54,5 +54,5 @@ conda-forge::pyhive[version='>=0.7.0,<0.8.0'] conda-forge::python-gssapi[version='>=1.8.3,<1.9.0'] conda-forge::tf-keras[version='>=2.17.0,<2.18.0'] conda-forge::sentencepiece[version='>=0.1.99,<0.2.0'] -conda-forge::gradio[version='>=5.0.0'] +conda-forge::evaluate[version='<=0.4.1'] conda-forge::libmamba[version='<2.0.0']