parsl 2023.10.9__py3-none-any.whl → 2023.10.16__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- parsl/executors/taskvine/factory.py +10 -1
- parsl/executors/taskvine/manager_config.py +6 -1
- parsl/version.py +1 -1
- {parsl-2023.10.9.dist-info → parsl-2023.10.16.dist-info}/METADATA +2 -2
- {parsl-2023.10.9.dist-info → parsl-2023.10.16.dist-info}/RECORD +12 -12
- {parsl-2023.10.9.data → parsl-2023.10.16.data}/scripts/exec_parsl_function.py +0 -0
- {parsl-2023.10.9.data → parsl-2023.10.16.data}/scripts/parsl_coprocess.py +0 -0
- {parsl-2023.10.9.data → parsl-2023.10.16.data}/scripts/process_worker_pool.py +0 -0
- {parsl-2023.10.9.dist-info → parsl-2023.10.16.dist-info}/LICENSE +0 -0
- {parsl-2023.10.9.dist-info → parsl-2023.10.16.dist-info}/WHEEL +0 -0
- {parsl-2023.10.9.dist-info → parsl-2023.10.16.dist-info}/entry_points.txt +0 -0
- {parsl-2023.10.9.dist-info → parsl-2023.10.16.dist-info}/top_level.txt +0 -0
@@ -3,13 +3,22 @@ import logging
|
|
3
3
|
from parsl.process_loggers import wrap_with_logs
|
4
4
|
from parsl.executors.taskvine.errors import TaskVineFactoryFailure
|
5
5
|
|
6
|
-
|
6
|
+
# This try except clause prevents import errors
|
7
|
+
# when TaskVine is not used in Parsl.
|
8
|
+
try:
|
9
|
+
from ndcctools.taskvine import Factory
|
10
|
+
taskvine_available = True
|
11
|
+
except ImportError:
|
12
|
+
taskvine_available = False
|
7
13
|
|
8
14
|
logger = logging.getLogger(__name__)
|
9
15
|
|
10
16
|
|
11
17
|
@wrap_with_logs
|
12
18
|
def _taskvine_factory(should_stop, factory_config):
|
19
|
+
if not taskvine_available:
|
20
|
+
logger.debug("TaskVine package cannot be found. Please install the ndcctools package.")
|
21
|
+
return
|
13
22
|
logger.debug("Starting TaskVine factory process")
|
14
23
|
|
15
24
|
try:
|
@@ -2,7 +2,12 @@ import socket
|
|
2
2
|
from dataclasses import dataclass
|
3
3
|
from typing import Optional
|
4
4
|
|
5
|
-
|
5
|
+
# This try except clause prevents import errors
|
6
|
+
# when TaskVine is not used in Parsl.
|
7
|
+
try:
|
8
|
+
from ndcctools.taskvine.cvine import VINE_DEFAULT_PORT
|
9
|
+
except ImportError:
|
10
|
+
VINE_DEFAULT_PORT = 0 # use any available port.
|
6
11
|
|
7
12
|
|
8
13
|
@dataclass
|
parsl/version.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: parsl
|
3
|
-
Version: 2023.10.
|
3
|
+
Version: 2023.10.16
|
4
4
|
Summary: Simple data dependent workflows in Python
|
5
5
|
Home-page: https://github.com/Parsl/parsl
|
6
|
-
Download-URL: https://github.com/Parsl/parsl/archive/2023.10.
|
6
|
+
Download-URL: https://github.com/Parsl/parsl/archive/2023.10.16.tar.gz
|
7
7
|
Author: The Parsl Team
|
8
8
|
Author-email: parsl@googlegroups.com
|
9
9
|
License: Apache 2.0
|
@@ -7,7 +7,7 @@ parsl/multiprocessing.py,sha256=uY64wcQmWt2rgylQm4lmr3HE8AxwFGeQQj4l1jKnnrY,1970
|
|
7
7
|
parsl/process_loggers.py,sha256=1G3Rfrh5wuZNo2X03grG4kTYPGOxz7hHCyG6L_A3b0A,1137
|
8
8
|
parsl/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
9
9
|
parsl/utils.py,sha256=OEypbWrcq6ThjARS9BfpJ7Aippawc92fYnume19ILjQ,11604
|
10
|
-
parsl/version.py,sha256=
|
10
|
+
parsl/version.py,sha256=dX--2QfwTD1tOKaQdlh7juYDbKCuXVBWObq1S7FxF_w,131
|
11
11
|
parsl/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
12
12
|
parsl/app/app.py,sha256=8hCd_ZXnyVMrC1wdVebBXwszChDT41Dbz2yJTGLgOLE,8103
|
13
13
|
parsl/app/bash.py,sha256=bx9x1XFwkOTpZZD3CPwnVL9SyNRDjbUGtOnuGLvxN_8,5396
|
@@ -91,10 +91,10 @@ parsl/executors/taskvine/__init__.py,sha256=sWIJdvSLgQKul9dlSjIkNat7yBDgU3SrBF3X
|
|
91
91
|
parsl/executors/taskvine/errors.py,sha256=MNS_NjpvHjwevQXOjqjSEBFroqEWi-LT1ZEVZ2C5Dx0,652
|
92
92
|
parsl/executors/taskvine/exec_parsl_function.py,sha256=udSmN99FGdOT0nSjFpEYNi1r2NWADDvGC4goAHLum3Y,7100
|
93
93
|
parsl/executors/taskvine/executor.py,sha256=R6mr2zkSS9ujEpV_K7crkzptEOGvM_cRpyejukDaM50,30578
|
94
|
-
parsl/executors/taskvine/factory.py,sha256=
|
94
|
+
parsl/executors/taskvine/factory.py,sha256=ShlaS5h3taEpAnVNIlfXM9EO49BsN1BRNLHGYKMjVXo,2637
|
95
95
|
parsl/executors/taskvine/factory_config.py,sha256=AbE2fN2snrF5ITYrrS4DnGn2XkJHUFr_17DYHDHIwq0,3693
|
96
96
|
parsl/executors/taskvine/manager.py,sha256=l2lVSuFS6_VDDADtrPwg12-pTSkZ2qxlraMNC6qIIx0,25067
|
97
|
-
parsl/executors/taskvine/manager_config.py,sha256=
|
97
|
+
parsl/executors/taskvine/manager_config.py,sha256=BuBVBlMioL6A-nPhJ2fy12vZO1K4UQ7n8QCP6rfE1A8,6604
|
98
98
|
parsl/executors/taskvine/utils.py,sha256=l492wEYPRw63DkAy-9gkUP3f5a_2pp4F3RmbM8f8BzM,4105
|
99
99
|
parsl/executors/workqueue/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
100
100
|
parsl/executors/workqueue/errors.py,sha256=cViEm971bK2UVlDk4PUsSJd692aka9dgwwRbI3nypIs,471
|
@@ -402,12 +402,12 @@ parsl/tests/test_threads/test_configs.py,sha256=QA9YjIMAtZ2jmkfOWqBzEfzQQcFVCDiz
|
|
402
402
|
parsl/tests/test_threads/test_lazy_errors.py,sha256=nGhYfCMHFZYSy6YJ4gnAmiLl9SfYs0WVnuvj8DXQ9bw,560
|
403
403
|
parsl/usage_tracking/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
404
404
|
parsl/usage_tracking/usage.py,sha256=TEuAIm_U_G2ojZxvd0bbVa6gZlU61_mVRa2yJC9mGiI,7555
|
405
|
-
parsl-2023.10.
|
406
|
-
parsl-2023.10.
|
407
|
-
parsl-2023.10.
|
408
|
-
parsl-2023.10.
|
409
|
-
parsl-2023.10.
|
410
|
-
parsl-2023.10.
|
411
|
-
parsl-2023.10.
|
412
|
-
parsl-2023.10.
|
413
|
-
parsl-2023.10.
|
405
|
+
parsl-2023.10.16.data/scripts/exec_parsl_function.py,sha256=kYJmpgsswNMqV2-_dOmtgZHhb9OuKMvB-UwaNO2A2z0,7759
|
406
|
+
parsl-2023.10.16.data/scripts/parsl_coprocess.py,sha256=V5yr9c-DvZHaBPvJOUsaAxJo2s1-ZsJqO1EhauYQd2A,5499
|
407
|
+
parsl-2023.10.16.data/scripts/process_worker_pool.py,sha256=wWYHy0FF0NqZ2y45UJJ8Omq0ryEVWlQQxIAeJhoGjTs,32983
|
408
|
+
parsl-2023.10.16.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
|
409
|
+
parsl-2023.10.16.dist-info/METADATA,sha256=BUnMvEIL2XWEJ2RTQUT8unv-6pW4knZohqKwvcMGd_0,3635
|
410
|
+
parsl-2023.10.16.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
411
|
+
parsl-2023.10.16.dist-info/entry_points.txt,sha256=XqnsWDYoEcLbsMcpnYGKLEnSBmaIe1YoM5YsBdJG2tI,176
|
412
|
+
parsl-2023.10.16.dist-info/top_level.txt,sha256=PIheYoUFQtF2icLsgOykgU-Cjuwr2Oi6On2jo5RYgRM,6
|
413
|
+
parsl-2023.10.16.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|