parsl 2025.8.11__py3-none-any.whl → 2025.8.18__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/monitoring/db_manager.py +3 -3
- parsl/tests/test_utils/test_representation_mixin.py +20 -0
- parsl/utils.py +3 -0
- parsl/version.py +1 -1
- {parsl-2025.8.11.dist-info → parsl-2025.8.18.dist-info}/METADATA +2 -2
- {parsl-2025.8.11.dist-info → parsl-2025.8.18.dist-info}/RECORD +14 -14
- {parsl-2025.8.11.data → parsl-2025.8.18.data}/scripts/exec_parsl_function.py +0 -0
- {parsl-2025.8.11.data → parsl-2025.8.18.data}/scripts/interchange.py +0 -0
- {parsl-2025.8.11.data → parsl-2025.8.18.data}/scripts/parsl_coprocess.py +0 -0
- {parsl-2025.8.11.data → parsl-2025.8.18.data}/scripts/process_worker_pool.py +0 -0
- {parsl-2025.8.11.dist-info → parsl-2025.8.18.dist-info}/LICENSE +0 -0
- {parsl-2025.8.11.dist-info → parsl-2025.8.18.dist-info}/WHEEL +0 -0
- {parsl-2025.8.11.dist-info → parsl-2025.8.18.dist-info}/entry_points.txt +0 -0
- {parsl-2025.8.11.dist-info → parsl-2025.8.18.dist-info}/top_level.txt +0 -0
parsl/monitoring/db_manager.py
CHANGED
|
@@ -296,7 +296,7 @@ class DatabaseManager:
|
|
|
296
296
|
set_file_logger(f"{self.run_dir}/database_manager.log", level=logging_level,
|
|
297
297
|
format_string="%(asctime)s.%(msecs)03d %(name)s:%(lineno)d [%(levelname)s] [%(threadName)s %(thread)d] %(message)s")
|
|
298
298
|
|
|
299
|
-
logger.
|
|
299
|
+
logger.info("Initializing Database Manager process")
|
|
300
300
|
|
|
301
301
|
self.db = Database(db_url)
|
|
302
302
|
self.batching_interval = batching_interval
|
|
@@ -581,10 +581,10 @@ class DatabaseManager:
|
|
|
581
581
|
elif x[0] == MessageType.NODE_INFO:
|
|
582
582
|
assert len(x) == 2, "expected NODE_INFO tuple to have exactly two elements"
|
|
583
583
|
|
|
584
|
-
logger.
|
|
584
|
+
logger.debug("Will put {} to pending node queue".format(x[1]))
|
|
585
585
|
self.pending_node_queue.put(x[1])
|
|
586
586
|
elif x[0] == MessageType.BLOCK_INFO:
|
|
587
|
-
logger.
|
|
587
|
+
logger.debug("Will put {} to pending block queue".format(x[1]))
|
|
588
588
|
self.pending_block_queue.put(x[-1])
|
|
589
589
|
else:
|
|
590
590
|
logger.error("Discarding message of unknown type {}".format(x[0]))
|
|
@@ -15,6 +15,12 @@ class GoodReprDefaults(RepresentationMixin):
|
|
|
15
15
|
self.y = y
|
|
16
16
|
|
|
17
17
|
|
|
18
|
+
class GoodReprKeywordOnly(RepresentationMixin):
|
|
19
|
+
def __init__(self, *, x, y):
|
|
20
|
+
self.x = x
|
|
21
|
+
self.y = y
|
|
22
|
+
|
|
23
|
+
|
|
18
24
|
class BadRepr(RepresentationMixin):
|
|
19
25
|
"""This class incorrectly subclasses RepresentationMixin.
|
|
20
26
|
It does not store the parameter x on self.
|
|
@@ -64,6 +70,20 @@ def test_repr_good_defaults_defaulted():
|
|
|
64
70
|
assert "default 2" in r
|
|
65
71
|
|
|
66
72
|
|
|
73
|
+
@pytest.mark.local
|
|
74
|
+
def test_repr_good_keyword_only():
|
|
75
|
+
p1 = "parameter 1"
|
|
76
|
+
p2 = "the second parameter"
|
|
77
|
+
|
|
78
|
+
# repr should not raise an exception
|
|
79
|
+
r = repr(GoodReprKeywordOnly(x=p1, y=p2))
|
|
80
|
+
|
|
81
|
+
# representation should contain both values supplied
|
|
82
|
+
# at object creation.
|
|
83
|
+
assert p1 in r
|
|
84
|
+
assert p2 in r
|
|
85
|
+
|
|
86
|
+
|
|
67
87
|
@pytest.mark.local
|
|
68
88
|
def test_repr_bad():
|
|
69
89
|
p1 = "parameter 1"
|
parsl/utils.py
CHANGED
|
@@ -250,6 +250,9 @@ class RepresentationMixin:
|
|
|
250
250
|
args = [getattr(self, a, default) for a in argspec.args[1:]]
|
|
251
251
|
kwargs = {key: getattr(self, key, default) for key in defaults}
|
|
252
252
|
|
|
253
|
+
kwonlyargs = {key: getattr(self, key, default) for key in argspec.kwonlyargs}
|
|
254
|
+
kwargs.update(kwonlyargs)
|
|
255
|
+
|
|
253
256
|
def assemble_multiline(args: List[str], kwargs: Dict[str, object]) -> str:
|
|
254
257
|
def indent(text: str) -> str:
|
|
255
258
|
lines = text.splitlines()
|
parsl/version.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: parsl
|
|
3
|
-
Version: 2025.8.
|
|
3
|
+
Version: 2025.8.18
|
|
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.08.
|
|
6
|
+
Download-URL: https://github.com/Parsl/parsl/archive/2025.08.18.tar.gz
|
|
7
7
|
Author: The Parsl Team
|
|
8
8
|
Author-email: parsl@googlegroups.com
|
|
9
9
|
License: Apache 2.0
|
|
@@ -7,8 +7,8 @@ parsl/log_utils.py,sha256=7L3uzvK9ew11pj5D25us-Hs12QTL_jwXNs1LL8dZhOI,3559
|
|
|
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
|
-
parsl/utils.py,sha256=
|
|
11
|
-
parsl/version.py,sha256=
|
|
10
|
+
parsl/utils.py,sha256=smVYTusMoYUTD5N9OxTW5bh6o2iioh0NnfjrBAj8zYk,14452
|
|
11
|
+
parsl/version.py,sha256=xG7rXr7Q4ZTn3fnU3NfXjabPV4YvkjarV5r05DuW3O0,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
|
|
@@ -116,7 +116,7 @@ parsl/launchers/base.py,sha256=CblcvPTJiu-MNLWaRtFe29SZQ0BpTOlaY8CGcHdlHIE,538
|
|
|
116
116
|
parsl/launchers/errors.py,sha256=8YMV_CHpBNVa4eXkGE4x5DaFQlZkDCRCHmBktYcY6TA,467
|
|
117
117
|
parsl/launchers/launchers.py,sha256=cQsNsHuCOL_nQTjPXf0--YsgsDoMoJ77bO1Wt4ncLjs,15134
|
|
118
118
|
parsl/monitoring/__init__.py,sha256=0ywNz6i0lM1xo_7_BIxhETDGeVd2C_0wwD7qgeaMR4c,83
|
|
119
|
-
parsl/monitoring/db_manager.py,sha256=
|
|
119
|
+
parsl/monitoring/db_manager.py,sha256=7aWQbvkJJUBNQ9DwwmJPZcih-0OB5OBU_pFvy8d68V4,33297
|
|
120
120
|
parsl/monitoring/errors.py,sha256=VQNIMoo5Ro8GlJ-Ad-6q-YA0y6sTc-IibSdNXZC-GuU,306
|
|
121
121
|
parsl/monitoring/message_type.py,sha256=Khn88afNxcOIciKiCK4GLnn90I5BlRTiOL3zK-P07yQ,401
|
|
122
122
|
parsl/monitoring/monitoring.py,sha256=oIXwI_oxan-b1XdTneoza--4uTqYF6ar2X4zWgarGVQ,6602
|
|
@@ -445,7 +445,7 @@ parsl/tests/test_threads/test_lazy_errors.py,sha256=6dJ65py5vUZkc0aRLL-LHuxBBp87
|
|
|
445
445
|
parsl/tests/test_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
446
446
|
parsl/tests/test_utils/test_execute_wait.py,sha256=J796rGuv2qi2spChgAPFB1oPETdnvdLOplpErDlOwL8,880
|
|
447
447
|
parsl/tests/test_utils/test_logutils.py,sha256=D4ELQ6xmoju7rxPwom3eB6N8JdTwNhUuAuNOfd-lRQE,1470
|
|
448
|
-
parsl/tests/test_utils/test_representation_mixin.py,sha256=
|
|
448
|
+
parsl/tests/test_utils/test_representation_mixin.py,sha256=U8IprbVDWrac-dj2DZVHgxgc-Az_-LzdA2IchjMq9as,2839
|
|
449
449
|
parsl/tests/test_utils/test_sanitize_dns.py,sha256=8P_v5a5JLGU76OYf0LtclAwqJxGU0fMh_OZMVkMke3I,2954
|
|
450
450
|
parsl/tests/unit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
451
451
|
parsl/tests/unit/test_address.py,sha256=0JxaEyvEiLIr5aKvaNnSv0Z9ta3kNllsLS_aby23QPs,716
|
|
@@ -456,13 +456,13 @@ parsl/usage_tracking/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
|
|
|
456
456
|
parsl/usage_tracking/api.py,sha256=iaCY58Dc5J4UM7_dJzEEs871P1p1HdxBMtNGyVdzc9g,1821
|
|
457
457
|
parsl/usage_tracking/levels.py,sha256=xbfzYEsd55KiZJ-mzNgPebvOH4rRHum04hROzEf41tU,291
|
|
458
458
|
parsl/usage_tracking/usage.py,sha256=hbMo5BYgIWqMcFWqN-HYP1TbwNrTonpv-usfwnCFJKY,9212
|
|
459
|
-
parsl-2025.8.
|
|
460
|
-
parsl-2025.8.
|
|
461
|
-
parsl-2025.8.
|
|
462
|
-
parsl-2025.8.
|
|
463
|
-
parsl-2025.8.
|
|
464
|
-
parsl-2025.8.
|
|
465
|
-
parsl-2025.8.
|
|
466
|
-
parsl-2025.8.
|
|
467
|
-
parsl-2025.8.
|
|
468
|
-
parsl-2025.8.
|
|
459
|
+
parsl-2025.8.18.data/scripts/exec_parsl_function.py,sha256=YXKVVIa4zXmOtz-0Ca4E_5nQfN_3S2bh2tB75uZZB4w,7774
|
|
460
|
+
parsl-2025.8.18.data/scripts/interchange.py,sha256=dh9_Q5bLvgHLhSRAXrFIlOd5Yo-ZkudDGFWz0N3hQBg,25951
|
|
461
|
+
parsl-2025.8.18.data/scripts/parsl_coprocess.py,sha256=zrVjEqQvFOHxsLufPi00xzMONagjVwLZbavPM7bbjK4,5722
|
|
462
|
+
parsl-2025.8.18.data/scripts/process_worker_pool.py,sha256=-5VLVjeab6oROulx7OwI9tdNNHd6uap45I1jltm-UDc,40524
|
|
463
|
+
parsl-2025.8.18.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
|
|
464
|
+
parsl-2025.8.18.dist-info/METADATA,sha256=-CuAgaQdr1oTg-0LIzQl0oNgbcUjiMv1kEk83tRfaZc,4055
|
|
465
|
+
parsl-2025.8.18.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
466
|
+
parsl-2025.8.18.dist-info/entry_points.txt,sha256=XqnsWDYoEcLbsMcpnYGKLEnSBmaIe1YoM5YsBdJG2tI,176
|
|
467
|
+
parsl-2025.8.18.dist-info/top_level.txt,sha256=PIheYoUFQtF2icLsgOykgU-Cjuwr2Oi6On2jo5RYgRM,6
|
|
468
|
+
parsl-2025.8.18.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|