parsl 2025.9.15__py3-none-any.whl → 2025.9.29__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/benchmark/perf.py +22 -9
- parsl/dataflow/dflow.py +2 -3
- parsl/dataflow/memoization.py +9 -19
- parsl/executors/execute_task.py +2 -8
- parsl/executors/flux/executor.py +3 -5
- parsl/executors/high_throughput/executor.py +12 -11
- parsl/executors/high_throughput/interchange.py +8 -6
- parsl/executors/high_throughput/mpi_executor.py +1 -2
- parsl/executors/high_throughput/mpi_resource_management.py +3 -10
- parsl/executors/high_throughput/process_worker_pool.py +15 -3
- parsl/executors/high_throughput/zmq_pipes.py +7 -24
- parsl/executors/radical/executor.py +2 -6
- parsl/executors/radical/rpex_worker.py +2 -2
- parsl/executors/taskvine/executor.py +5 -1
- parsl/serialize/__init__.py +6 -9
- parsl/serialize/facade.py +0 -32
- parsl/tests/configs/taskvine_ex.py +1 -1
- parsl/tests/test_checkpointing/test_periodic.py +15 -9
- parsl/tests/test_execute_task.py +2 -11
- parsl/tests/test_htex/test_interchange_exit_bad_registration.py +0 -1
- parsl/tests/test_htex/test_priority_queue.py +7 -2
- parsl/tests/test_mpi_apps/test_mpi_scheduler.py +18 -43
- parsl/tests/test_regression/test_3874.py +47 -0
- parsl/version.py +1 -1
- {parsl-2025.9.15.data → parsl-2025.9.29.data}/scripts/interchange.py +8 -6
- {parsl-2025.9.15.data → parsl-2025.9.29.data}/scripts/process_worker_pool.py +15 -3
- {parsl-2025.9.15.dist-info → parsl-2025.9.29.dist-info}/METADATA +3 -4
- {parsl-2025.9.15.dist-info → parsl-2025.9.29.dist-info}/RECORD +34 -35
- parsl/tests/configs/local_threads_checkpoint_periodic.py +0 -11
- parsl/tests/test_serialization/test_pack_resource_spec.py +0 -23
- {parsl-2025.9.15.data → parsl-2025.9.29.data}/scripts/exec_parsl_function.py +0 -0
- {parsl-2025.9.15.data → parsl-2025.9.29.data}/scripts/parsl_coprocess.py +0 -0
- {parsl-2025.9.15.dist-info → parsl-2025.9.29.dist-info}/LICENSE +0 -0
- {parsl-2025.9.15.dist-info → parsl-2025.9.29.dist-info}/WHEEL +0 -0
- {parsl-2025.9.15.dist-info → parsl-2025.9.29.dist-info}/entry_points.txt +0 -0
- {parsl-2025.9.15.dist-info → parsl-2025.9.29.dist-info}/top_level.txt +0 -0
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import pytest
|
|
2
|
-
|
|
3
|
-
from parsl.serialize import pack_res_spec_apply_message, unpack_res_spec_apply_message
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
def double(x: int, y: int = 2) -> int:
|
|
7
|
-
return x * y
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@pytest.mark.local
|
|
11
|
-
def test_pack_and_unpack():
|
|
12
|
-
args = (5,)
|
|
13
|
-
kwargs = {'y': 10}
|
|
14
|
-
resource_spec = {'num_nodes': 4}
|
|
15
|
-
packed = pack_res_spec_apply_message(double, args, kwargs, resource_specification=resource_spec)
|
|
16
|
-
|
|
17
|
-
unpacked = unpack_res_spec_apply_message(packed)
|
|
18
|
-
assert len(unpacked) == 4
|
|
19
|
-
u_fn, u_args, u_kwargs, u_res_spec = unpacked
|
|
20
|
-
assert u_fn == double
|
|
21
|
-
assert u_args == args
|
|
22
|
-
assert u_kwargs == kwargs
|
|
23
|
-
assert u_res_spec == resource_spec
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|