parsl 2024.12.9__py3-none-any.whl → 2024.12.23__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.
@@ -133,6 +133,7 @@ class RadicalPilotExecutor(ParslExecutor, RepresentationMixin):
133
133
  self.resource = resource
134
134
  self._uid = RPEX.lower()
135
135
  self.bulk_mode = bulk_mode
136
+ self._terminate = mt.Event()
136
137
  self.working_dir = working_dir
137
138
  self.pilot_kwargs = rpex_pilot_kwargs
138
139
  self.future_tasks: Dict[str, Future] = {}
@@ -532,7 +533,7 @@ class RadicalPilotExecutor(ParslExecutor, RepresentationMixin):
532
533
 
533
534
  bulk = list()
534
535
 
535
- while True:
536
+ while not self._terminate.is_set():
536
537
 
537
538
  now = time.time() # time of last submission
538
539
 
@@ -552,6 +553,9 @@ class RadicalPilotExecutor(ParslExecutor, RepresentationMixin):
552
553
  if len(bulk) >= self._max_bulk_size:
553
554
  break
554
555
 
556
+ if self._terminate.is_set():
557
+ break
558
+
555
559
  if bulk:
556
560
  logger.debug('submit bulk: %d', len(bulk))
557
561
  self.tmgr.submit_tasks(bulk)
@@ -588,6 +592,13 @@ class RadicalPilotExecutor(ParslExecutor, RepresentationMixin):
588
592
  def shutdown(self, hub=True, targets='all', block=False):
589
593
  """Shutdown the executor, including all RADICAL-Pilot components."""
590
594
  logger.info("RadicalPilotExecutor is terminating...")
595
+
596
+ self._terminate.set()
597
+
598
+ # ensure we are in the bulk submssion mode
599
+ if self.bulk_mode:
600
+ self._bulk_thread.join()
601
+
591
602
  self.session.close(download=True)
592
603
  logger.info("RadicalPilotExecutor is terminated.")
593
604
 
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 = '2024.12.09'
6
+ VERSION = '2024.12.23'
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: parsl
3
- Version: 2024.12.9
3
+ Version: 2024.12.23
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/2024.12.09.tar.gz
6
+ Download-URL: https://github.com/Parsl/parsl/archive/2024.12.23.tar.gz
7
7
  Author: The Parsl Team
8
8
  Author-email: parsl@googlegroups.com
9
9
  License: Apache 2.0
@@ -52,8 +52,8 @@ Requires-Dist: pyyaml; extra == "all"
52
52
  Requires-Dist: cffi; extra == "all"
53
53
  Requires-Dist: jsonschema; extra == "all"
54
54
  Requires-Dist: proxystore; extra == "all"
55
- Requires-Dist: radical.pilot==1.60; extra == "all"
56
- Requires-Dist: radical.utils==1.60; extra == "all"
55
+ Requires-Dist: radical.pilot==1.90; extra == "all"
56
+ Requires-Dist: radical.utils==1.90; extra == "all"
57
57
  Provides-Extra: aws
58
58
  Requires-Dist: boto3; extra == "aws"
59
59
  Provides-Extra: azure
@@ -80,8 +80,8 @@ Requires-Dist: sqlalchemy<2,>=1.4; extra == "monitoring"
80
80
  Provides-Extra: proxystore
81
81
  Requires-Dist: proxystore; extra == "proxystore"
82
82
  Provides-Extra: radical-pilot
83
- Requires-Dist: radical.pilot==1.60; extra == "radical-pilot"
84
- Requires-Dist: radical.utils==1.60; extra == "radical-pilot"
83
+ Requires-Dist: radical.pilot==1.90; extra == "radical-pilot"
84
+ Requires-Dist: radical.utils==1.90; extra == "radical-pilot"
85
85
  Provides-Extra: visualization
86
86
  Requires-Dist: pydot; extra == "visualization"
87
87
  Requires-Dist: networkx<2.6,>=2.5; extra == "visualization"
@@ -8,7 +8,7 @@ parsl/multiprocessing.py,sha256=MyaEcEq-Qf860u7V98u-PZrPNdtzOZL_NW6EhIJnmfQ,1937
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=5FvHIMao3Ik0Rm2p2ieL1KQcQcYXc5K83Jrx5csi-B4,14301
11
- parsl/version.py,sha256=89c7TwKFCAs9EAlYEgT3hhLOowN-yyktIHn2PzHdeaQ,131
11
+ parsl/version.py,sha256=6l0WNaP0JU1FwTVCPx69g0nu1kKQFf-XcxlNgQVkHuo,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
@@ -82,7 +82,7 @@ parsl/executors/high_throughput/probe.py,sha256=QOEaliO3x5cB6ltMOZMsZQ-ath9AAuFq
82
82
  parsl/executors/high_throughput/process_worker_pool.py,sha256=3zXe3_X5GvbTOlfeJJD_E0ssfJqkAfkqXHfeU7mymdI,41865
83
83
  parsl/executors/high_throughput/zmq_pipes.py,sha256=XtNTxbnt9UHfhiduj9f3UkviYRebUy4ierhEGvowB8k,9040
84
84
  parsl/executors/radical/__init__.py,sha256=CKbtV2numw5QvgIBq1htMUrt9TqDCIC2zifyf2svTNU,186
85
- parsl/executors/radical/executor.py,sha256=426cMt6d8uJFZ_7Ub1kCslaND4OKtBX5WZdz-0RXjMk,22554
85
+ parsl/executors/radical/executor.py,sha256=en2TKzZnJYU_juojkM_aZUdWhbAgutAYn_EL6HGpfSY,22835
86
86
  parsl/executors/radical/rpex_resources.py,sha256=Q7-0u3K447LBCe2y7mVcdw6jqWI7SdPXxCKhkr6FoRQ,5139
87
87
  parsl/executors/radical/rpex_worker.py,sha256=z6r82ZujKb6sdKIdHsQ_5EBMDIQieeGcrlt6kGLFo4M,1830
88
88
  parsl/executors/taskvine/__init__.py,sha256=9rwp3M8B0YyEhZMLO0RHaNw7u1nc01WHbXLqnBTanu0,293
@@ -449,13 +449,13 @@ parsl/usage_tracking/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
449
449
  parsl/usage_tracking/api.py,sha256=iaCY58Dc5J4UM7_dJzEEs871P1p1HdxBMtNGyVdzc9g,1821
450
450
  parsl/usage_tracking/levels.py,sha256=xbfzYEsd55KiZJ-mzNgPebvOH4rRHum04hROzEf41tU,291
451
451
  parsl/usage_tracking/usage.py,sha256=tcoZ2OUjsQVakG8Uu9_HFuEdzpSHyt4JarSRcLGnSMw,8918
452
- parsl-2024.12.9.data/scripts/exec_parsl_function.py,sha256=YXKVVIa4zXmOtz-0Ca4E_5nQfN_3S2bh2tB75uZZB4w,7774
453
- parsl-2024.12.9.data/scripts/interchange.py,sha256=rUhF_Bwk5NOqLhh-HgP-ei_gclKnPIJJ7uS32p0j-XI,30129
454
- parsl-2024.12.9.data/scripts/parsl_coprocess.py,sha256=zrVjEqQvFOHxsLufPi00xzMONagjVwLZbavPM7bbjK4,5722
455
- parsl-2024.12.9.data/scripts/process_worker_pool.py,sha256=82FoJTye2SysJzPg-N8BpenuHGU7hOI8-Bedq8HV9C0,41851
456
- parsl-2024.12.9.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
457
- parsl-2024.12.9.dist-info/METADATA,sha256=I8p776BO35B6gnl3ZVCdUuy5hic2_mo_lfzDgRIxGXI,3847
458
- parsl-2024.12.9.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
459
- parsl-2024.12.9.dist-info/entry_points.txt,sha256=XqnsWDYoEcLbsMcpnYGKLEnSBmaIe1YoM5YsBdJG2tI,176
460
- parsl-2024.12.9.dist-info/top_level.txt,sha256=PIheYoUFQtF2icLsgOykgU-Cjuwr2Oi6On2jo5RYgRM,6
461
- parsl-2024.12.9.dist-info/RECORD,,
452
+ parsl-2024.12.23.data/scripts/exec_parsl_function.py,sha256=YXKVVIa4zXmOtz-0Ca4E_5nQfN_3S2bh2tB75uZZB4w,7774
453
+ parsl-2024.12.23.data/scripts/interchange.py,sha256=rUhF_Bwk5NOqLhh-HgP-ei_gclKnPIJJ7uS32p0j-XI,30129
454
+ parsl-2024.12.23.data/scripts/parsl_coprocess.py,sha256=zrVjEqQvFOHxsLufPi00xzMONagjVwLZbavPM7bbjK4,5722
455
+ parsl-2024.12.23.data/scripts/process_worker_pool.py,sha256=82FoJTye2SysJzPg-N8BpenuHGU7hOI8-Bedq8HV9C0,41851
456
+ parsl-2024.12.23.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
457
+ parsl-2024.12.23.dist-info/METADATA,sha256=19V6tjgV6yT4ycIAUFZS-seRIXUzQwSUvk6rebdbAt0,3848
458
+ parsl-2024.12.23.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
459
+ parsl-2024.12.23.dist-info/entry_points.txt,sha256=XqnsWDYoEcLbsMcpnYGKLEnSBmaIe1YoM5YsBdJG2tI,176
460
+ parsl-2024.12.23.dist-info/top_level.txt,sha256=PIheYoUFQtF2icLsgOykgU-Cjuwr2Oi6On2jo5RYgRM,6
461
+ parsl-2024.12.23.dist-info/RECORD,,