Skip to content

Commit

Permalink
Pin types-pkg-resources to avoid issues with yankedness
Browse files Browse the repository at this point in the history
Closes #199
  • Loading branch information
klieret committed Aug 12, 2024
1 parent c2b3cef commit 678b92e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions swebench/harness/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,12 @@ class TestStatus(Enum):
"packages": "requirements.txt",
"install": "python -m pip install -e .",
"test_cmd": TEST_PYTEST,
"pre_install": [
# See https://github.com/princeton-nlp/SWE-bench/issues/199
# This package was sinced yanked, so we need to force pip
# to install it.
"pip install types-pkg-resources==0.1.3"
],
}
for k in [
"0.10",
Expand Down

0 comments on commit 678b92e

Please sign in to comment.