cluster-tools 2.5.0__tar.gz → 3.0.0__tar.gz

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.
Files changed (39) hide show
  1. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/PKG-INFO +1 -1
  2. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/cluster_tools/executors/dask.py +7 -0
  3. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/cluster_tools/schedulers/kube.py +7 -0
  4. cluster_tools-3.0.0/cluster_tools/version.py +1 -0
  5. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/cluster_tools.egg-info/PKG-INFO +1 -1
  6. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/pyproject.toml +3 -3
  7. cluster_tools-2.5.0/cluster_tools/version.py +0 -1
  8. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/LICENSE +0 -0
  9. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/README.md +0 -0
  10. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/cluster_tools/__init__.py +0 -0
  11. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/cluster_tools/_utils/call.py +0 -0
  12. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/cluster_tools/_utils/file_wait_thread.py +0 -0
  13. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/cluster_tools/_utils/multiprocessing_logging_handler.py +0 -0
  14. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/cluster_tools/_utils/pickling.py +0 -0
  15. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/cluster_tools/_utils/reflection.py +0 -0
  16. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/cluster_tools/_utils/string_.py +0 -0
  17. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/cluster_tools/_utils/tailf.py +0 -0
  18. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/cluster_tools/_utils/warning.py +0 -0
  19. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/cluster_tools/executor_protocol.py +0 -0
  20. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/cluster_tools/executors/multiprocessing_.py +0 -0
  21. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/cluster_tools/executors/multiprocessing_pickle.py +0 -0
  22. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/cluster_tools/executors/sequential.py +0 -0
  23. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/cluster_tools/executors/sequential_pickle.py +0 -0
  24. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/cluster_tools/remote.py +0 -0
  25. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/cluster_tools/schedulers/__init__.py +0 -0
  26. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/cluster_tools/schedulers/cluster_executor.py +0 -0
  27. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/cluster_tools/schedulers/pbs.py +0 -0
  28. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/cluster_tools/schedulers/slurm.py +0 -0
  29. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/cluster_tools.egg-info/SOURCES.txt +0 -0
  30. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/cluster_tools.egg-info/dependency_links.txt +0 -0
  31. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/cluster_tools.egg-info/requires.txt +0 -0
  32. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/cluster_tools.egg-info/top_level.txt +0 -0
  33. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/setup.cfg +0 -0
  34. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/tests/test_all.py +0 -0
  35. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/tests/test_dask.py +0 -0
  36. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/tests/test_deref_main.py +0 -0
  37. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/tests/test_kubernetes.py +0 -0
  38. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/tests/test_multiprocessing.py +0 -0
  39. {cluster_tools-2.5.0 → cluster_tools-3.0.0}/tests/test_slurm.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cluster_tools
3
- Version: 2.5.0
3
+ Version: 3.0.0
4
4
  Summary: Utility library for easily distributing code execution on clusters
5
5
  Author-email: scalable minds <hello@scalableminds.com>
6
6
  License-Expression: MIT
@@ -14,6 +14,7 @@ from typing import (
14
14
  TypeVar,
15
15
  cast,
16
16
  )
17
+ from warnings import warn
17
18
  from weakref import ReferenceType, ref
18
19
 
19
20
  from typing_extensions import ParamSpec
@@ -117,6 +118,12 @@ class DaskExecutor(futures.Executor):
117
118
  )
118
119
  exit()
119
120
 
121
+ warn(
122
+ "Dask support is deprecated and will be removed in a future version.",
123
+ category=DeprecationWarning,
124
+ stacklevel=2,
125
+ )
126
+
120
127
  self.client = client
121
128
  self.pending_futures = set()
122
129
  self.job_resources = job_resources
@@ -8,6 +8,7 @@ from concurrent.futures import Future
8
8
  from pathlib import Path
9
9
  from typing import Any, Literal
10
10
  from uuid import uuid4
11
+ from warnings import warn
11
12
 
12
13
  from cluster_tools.schedulers.cluster_executor import ClusterExecutor
13
14
 
@@ -58,6 +59,12 @@ class KubernetesExecutor(ClusterExecutor):
58
59
  )
59
60
  exit()
60
61
 
62
+ warn(
63
+ "Kubernetes support is deprecated and will be removed in a future version.",
64
+ category=DeprecationWarning,
65
+ stacklevel=2,
66
+ )
67
+
61
68
  super().__init__(
62
69
  debug=debug,
63
70
  keep_logs=keep_logs,
@@ -0,0 +1 @@
1
+ __version__ = '3.0.0'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cluster_tools
3
- Version: 2.5.0
3
+ Version: 3.0.0
4
4
  Summary: Utility library for easily distributing code execution on clusters
5
5
  Author-email: scalable minds <hello@scalableminds.com>
6
6
  License-Expression: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "cluster_tools"
3
- version = "2.5.0" # filled by dunamai
3
+ version = "3.0.0" # filled by dunamai
4
4
  description = "Utility library for easily distributing code execution on clusters"
5
5
  authors = [{name= "scalable minds", email="hello@scalableminds.com"}]
6
6
  readme = "README.md"
@@ -21,8 +21,8 @@ dask = ["distributed ~=2023.9.1"]
21
21
  kubernetes = ["kubernetes ~=27.2.0"]
22
22
  all=["cluster_tools[kubernetes]", "cluster_tools[dask]"]
23
23
 
24
- [tool.uv]
25
- dev-dependencies = [
24
+ [dependency-groups]
25
+ dev = [
26
26
  "icecream ~=2.1.1",
27
27
  "mypy ~=1.15.0",
28
28
  "pytest ~=8.3.3",
@@ -1 +0,0 @@
1
- __version__ = '2.5.0'
File without changes
File without changes
File without changes