Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sympy version for specific instance #273

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions swebench/harness/docker_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,9 @@ def build_instance_image(

# Build the instance image
if not image_exists:
# Check for specific instance ID and install specific version of antlr4-python3-runtime
if test_spec.instance_id == "sympy__sympy-21612":
test_spec.repo_script_list.append("python -m pip install antlr4-python3-runtime==4.7.2")
build_image(
image_name=image_name,
setup_scripts={
Expand Down
Loading