cluster_tools 4.2.2__tar.gz → 4.2.4__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.
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/PKG-INFO +3 -1
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/README.md +2 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools/executors/dask.py +1 -1
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools/schedulers/kube.py +1 -1
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools/schedulers/pbs.py +10 -1
- cluster_tools-4.2.4/cluster_tools/version.py +1 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools.egg-info/PKG-INFO +3 -1
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/pyproject.toml +1 -1
- cluster_tools-4.2.2/cluster_tools/version.py +0 -1
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/LICENSE +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools/__init__.py +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools/_utils/call.py +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools/_utils/file_wait_thread.py +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools/_utils/multiprocessing_logging_handler.py +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools/_utils/pickling.py +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools/_utils/reflection.py +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools/_utils/string_.py +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools/_utils/tailf.py +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools/_utils/warning.py +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools/executor_protocol.py +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools/executors/batching.py +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools/executors/multiprocessing_.py +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools/executors/multiprocessing_pickle.py +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools/executors/sequential.py +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools/executors/sequential_pickle.py +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools/remote.py +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools/schedulers/__init__.py +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools/schedulers/cluster_executor.py +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools/schedulers/slurm.py +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools.egg-info/SOURCES.txt +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools.egg-info/dependency_links.txt +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools.egg-info/requires.txt +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools.egg-info/top_level.txt +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/setup.cfg +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/tests/test_all.py +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/tests/test_batching.py +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/tests/test_dask.py +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/tests/test_deref_main.py +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/tests/test_kubernetes.py +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/tests/test_multiprocessing.py +0 -0
- {cluster_tools-4.2.2 → cluster_tools-4.2.4}/tests/test_slurm.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cluster_tools
|
|
3
|
-
Version: 4.2.
|
|
3
|
+
Version: 4.2.4
|
|
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
|
|
@@ -59,6 +59,8 @@ pip install cluster_tools[kubernetes]
|
|
|
59
59
|
pip install cluster_tools[dask]
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
+
> **Deprecation notice:** The Dask, Kubernetes and PBS executors are deprecated and will be removed in the next major release of `cluster_tools`.
|
|
63
|
+
|
|
62
64
|
## Configuration
|
|
63
65
|
|
|
64
66
|
### Slurm
|
|
@@ -38,6 +38,8 @@ pip install cluster_tools[kubernetes]
|
|
|
38
38
|
pip install cluster_tools[dask]
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
+
> **Deprecation notice:** The Dask, Kubernetes and PBS executors are deprecated and will be removed in the next major release of `cluster_tools`.
|
|
42
|
+
|
|
41
43
|
## Configuration
|
|
42
44
|
|
|
43
45
|
### Slurm
|
|
@@ -119,7 +119,7 @@ class DaskExecutor(futures.Executor):
|
|
|
119
119
|
exit()
|
|
120
120
|
|
|
121
121
|
warn(
|
|
122
|
-
"Dask
|
|
122
|
+
"The Dask executor is deprecated and will be removed in the next major release of cluster_tools.",
|
|
123
123
|
category=DeprecationWarning,
|
|
124
124
|
stacklevel=2,
|
|
125
125
|
)
|
|
@@ -60,7 +60,7 @@ class KubernetesExecutor(ClusterExecutor):
|
|
|
60
60
|
exit()
|
|
61
61
|
|
|
62
62
|
warn(
|
|
63
|
-
"Kubernetes
|
|
63
|
+
"The Kubernetes executor is deprecated and will be removed in the next major release of cluster_tools.",
|
|
64
64
|
category=DeprecationWarning,
|
|
65
65
|
stacklevel=2,
|
|
66
66
|
)
|
|
@@ -4,7 +4,8 @@ import logging
|
|
|
4
4
|
import os
|
|
5
5
|
import re
|
|
6
6
|
from concurrent.futures import Future
|
|
7
|
-
from typing import Literal
|
|
7
|
+
from typing import Any, Literal
|
|
8
|
+
from warnings import warn
|
|
8
9
|
|
|
9
10
|
from cluster_tools._utils.call import call, chcall
|
|
10
11
|
from cluster_tools._utils.string_ import random_string
|
|
@@ -31,6 +32,14 @@ PBS_STATES: dict[str, list[str]] = {
|
|
|
31
32
|
|
|
32
33
|
|
|
33
34
|
class PBSExecutor(ClusterExecutor):
|
|
35
|
+
def __init__(self, *args: Any, **kwargs: Any) -> None:
|
|
36
|
+
warn(
|
|
37
|
+
"The PBS executor is deprecated and will be removed in the next major release of cluster_tools.",
|
|
38
|
+
category=DeprecationWarning,
|
|
39
|
+
stacklevel=2,
|
|
40
|
+
)
|
|
41
|
+
super().__init__(*args, **kwargs)
|
|
42
|
+
|
|
34
43
|
@classmethod
|
|
35
44
|
def executor_key(cls) -> str:
|
|
36
45
|
return "pbs"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '4.2.4'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cluster_tools
|
|
3
|
-
Version: 4.2.
|
|
3
|
+
Version: 4.2.4
|
|
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
|
|
@@ -59,6 +59,8 @@ pip install cluster_tools[kubernetes]
|
|
|
59
59
|
pip install cluster_tools[dask]
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
+
> **Deprecation notice:** The Dask, Kubernetes and PBS executors are deprecated and will be removed in the next major release of `cluster_tools`.
|
|
63
|
+
|
|
62
64
|
## Configuration
|
|
63
65
|
|
|
64
66
|
### Slurm
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "cluster_tools"
|
|
3
|
-
version = "4.2.
|
|
3
|
+
version = "4.2.4" # 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"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '4.2.2'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools/_utils/multiprocessing_logging_handler.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cluster_tools-4.2.2 → cluster_tools-4.2.4}/cluster_tools/executors/multiprocessing_pickle.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|