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
  • Loading branch information
klieret committed Aug 12, 2024
1 parent c2b3cef commit a1c2c96
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 a1c2c96

Please sign in to comment.