Skip to content

Commit

Permalink
Versioning fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlu1248 committed Apr 7, 2024
1 parent 925baa8 commit 1f7f7e7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions harness/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{
k: {
"python": "3.7",
"packages": "numpy scipy Cython==0.29 pytest pandas matplotlib",
"packages": "numpy scipy Cython==0.29.33 pytest pandas matplotlib",
"install": "pip install -v --no-use-pep517 --no-build-isolation -e .",
}
for k in ["0.21", "0.22", "0.23", "0.24"]
Expand All @@ -19,8 +19,8 @@
MAP_VERSION_TO_INSTALL_SKLEARN.update(
{
k: {
"python": "3.9",
"packages": "numpy scipy Cython==0.29 pytest pandas matplotlib joblib threadpoolctl",
"python": "3.8",
"packages": "numpy scipy Cython==0.29.33 pytest pandas matplotlib joblib threadpoolctl",
"install": "pip install -v --no-use-pep517 --no-build-isolation -e .",
}
for k in ["1.0", "1.1", "1.2", "1.3", "1.4"]
Expand Down
7 changes: 3 additions & 4 deletions harness/context_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,6 @@ def __enter__(self):
logger_testbed.info(
f"[Testbed] Installing environment dependencies {pkgs}; Command: {full_cmd}"
)
# breakpoint()
self.exec(
full_cmd,
shell=True,
Expand Down Expand Up @@ -558,8 +557,8 @@ def run_install_task(self, instance: dict) -> bool:
f"[{self.testbed_name}] [{instance[KEY_INSTANCE_ID]}] Running pre-install setup command: {cmd_pre_install}"
)
out_pre_install = self.exec(
cmd_pre_install,
timeout=self.timeout,
cmd_pre_install,
timeout=self.timeout,
shell=True,
executable="/bin/bash",
env=None
Expand All @@ -586,7 +585,7 @@ def run_install_task(self, instance: dict) -> bool:
)
try:
# Run installation command
# breakpoint()
breakpoint()
out_install = self.exec(cmd_install, timeout=self.timeout, shell=True, executable="/bin/bash", env=None)

# Write installation logs to log file
Expand Down
1 change: 1 addition & 0 deletions harness/engine_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def verify_task_instances(data: dict):
in SKIP_INSTANCES[task_instance["repo"]]
):
continue
# breakpoint()
if (
not tcm.reset_task_env(task_instance)
or not tcm.run_install_task(task_instance)
Expand Down

0 comments on commit 1f7f7e7

Please sign in to comment.