Skip to content

Commit

Permalink
fix: install tzdata noninteractively
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiyang Zhang committed Sep 15, 2024
1 parent 58d3d81 commit 5bd032e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions swebench/harness/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 5bd032e

Please sign in to comment.