Closed psykhi closed 2 weeks ago
My dirty workaround to get further has been to edit context_manager.py
self.cmd_activate = (
f". {os.path.join(self.conda_path, 'bin', 'activate')} "
+ f"{self.venv} && echo 'activate successful' && pip install pytest"
)
The installation specifications for Pydicom are fully included here.
Based on our validation of the pydicom__pydicom-1256
instance, as shown here, it didn't seem like it was necessary for pytest
to be explicitly installed.
The base commit for the instance is here. I believe that the pip install -e .
instruction specified here should have taken care of installing pytest
automatically, but I will double check this.
Marking this as completed, hope the original comment helped with this!
I checked the pydicom installations, the validation logs are under the validation/
folder in SWE-bench/experiments. I was able to confirm that the explicit pytest
installation should not be necessary. With that said, it doesn't hurt to install it again, so I merged #134 which should take care of this.
We are also going to come out with a new SWE-bench evaluation harness within the next 2 weeks, which incorporates Docker containers into the evaluation process. It should resolve a lot of the inconsistencies that are arising from running SWE-bench evaluation on different machines. If you're still interested in working on SWE-bench, definitely look out for the release! 😄
Describe the bug
Running evaluations on 1 issue of the swe bench lite devset
pydicom__pydicom-1256
and looking at the logs this is what I see:Shouldn't pytest be present in the repo environment?
Steps/Code to Reproduce
run_evaluations.sh
Using
pydicom__pydicom-1256
. Fresh clone of the repo and fresh conda install.Expected Results
I would expect pytest to be in the repo venv.
Actual Results
[pydicompydicom2.1] [pydicom__pydicom-1256] Return Code: 127
System Information
MacOS ARM Fresh conda, fresh clone