Skip to content

Commit

Permalink
Merge pull request #221 from JiyangZhang/fix-matplotlib-pre-install
Browse files Browse the repository at this point in the history
fix: install tzdata noninteractively
  • Loading branch information
john-b-yang authored Oct 7, 2024
2 parents ba221bb + 5bd032e commit 557c885
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 @@ -421,7 +421,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 @@ -451,7 +451,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 557c885

Please sign in to comment.