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.

Files changed (36) hide show
  1. parsl/benchmark/perf.py +22 -9
  2. parsl/dataflow/dflow.py +2 -3
  3. parsl/dataflow/memoization.py +9 -19
  4. parsl/executors/execute_task.py +2 -8
  5. parsl/executors/flux/executor.py +3 -5
  6. parsl/executors/high_throughput/executor.py +12 -11
  7. parsl/executors/high_throughput/interchange.py +8 -6
  8. parsl/executors/high_throughput/mpi_executor.py +1 -2
  9. parsl/executors/high_throughput/mpi_resource_management.py +3 -10
  10. parsl/executors/high_throughput/process_worker_pool.py +15 -3
  11. parsl/executors/high_throughput/zmq_pipes.py +7 -24
  12. parsl/executors/radical/executor.py +2 -6
  13. parsl/executors/radical/rpex_worker.py +2 -2
  14. parsl/executors/taskvine/executor.py +5 -1
  15. parsl/serialize/__init__.py +6 -9
  16. parsl/serialize/facade.py +0 -32
  17. parsl/tests/configs/taskvine_ex.py +1 -1
  18. parsl/tests/test_checkpointing/test_periodic.py +15 -9
  19. parsl/tests/test_execute_task.py +2 -11
  20. parsl/tests/test_htex/test_interchange_exit_bad_registration.py +0 -1
  21. parsl/tests/test_htex/test_priority_queue.py +7 -2
  22. parsl/tests/test_mpi_apps/test_mpi_scheduler.py +18 -43
  23. parsl/tests/test_regression/test_3874.py +47 -0
  24. parsl/version.py +1 -1
  25. {parsl-2025.9.15.data → parsl-2025.9.29.data}/scripts/interchange.py +8 -6
  26. {parsl-2025.9.15.data → parsl-2025.9.29.data}/scripts/process_worker_pool.py +15 -3
  27. {parsl-2025.9.15.dist-info → parsl-2025.9.29.dist-info}/METADATA +3 -4
  28. {parsl-2025.9.15.dist-info → parsl-2025.9.29.dist-info}/RECORD +34 -35
  29. parsl/tests/configs/local_threads_checkpoint_periodic.py +0 -11
  30. parsl/tests/test_serialization/test_pack_resource_spec.py +0 -23
  31. {parsl-2025.9.15.data → parsl-2025.9.29.data}/scripts/exec_parsl_function.py +0 -0
  32. {parsl-2025.9.15.data → parsl-2025.9.29.data}/scripts/parsl_coprocess.py +0 -0
  33. {parsl-2025.9.15.dist-info → parsl-2025.9.29.dist-info}/LICENSE +0 -0
  34. {parsl-2025.9.15.dist-info → parsl-2025.9.29.dist-info}/WHEEL +0 -0
  35. {parsl-2025.9.15.dist-info → parsl-2025.9.29.dist-info}/entry_points.txt +0 -0
  36. {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