Skip to content

Commit 43024b0

Browse files
committed
Merge commit '734689781d022914eb541809c8d6e3e6932d94fd' into nested_executor
2 parents e722541 + 7346897 commit 43024b0

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.15.17
3+
rev: v0.15.20
44
hooks:
55
- id: ruff
66
name: ruff lint

src/executorlib/task_scheduler/interactive/spawner_pysqa.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def _start_process_helper(
189189
if self._cwd is not None:
190190
working_directory = os.path.join(self._cwd, hash)
191191
else:
192-
working_directory = os.path.abspath(hash)
192+
working_directory = os.path.join(os.path.abspath("executorlib_cache"), hash)
193193
set_current_directory_in_environment()
194194
return queue_adapter.submit_job(
195195
command=" ".join(self.generate_command(command_lst=command_lst)),
@@ -242,8 +242,6 @@ def create_pysqa_block_allocation_scheduler(
242242
executor_kwargs["cwd"] = os.path.abspath(cache_directory)
243243
if cache_directory is not None:
244244
executor_kwargs["cache_directory"] = os.path.abspath(cache_directory)
245-
else:
246-
executor_kwargs["cache_directory"] = os.path.abspath(".")
247245
executor_kwargs["hostname_localhost"] = hostname_localhost
248246
executor_kwargs["log_obj_size"] = log_obj_size
249247
executor_kwargs["pmi_mode"] = pmi_mode

0 commit comments

Comments
 (0)