parsl 2025.7.14__py3-none-any.whl → 2025.7.28__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.

Potentially problematic release.


This version of parsl might be problematic. Click here for more details.

parsl/dataflow/dflow.py CHANGED
@@ -1185,12 +1185,9 @@ class DataFlowKernel:
1185
1185
 
1186
1186
  @wrap_with_logs
1187
1187
  def cleanup(self) -> None:
1188
- """DataFlowKernel cleanup.
1189
-
1190
- This involves releasing all resources explicitly.
1191
-
1192
- We call scale_in on each of the executors and call executor.shutdown.
1188
+ """Clean-up by closing all of the components used by the DFK
1193
1189
  """
1190
+
1194
1191
  logger.info("DFK cleanup initiated")
1195
1192
 
1196
1193
  # this check won't detect two DFK cleanups happening from
parsl/log_utils.py CHANGED
@@ -1,14 +1,9 @@
1
- """Following the general logging philosophy of python libraries, by default
2
- Parsl doesn't log anything. However the following helper functions are
3
- provided for logging:
4
-
5
- 1. set_stream_logger
6
- This sets the logger to the StreamHandler. This is quite useful when working from
7
- a Jupyter notebook.
8
-
9
- 2. set_file_logger
10
- This sets the logging to a file. This is ideal for reporting issues to the dev team.
1
+ """This module contains helpers for configuring logging. By default,
2
+ `set_file_logger` is invoked by the DataFlowKernel initializer to log
3
+ parsl messages to parsl.log.
11
4
 
5
+ `set_stream_logger` which by default logs to stderr, can be useful
6
+ when working in a Jupyter notebook.
12
7
  """
13
8
  import io
14
9
  import logging
@@ -27,7 +22,7 @@ DEFAULT_FORMAT = (
27
22
  def set_stream_logger(name: str = 'parsl',
28
23
  level: int = logging.DEBUG,
29
24
  format_string: Optional[str] = None,
30
- stream: Optional[io.TextIOWrapper] = None) -> logging.Logger:
25
+ stream: Optional[io.TextIOWrapper] = None) -> None:
31
26
  """Add a stream log handler.
32
27
 
33
28
  Args:
@@ -36,9 +31,6 @@ def set_stream_logger(name: str = 'parsl',
36
31
  - format_string (string) : Set to None by default.
37
32
  - stream (io.TextIOWrapper) : Specify sys.stdout or sys.stderr for stream.
38
33
  If not specified, the default stream for logging.StreamHandler is used.
39
-
40
- Returns:
41
- - logger for specified name
42
34
  """
43
35
  if format_string is None:
44
36
  # format_string = "%(asctime)s %(name)s [%(levelname)s] Thread:%(thread)d %(message)s"
@@ -58,14 +50,12 @@ def set_stream_logger(name: str = 'parsl',
58
50
  futures_logger = logging.getLogger("concurrent.futures")
59
51
  futures_logger.addHandler(handler)
60
52
 
61
- return logger
62
-
63
53
 
64
54
  @typeguard.typechecked
65
55
  def set_file_logger(filename: str,
66
56
  name: str = 'parsl',
67
57
  level: int = logging.DEBUG,
68
- format_string: Optional[str] = None) -> logging.Logger:
58
+ format_string: Optional[str] = None) -> None:
69
59
  """Add a file log handler.
70
60
 
71
61
  Args:
@@ -73,9 +63,6 @@ def set_file_logger(filename: str,
73
63
  - name (string): Logger name
74
64
  - level (logging.LEVEL): Set the logging level.
75
65
  - format_string (string): Set the format string
76
-
77
- Returns:
78
- - logger for specified name
79
66
  """
80
67
  if format_string is None:
81
68
  format_string = DEFAULT_FORMAT
@@ -92,5 +79,3 @@ def set_file_logger(filename: str,
92
79
  # concurrent.futures
93
80
  futures_logger = logging.getLogger("concurrent.futures")
94
81
  futures_logger.addHandler(handler)
95
-
96
- return logger
parsl/version.py CHANGED
@@ -3,4 +3,4 @@
3
3
  Year.Month.Day[alpha/beta/..]
4
4
  Alphas will be numbered like this -> 2024.12.10a0
5
5
  """
6
- VERSION = '2025.07.14'
6
+ VERSION = '2025.07.28'
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: parsl
3
- Version: 2025.7.14
3
+ Version: 2025.7.28
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/2025.07.14.tar.gz
6
+ Download-URL: https://github.com/Parsl/parsl/archive/2025.07.28.tar.gz
7
7
  Author: The Parsl Team
8
8
  Author-email: parsl@googlegroups.com
9
9
  License: Apache 2.0
@@ -3,12 +3,12 @@ parsl/addresses.py,sha256=z5GnIWdbzz4klRiMZtX8XmRT7OP8dJYvAk8RIKD2kzI,5290
3
3
  parsl/config.py,sha256=p5HQoxLj5aMagUAYfngcXG2kw0s6SJoc6u7vH2sVhPU,9635
4
4
  parsl/curvezmq.py,sha256=6Zi7RqTP_eKWi3DFgapfK2t-Jw8vJS-ZtN1bsrByPeo,7073
5
5
  parsl/errors.py,sha256=SzINzQFZDBDbj9l-DPQznD0TbGkNhHIRAPkcBCogf_A,1019
6
- parsl/log_utils.py,sha256=u14Fkl5eDfS4HMpl0JjseNNPdbvPaugWPRQj1_af_Zo,3273
6
+ parsl/log_utils.py,sha256=k2KTVUWpOfN8-AWSxSwlbD6NyyHCX4uasSBX9__N3wE,2975
7
7
  parsl/multiprocessing.py,sha256=JNAfgdZvQSsxVyUp229OOUqWwf_ZUhpmw8X9CdF3i6k,3614
8
8
  parsl/process_loggers.py,sha256=uQ7Gd0W72Jz7rrcYlOMfLsAEhkRltxXJL2MgdduJjEw,1136
9
9
  parsl/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  parsl/utils.py,sha256=codTX6_KLhgeTwNkRzc1lo4bgc1M93eJ-lkqOO98fvk,14331
11
- parsl/version.py,sha256=KbW0mhtCHETE2kbcLlaibu0WKAEYJ0DPYK_4viy4Uyc,131
11
+ parsl/version.py,sha256=yFyALsbXR-ZucBIi4SKO4CajnClMjswTKGJVj9v1-W0,131
12
12
  parsl/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
13
  parsl/app/app.py,sha256=0gbM4AH2OtFOLsv07I5nglpElcwMSOi-FzdZZfrk7So,8532
14
14
  parsl/app/bash.py,sha256=jm2AvePlCT9DZR7H_4ANDWxatp5dN_22FUlT_gWhZ-g,5528
@@ -55,7 +55,7 @@ parsl/data_provider/staging.py,sha256=ZDZuuFg38pjUStegKPcvPsfGp3iMeReMzfU6DSwtJj
55
55
  parsl/data_provider/zip.py,sha256=S4kVuH9lxAegRURYbvIUR7EYYBOccyslaqyCrVWUBhw,4497
56
56
  parsl/dataflow/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
57
57
  parsl/dataflow/dependency_resolvers.py,sha256=Om8Dgh7a0ZwgXAc6TlhxLSzvxXHDlNNV1aBNiD3JTNY,3325
58
- parsl/dataflow/dflow.py,sha256=ztSXUn5gmdafikpaPFe88jMkT-1gu4p3dFNY85WdWA8,62588
58
+ parsl/dataflow/dflow.py,sha256=CVjEwikbq2FHJuHhxdVaBYT-WjjmvFOE6H2oo6PKwAE,62485
59
59
  parsl/dataflow/errors.py,sha256=daVfr2BWs1zRsGD6JtosEMttWHvK1df1Npiu_MUvFKg,3998
60
60
  parsl/dataflow/futures.py,sha256=08LuP-HFiHBIZmeKCjlsazw_WpQ5fwevrU2_WbidkYw,6080
61
61
  parsl/dataflow/memoization.py,sha256=QUkTduZ_gdr8i08VWNWrqhfEvoMGsPDZegWUE2_7sGQ,12579
@@ -463,13 +463,13 @@ parsl/usage_tracking/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
463
463
  parsl/usage_tracking/api.py,sha256=iaCY58Dc5J4UM7_dJzEEs871P1p1HdxBMtNGyVdzc9g,1821
464
464
  parsl/usage_tracking/levels.py,sha256=xbfzYEsd55KiZJ-mzNgPebvOH4rRHum04hROzEf41tU,291
465
465
  parsl/usage_tracking/usage.py,sha256=hbMo5BYgIWqMcFWqN-HYP1TbwNrTonpv-usfwnCFJKY,9212
466
- parsl-2025.7.14.data/scripts/exec_parsl_function.py,sha256=YXKVVIa4zXmOtz-0Ca4E_5nQfN_3S2bh2tB75uZZB4w,7774
467
- parsl-2025.7.14.data/scripts/interchange.py,sha256=dh9_Q5bLvgHLhSRAXrFIlOd5Yo-ZkudDGFWz0N3hQBg,25951
468
- parsl-2025.7.14.data/scripts/parsl_coprocess.py,sha256=zrVjEqQvFOHxsLufPi00xzMONagjVwLZbavPM7bbjK4,5722
469
- parsl-2025.7.14.data/scripts/process_worker_pool.py,sha256=-5VLVjeab6oROulx7OwI9tdNNHd6uap45I1jltm-UDc,40524
470
- parsl-2025.7.14.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
471
- parsl-2025.7.14.dist-info/METADATA,sha256=53WZksC8MrkVsgEo77KIKWYY62EknCy5sN6srl3X6cc,4055
472
- parsl-2025.7.14.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
473
- parsl-2025.7.14.dist-info/entry_points.txt,sha256=XqnsWDYoEcLbsMcpnYGKLEnSBmaIe1YoM5YsBdJG2tI,176
474
- parsl-2025.7.14.dist-info/top_level.txt,sha256=PIheYoUFQtF2icLsgOykgU-Cjuwr2Oi6On2jo5RYgRM,6
475
- parsl-2025.7.14.dist-info/RECORD,,
466
+ parsl-2025.7.28.data/scripts/exec_parsl_function.py,sha256=YXKVVIa4zXmOtz-0Ca4E_5nQfN_3S2bh2tB75uZZB4w,7774
467
+ parsl-2025.7.28.data/scripts/interchange.py,sha256=dh9_Q5bLvgHLhSRAXrFIlOd5Yo-ZkudDGFWz0N3hQBg,25951
468
+ parsl-2025.7.28.data/scripts/parsl_coprocess.py,sha256=zrVjEqQvFOHxsLufPi00xzMONagjVwLZbavPM7bbjK4,5722
469
+ parsl-2025.7.28.data/scripts/process_worker_pool.py,sha256=-5VLVjeab6oROulx7OwI9tdNNHd6uap45I1jltm-UDc,40524
470
+ parsl-2025.7.28.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
471
+ parsl-2025.7.28.dist-info/METADATA,sha256=gsr5RQIk_sAza93k5y9gCYVycf6KhKAIF2b8wnaRiSc,4055
472
+ parsl-2025.7.28.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
473
+ parsl-2025.7.28.dist-info/entry_points.txt,sha256=XqnsWDYoEcLbsMcpnYGKLEnSBmaIe1YoM5YsBdJG2tI,176
474
+ parsl-2025.7.28.dist-info/top_level.txt,sha256=PIheYoUFQtF2icLsgOykgU-Cjuwr2Oi6On2jo5RYgRM,6
475
+ parsl-2025.7.28.dist-info/RECORD,,