From 5bd032eb6f94deab9c2f14168babcd62e7f9a46c Mon Sep 17 00:00:00 2001 From: Jiyang Zhang Date: Sun, 15 Sep 2024 18:34:13 -0500 Subject: [PATCH] fix: install tzdata noninteractively --- swebench/harness/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swebench/harness/constants.py b/swebench/harness/constants.py index 33704ec2..06c51bf0 100644 --- a/swebench/harness/constants.py +++ b/swebench/harness/constants.py @@ -420,7 +420,7 @@ class TestStatus(Enum): "packages": "environment.yml", "install": "python -m pip install -e .", "pre_install": [ - "apt-get -y update && apt-get -y upgrade && apt-get install -y imagemagick ffmpeg texlive texlive-latex-extra texlive-fonts-recommended texlive-xetex texlive-luatex cm-super dvipng" + "apt-get -y update && apt-get -y upgrade && DEBIAN_FRONTEND=noninteractive apt-get install -y imagemagick ffmpeg texlive texlive-latex-extra texlive-fonts-recommended texlive-xetex texlive-luatex cm-super dvipng" ], "pip_packages": [ "contourpy==1.1.0", @@ -450,7 +450,7 @@ class TestStatus(Enum): "packages": "requirements.txt", "install": "python -m pip install -e .", "pre_install": [ - "apt-get -y update && apt-get -y upgrade && apt-get install -y imagemagick ffmpeg libfreetype6-dev pkg-config texlive texlive-latex-extra texlive-fonts-recommended texlive-xetex texlive-luatex cm-super" + "apt-get -y update && apt-get -y upgrade && DEBIAN_FRONTEND=noninteractive apt-get install -y imagemagick ffmpeg libfreetype6-dev pkg-config texlive texlive-latex-extra texlive-fonts-recommended texlive-xetex texlive-luatex cm-super" ], "pip_packages": ["pytest", "ipython"], "test_cmd": TEST_PYTEST,