Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .ci_support/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ dependencies:
- jinja2 =3.1.2
- paramiko =3.2.0
- tqdm =4.65.0
- pympipool =0.5.4
- pympipool =0.5.5
- cloudpickle =2.2.1
5 changes: 2 additions & 3 deletions pysqa/executor/executor.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import os
import queue
from threading import Thread
from concurrent.futures import Future, Executor as FutureExecutor

from pympipool import cancel_items_in_queue
from pympipool import cancel_items_in_queue, RaisingThread
from pysqa.executor.helper import (
reload_previous_futures,
find_executed_tasks,
Expand Down Expand Up @@ -34,7 +33,7 @@ def __init__(self, cwd=None, queue_adapter=None, queue_adapter_kwargs=None):
command=command,
**queue_adapter_kwargs
)
self._process = Thread(
self._process = RaisingThread(
target=find_executed_tasks,
kwargs={
"future_queue": self._task_queue,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
extras_require={
"sge": ['defusedxml==0.7.1'],
"remote": ['paramiko==3.2.0', 'tqdm==4.65.0'],
"executor": ['pympipool==0.5.4', 'cloudpickle==2.2.1'],
"executor": ['pympipool==0.5.5', 'cloudpickle==2.2.1'],
},
cmdclass=versioneer.get_cmdclass(),
entry_points={
Expand Down