From 7aa68d4ed07901ace6c04afa6c6ca86704871047 Mon Sep 17 00:00:00 2001 From: Kilian Lieret Date: Tue, 22 Oct 2024 20:41:58 -0400 Subject: [PATCH] Fix fix for yanked packages --- swebench/harness/test_spec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swebench/harness/test_spec.py b/swebench/harness/test_spec.py index 109e24e5..b1b55d85 100644 --- a/swebench/harness/test_spec.py +++ b/swebench/harness/test_spec.py @@ -155,7 +155,7 @@ def replace_uninstallable_packages_requirements_txt(requirement_str: str) -> str # See https://github.com/princeton-nlp/SWE-bench/issues/199 # This package was sinced yanked, so we need to force pip # to install it. - # "types-pkg_resources": "types-pkg-resources==0.1.3", + "types-pkg_resources": "types-pkg-resources==0.1.3", } requirements = [req.strip() for req in requirement_str.split("\n") if req.strip()] requirements_replaced = []