isolate 0.12.6__py3-none-any.whl → 0.12.8__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 isolate might be problematic. Click here for more details.
- isolate/__init__.py +1 -1
- isolate/backends/__init__.py +2 -2
- isolate/backends/_base.py +2 -4
- isolate/backends/common.py +7 -7
- isolate/backends/conda.py +8 -10
- isolate/backends/local.py +2 -2
- isolate/backends/pyenv.py +4 -4
- isolate/backends/remote.py +8 -8
- isolate/backends/settings.py +1 -1
- isolate/backends/virtualenv.py +9 -10
- isolate/connections/__init__.py +1 -5
- isolate/connections/_local/__init__.py +2 -2
- isolate/connections/_local/_base.py +3 -6
- isolate/connections/common.py +5 -7
- isolate/connections/grpc/__init__.py +1 -1
- isolate/connections/grpc/_base.py +2 -2
- isolate/connections/grpc/agent.py +3 -9
- isolate/connections/grpc/definitions/__init__.py +5 -5
- isolate/connections/grpc/interface.py +1 -1
- isolate/connections/ipc/__init__.py +1 -1
- isolate/connections/ipc/_base.py +6 -13
- isolate/connections/ipc/agent.py +4 -8
- isolate/logs.py +3 -6
- isolate/registry.py +3 -3
- isolate/server/__init__.py +1 -1
- isolate/server/definitions/__init__.py +6 -6
- isolate/server/health/__init__.py +3 -3
- isolate/server/server.py +19 -9
- isolate-0.12.8.dist-info/LICENSE +201 -0
- {isolate-0.12.6.dist-info → isolate-0.12.8.dist-info}/METADATA +4 -3
- isolate-0.12.8.dist-info/RECORD +56 -0
- isolate-0.12.6.dist-info/RECORD +0 -55
- {isolate-0.12.6.dist-info → isolate-0.12.8.dist-info}/WHEEL +0 -0
- {isolate-0.12.6.dist-info → isolate-0.12.8.dist-info}/entry_points.txt +0 -0
isolate/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
from isolate.registry import prepare_environment
|
|
1
|
+
from isolate.registry import prepare_environment # noqa: F401
|
isolate/backends/__init__.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
from isolate.backends._base import *
|
|
2
|
-
from isolate.backends.settings import IsolateSettings
|
|
1
|
+
from isolate.backends._base import * # noqa: F403
|
|
2
|
+
from isolate.backends.settings import IsolateSettings # noqa: F401
|
isolate/backends/_base.py
CHANGED
|
@@ -6,10 +6,8 @@ from typing import (
|
|
|
6
6
|
Any,
|
|
7
7
|
Callable,
|
|
8
8
|
ClassVar,
|
|
9
|
-
Dict,
|
|
10
9
|
Generic,
|
|
11
10
|
Iterator,
|
|
12
|
-
Optional,
|
|
13
11
|
TypeVar,
|
|
14
12
|
)
|
|
15
13
|
|
|
@@ -37,14 +35,14 @@ class BaseEnvironment(Generic[ConnectionKeyType]):
|
|
|
37
35
|
"""Represents a managed environment definition for an isolatation backend
|
|
38
36
|
that can be used to run Python code with different set of dependencies."""
|
|
39
37
|
|
|
40
|
-
BACKEND_NAME: ClassVar[
|
|
38
|
+
BACKEND_NAME: ClassVar[str | None] = None
|
|
41
39
|
|
|
42
40
|
settings: IsolateSettings = DEFAULT_SETTINGS
|
|
43
41
|
|
|
44
42
|
@classmethod
|
|
45
43
|
def from_config(
|
|
46
44
|
cls,
|
|
47
|
-
config:
|
|
45
|
+
config: dict[str, Any],
|
|
48
46
|
settings: IsolateSettings = DEFAULT_SETTINGS,
|
|
49
47
|
) -> BaseEnvironment:
|
|
50
48
|
"""Create a new environment from the given configuration."""
|
isolate/backends/common.py
CHANGED
|
@@ -12,7 +12,7 @@ from contextlib import contextmanager, suppress
|
|
|
12
12
|
from functools import lru_cache
|
|
13
13
|
from pathlib import Path
|
|
14
14
|
from types import ModuleType
|
|
15
|
-
from typing import Callable,
|
|
15
|
+
from typing import Callable, Iterator
|
|
16
16
|
|
|
17
17
|
# For ensuring that the lock is created and not forgotten
|
|
18
18
|
# (e.g. the process which acquires it crashes, so it is never
|
|
@@ -91,7 +91,7 @@ HookT = Callable[[str], None]
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
def _io_observer(
|
|
94
|
-
hooks:
|
|
94
|
+
hooks: dict[int, HookT],
|
|
95
95
|
termination_event: threading.Event,
|
|
96
96
|
) -> threading.Thread:
|
|
97
97
|
"""Starts a new thread that reads from the specified file descriptors
|
|
@@ -156,7 +156,7 @@ def _io_observer(
|
|
|
156
156
|
return observer_thread
|
|
157
157
|
|
|
158
158
|
|
|
159
|
-
def _unblocked_pipe() ->
|
|
159
|
+
def _unblocked_pipe() -> tuple[int, int]:
|
|
160
160
|
"""Create a pair of unblocked pipes. This is actually
|
|
161
161
|
the same as os.pipe2(os.O_NONBLOCK), but that is not
|
|
162
162
|
available in MacOS so we have to do it manually."""
|
|
@@ -170,8 +170,8 @@ def _unblocked_pipe() -> Tuple[int, int]:
|
|
|
170
170
|
@contextmanager
|
|
171
171
|
def logged_io(
|
|
172
172
|
stdout_hook: HookT,
|
|
173
|
-
stderr_hook:
|
|
174
|
-
) -> Iterator[
|
|
173
|
+
stderr_hook: HookT | None = None,
|
|
174
|
+
) -> Iterator[tuple[int, int]]:
|
|
175
175
|
"""Open two new streams (for stdout and stderr, respectively) and start relaying all
|
|
176
176
|
the output from them to the given hooks."""
|
|
177
177
|
|
|
@@ -201,11 +201,11 @@ def logged_io(
|
|
|
201
201
|
|
|
202
202
|
|
|
203
203
|
@lru_cache(maxsize=None)
|
|
204
|
-
def sha256_digest_of(*unique_fields:
|
|
204
|
+
def sha256_digest_of(*unique_fields: str | bytes) -> str:
|
|
205
205
|
"""Return the SHA256 digest that corresponds to the combined version
|
|
206
206
|
of 'unique_fields. The order is preserved."""
|
|
207
207
|
|
|
208
|
-
def _normalize(text:
|
|
208
|
+
def _normalize(text: str | bytes) -> bytes:
|
|
209
209
|
if isinstance(text, str):
|
|
210
210
|
return text.encode()
|
|
211
211
|
else:
|
isolate/backends/conda.py
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
3
|
import copy
|
|
4
|
-
import functools
|
|
5
4
|
import os
|
|
6
|
-
import shutil
|
|
7
5
|
import subprocess
|
|
8
6
|
import tempfile
|
|
9
7
|
from dataclasses import dataclass, field
|
|
10
8
|
from functools import partial
|
|
11
9
|
from pathlib import Path
|
|
12
|
-
from typing import Any, ClassVar
|
|
10
|
+
from typing import Any, ClassVar
|
|
13
11
|
|
|
14
12
|
from isolate.backends import BaseEnvironment, EnvironmentCreationError
|
|
15
13
|
from isolate.backends.common import (
|
|
@@ -43,16 +41,16 @@ _POSSIBLE_CONDA_VERSION_IDENTIFIERS = (
|
|
|
43
41
|
class CondaEnvironment(BaseEnvironment[Path]):
|
|
44
42
|
BACKEND_NAME: ClassVar[str] = "conda"
|
|
45
43
|
|
|
46
|
-
environment_definition:
|
|
47
|
-
python_version:
|
|
48
|
-
tags:
|
|
49
|
-
_exec_home:
|
|
50
|
-
_exec_command:
|
|
44
|
+
environment_definition: dict[str, Any] = field(default_factory=dict)
|
|
45
|
+
python_version: str | None = None
|
|
46
|
+
tags: list[str] = field(default_factory=list)
|
|
47
|
+
_exec_home: str | None = _ISOLATE_MAMBA_HOME
|
|
48
|
+
_exec_command: str | None = _MAMBA_COMMAND
|
|
51
49
|
|
|
52
50
|
@classmethod
|
|
53
51
|
def from_config(
|
|
54
52
|
cls,
|
|
55
|
-
config:
|
|
53
|
+
config: dict[str, Any],
|
|
56
54
|
settings: IsolateSettings = DEFAULT_SETTINGS,
|
|
57
55
|
) -> BaseEnvironment:
|
|
58
56
|
processing_config = copy.deepcopy(config)
|
|
@@ -189,7 +187,7 @@ class CondaEnvironment(BaseEnvironment[Path]):
|
|
|
189
187
|
|
|
190
188
|
|
|
191
189
|
def _depends_on(
|
|
192
|
-
dependencies:
|
|
190
|
+
dependencies: list[str | dict[str, list[str]]],
|
|
193
191
|
package_name: str,
|
|
194
192
|
) -> bool:
|
|
195
193
|
for dependency in dependencies:
|
isolate/backends/local.py
CHANGED
|
@@ -3,7 +3,7 @@ from __future__ import annotations
|
|
|
3
3
|
import sys
|
|
4
4
|
from dataclasses import dataclass
|
|
5
5
|
from pathlib import Path
|
|
6
|
-
from typing import Any, ClassVar
|
|
6
|
+
from typing import Any, ClassVar
|
|
7
7
|
|
|
8
8
|
from isolate.backends import BaseEnvironment
|
|
9
9
|
from isolate.backends.common import sha256_digest_of
|
|
@@ -18,7 +18,7 @@ class LocalPythonEnvironment(BaseEnvironment[Path]):
|
|
|
18
18
|
@classmethod
|
|
19
19
|
def from_config(
|
|
20
20
|
cls,
|
|
21
|
-
config:
|
|
21
|
+
config: dict[str, Any],
|
|
22
22
|
settings: IsolateSettings = DEFAULT_SETTINGS,
|
|
23
23
|
) -> BaseEnvironment:
|
|
24
24
|
environment = cls(**config)
|
isolate/backends/pyenv.py
CHANGED
|
@@ -7,7 +7,7 @@ import subprocess
|
|
|
7
7
|
from dataclasses import dataclass
|
|
8
8
|
from functools import partial
|
|
9
9
|
from pathlib import Path
|
|
10
|
-
from typing import Any, ClassVar
|
|
10
|
+
from typing import Any, ClassVar
|
|
11
11
|
|
|
12
12
|
from isolate.backends import BaseEnvironment, EnvironmentCreationError
|
|
13
13
|
from isolate.backends.common import logged_io
|
|
@@ -28,7 +28,7 @@ class PyenvEnvironment(BaseEnvironment[Path]):
|
|
|
28
28
|
@classmethod
|
|
29
29
|
def from_config(
|
|
30
30
|
cls,
|
|
31
|
-
config:
|
|
31
|
+
config: dict[str, Any],
|
|
32
32
|
settings: IsolateSettings = DEFAULT_SETTINGS,
|
|
33
33
|
) -> BaseEnvironment:
|
|
34
34
|
environment = cls(**config)
|
|
@@ -60,7 +60,7 @@ class PyenvEnvironment(BaseEnvironment[Path]):
|
|
|
60
60
|
assert prefix is not None
|
|
61
61
|
return prefix
|
|
62
62
|
|
|
63
|
-
def _try_get_prefix(self, pyenv: Path, root_path: Path) ->
|
|
63
|
+
def _try_get_prefix(self, pyenv: Path, root_path: Path) -> Path | None:
|
|
64
64
|
try:
|
|
65
65
|
prefix = subprocess.check_output(
|
|
66
66
|
[pyenv, "prefix", self.python_version],
|
|
@@ -87,7 +87,7 @@ class PyenvEnvironment(BaseEnvironment[Path]):
|
|
|
87
87
|
stdout=stdout,
|
|
88
88
|
stderr=stderr,
|
|
89
89
|
)
|
|
90
|
-
except subprocess.CalledProcessError
|
|
90
|
+
except subprocess.CalledProcessError:
|
|
91
91
|
raise EnvironmentCreationError(
|
|
92
92
|
f"Failed to install Python {self.python_version} via pyenv.\n"
|
|
93
93
|
)
|
isolate/backends/remote.py
CHANGED
|
@@ -3,7 +3,7 @@ from __future__ import annotations
|
|
|
3
3
|
import copy
|
|
4
4
|
import json
|
|
5
5
|
from dataclasses import dataclass
|
|
6
|
-
from typing import Any, ClassVar,
|
|
6
|
+
from typing import Any, ClassVar, List
|
|
7
7
|
|
|
8
8
|
import grpc
|
|
9
9
|
|
|
@@ -28,12 +28,12 @@ class IsolateServer(BaseEnvironment[List[EnvironmentDefinition]]):
|
|
|
28
28
|
BACKEND_NAME: ClassVar[str] = "isolate-server"
|
|
29
29
|
|
|
30
30
|
host: str
|
|
31
|
-
target_environments:
|
|
31
|
+
target_environments: list[dict[str, Any]]
|
|
32
32
|
|
|
33
33
|
@classmethod
|
|
34
34
|
def from_config(
|
|
35
35
|
cls,
|
|
36
|
-
config:
|
|
36
|
+
config: dict[str, Any],
|
|
37
37
|
settings: IsolateSettings = DEFAULT_SETTINGS,
|
|
38
38
|
) -> BaseEnvironment:
|
|
39
39
|
environment = cls(**config)
|
|
@@ -48,7 +48,7 @@ class IsolateServer(BaseEnvironment[List[EnvironmentDefinition]]):
|
|
|
48
48
|
json.dumps(self.target_environments),
|
|
49
49
|
)
|
|
50
50
|
|
|
51
|
-
def create(self, *, force: bool = False) ->
|
|
51
|
+
def create(self, *, force: bool = False) -> list[EnvironmentDefinition]:
|
|
52
52
|
if force is True:
|
|
53
53
|
raise NotImplementedError(
|
|
54
54
|
"Only individual environments can be forcibly created, please set them up"
|
|
@@ -75,7 +75,7 @@ class IsolateServer(BaseEnvironment[List[EnvironmentDefinition]]):
|
|
|
75
75
|
|
|
76
76
|
def open_connection(
|
|
77
77
|
self,
|
|
78
|
-
connection_key:
|
|
78
|
+
connection_key: list[EnvironmentDefinition],
|
|
79
79
|
) -> IsolateServerConnection:
|
|
80
80
|
return IsolateServerConnection(self, self.host, connection_key)
|
|
81
81
|
|
|
@@ -83,8 +83,8 @@ class IsolateServer(BaseEnvironment[List[EnvironmentDefinition]]):
|
|
|
83
83
|
@dataclass
|
|
84
84
|
class IsolateServerConnection(EnvironmentConnection):
|
|
85
85
|
host: str
|
|
86
|
-
definitions:
|
|
87
|
-
_channel:
|
|
86
|
+
definitions: list[EnvironmentDefinition]
|
|
87
|
+
_channel: grpc.Channel | None = None
|
|
88
88
|
|
|
89
89
|
def _acquire_channel(self) -> None:
|
|
90
90
|
self._channel = grpc.insecure_channel(self.host)
|
|
@@ -102,7 +102,7 @@ class IsolateServerConnection(EnvironmentConnection):
|
|
|
102
102
|
executable: BasicCallable,
|
|
103
103
|
*args: Any,
|
|
104
104
|
**kwargs: Any,
|
|
105
|
-
) -> CallResultType:
|
|
105
|
+
) -> CallResultType: # type: ignore[type-var]
|
|
106
106
|
if self._channel is None:
|
|
107
107
|
self._acquire_channel()
|
|
108
108
|
|
isolate/backends/settings.py
CHANGED
|
@@ -6,7 +6,7 @@ import tempfile
|
|
|
6
6
|
from contextlib import contextmanager
|
|
7
7
|
from dataclasses import dataclass, replace
|
|
8
8
|
from pathlib import Path
|
|
9
|
-
from typing import TYPE_CHECKING,
|
|
9
|
+
from typing import TYPE_CHECKING, Callable, Iterator
|
|
10
10
|
|
|
11
11
|
from platformdirs import user_cache_dir
|
|
12
12
|
|
isolate/backends/virtualenv.py
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
3
|
import os
|
|
4
|
-
import shlex
|
|
5
4
|
import shutil
|
|
6
5
|
import subprocess
|
|
7
6
|
from dataclasses import dataclass, field
|
|
8
7
|
from functools import partial
|
|
9
8
|
from pathlib import Path
|
|
10
|
-
from typing import Any, ClassVar
|
|
9
|
+
from typing import Any, ClassVar
|
|
11
10
|
|
|
12
11
|
from isolate.backends import BaseEnvironment, EnvironmentCreationError
|
|
13
12
|
from isolate.backends.common import (
|
|
@@ -30,17 +29,17 @@ _UV_RESOLVER_HOME = os.getenv("ISOLATE_UV_HOME")
|
|
|
30
29
|
class VirtualPythonEnvironment(BaseEnvironment[Path]):
|
|
31
30
|
BACKEND_NAME: ClassVar[str] = "virtualenv"
|
|
32
31
|
|
|
33
|
-
requirements:
|
|
34
|
-
constraints_file:
|
|
35
|
-
python_version:
|
|
36
|
-
extra_index_urls:
|
|
37
|
-
tags:
|
|
38
|
-
resolver:
|
|
32
|
+
requirements: list[str] = field(default_factory=list)
|
|
33
|
+
constraints_file: os.PathLike | None = None
|
|
34
|
+
python_version: str | None = None
|
|
35
|
+
extra_index_urls: list[str] = field(default_factory=list)
|
|
36
|
+
tags: list[str] = field(default_factory=list)
|
|
37
|
+
resolver: str | None = None
|
|
39
38
|
|
|
40
39
|
@classmethod
|
|
41
40
|
def from_config(
|
|
42
41
|
cls,
|
|
43
|
-
config:
|
|
42
|
+
config: dict[str, Any],
|
|
44
43
|
settings: IsolateSettings = DEFAULT_SETTINGS,
|
|
45
44
|
) -> BaseEnvironment:
|
|
46
45
|
environment = cls(**config)
|
|
@@ -100,7 +99,7 @@ class VirtualPythonEnvironment(BaseEnvironment[Path]):
|
|
|
100
99
|
else:
|
|
101
100
|
base_pip_cmd = [get_executable_path(path, "pip")]
|
|
102
101
|
|
|
103
|
-
pip_cmd:
|
|
102
|
+
pip_cmd: list[str | os.PathLike] = [
|
|
104
103
|
*base_pip_cmd, # type: ignore
|
|
105
104
|
"install",
|
|
106
105
|
*self.requirements,
|
isolate/connections/__init__.py
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import importlib
|
|
2
|
-
from typing import TYPE_CHECKING
|
|
3
2
|
|
|
4
|
-
from isolate.connections.ipc import IsolatedProcessConnection, PythonIPC
|
|
5
|
-
|
|
6
|
-
if TYPE_CHECKING:
|
|
7
|
-
from isolate.connections.grpc import LocalPythonGRPC
|
|
3
|
+
from isolate.connections.ipc import IsolatedProcessConnection, PythonIPC # noqa: F401
|
|
8
4
|
|
|
9
5
|
|
|
10
6
|
def __getattr__(name):
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
from isolate.connections._local import agent_startup
|
|
2
|
-
from isolate.connections._local._base import PythonExecutionBase
|
|
1
|
+
from isolate.connections._local import agent_startup # noqa: F401
|
|
2
|
+
from isolate.connections._local._base import PythonExecutionBase # noqa: F401
|
|
@@ -10,12 +10,9 @@ from pathlib import Path
|
|
|
10
10
|
from typing import (
|
|
11
11
|
TYPE_CHECKING,
|
|
12
12
|
Any,
|
|
13
|
-
Dict,
|
|
14
13
|
Generic,
|
|
15
14
|
Iterator,
|
|
16
|
-
List,
|
|
17
15
|
TypeVar,
|
|
18
|
-
Union,
|
|
19
16
|
)
|
|
20
17
|
|
|
21
18
|
from isolate.backends.common import get_executable_path, logged_io
|
|
@@ -102,7 +99,7 @@ class PythonExecutionBase(Generic[ConnectionType]):
|
|
|
102
99
|
|
|
103
100
|
environment: BaseEnvironment
|
|
104
101
|
environment_path: Path
|
|
105
|
-
extra_inheritance_paths:
|
|
102
|
+
extra_inheritance_paths: list[Path] = field(default_factory=list)
|
|
106
103
|
|
|
107
104
|
@contextmanager
|
|
108
105
|
def start_process(
|
|
@@ -127,7 +124,7 @@ class PythonExecutionBase(Generic[ConnectionType]):
|
|
|
127
124
|
text=True,
|
|
128
125
|
)
|
|
129
126
|
|
|
130
|
-
def get_env_vars(self) ->
|
|
127
|
+
def get_env_vars(self) -> dict[str, str]:
|
|
131
128
|
"""Return the environment variables to run the agent process with. By default
|
|
132
129
|
PYTHONUNBUFFERED is set to 1 to ensure the prints to stdout/stderr are reflect
|
|
133
130
|
immediately (so that we can seamlessly transfer logs)."""
|
|
@@ -161,7 +158,7 @@ class PythonExecutionBase(Generic[ConnectionType]):
|
|
|
161
158
|
self,
|
|
162
159
|
executable: Path,
|
|
163
160
|
connection: ConnectionType,
|
|
164
|
-
) ->
|
|
161
|
+
) -> list[str | Path]:
|
|
165
162
|
"""Return the command to run the agent process with."""
|
|
166
163
|
raise NotImplementedError
|
|
167
164
|
|
isolate/connections/common.py
CHANGED
|
@@ -4,7 +4,7 @@ import importlib
|
|
|
4
4
|
import os
|
|
5
5
|
from contextlib import contextmanager
|
|
6
6
|
from dataclasses import dataclass
|
|
7
|
-
from typing import TYPE_CHECKING, Any, Iterator,
|
|
7
|
+
from typing import TYPE_CHECKING, Any, Iterator, cast
|
|
8
8
|
|
|
9
9
|
from tblib import Traceback, TracebackParseError
|
|
10
10
|
|
|
@@ -12,11 +12,9 @@ if TYPE_CHECKING:
|
|
|
12
12
|
from typing import Protocol
|
|
13
13
|
|
|
14
14
|
class SerializationBackend(Protocol):
|
|
15
|
-
def loads(self, data: bytes) -> Any:
|
|
16
|
-
...
|
|
15
|
+
def loads(self, data: bytes) -> Any: ...
|
|
17
16
|
|
|
18
|
-
def dumps(self, obj: Any) -> bytes:
|
|
19
|
-
...
|
|
17
|
+
def dumps(self, obj: Any) -> bytes: ...
|
|
20
18
|
|
|
21
19
|
|
|
22
20
|
AGENT_SIGNATURE = "IS_ISOLATE_AGENT"
|
|
@@ -61,7 +59,7 @@ def load_serialized_object(
|
|
|
61
59
|
raw_object: bytes,
|
|
62
60
|
*,
|
|
63
61
|
was_it_raised: bool = False,
|
|
64
|
-
stringized_traceback:
|
|
62
|
+
stringized_traceback: str | None = None,
|
|
65
63
|
) -> Any:
|
|
66
64
|
"""Load the given serialized object using the given serialization method. If
|
|
67
65
|
anything fails, then a SerializationError will be raised. If the was_it_raised
|
|
@@ -103,7 +101,7 @@ def is_agent() -> bool:
|
|
|
103
101
|
def prepare_exc(
|
|
104
102
|
exc: BaseException,
|
|
105
103
|
*,
|
|
106
|
-
stringized_traceback:
|
|
104
|
+
stringized_traceback: str | None = None,
|
|
107
105
|
) -> BaseException:
|
|
108
106
|
if stringized_traceback:
|
|
109
107
|
try:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
from isolate.connections.grpc._base import AgentError, LocalPythonGRPC
|
|
1
|
+
from isolate.connections.grpc._base import AgentError, LocalPythonGRPC # noqa: F401
|
|
@@ -15,8 +15,8 @@ from isolate.connections._local import PythonExecutionBase, agent_startup
|
|
|
15
15
|
from isolate.connections.common import serialize_object
|
|
16
16
|
from isolate.connections.grpc import agent, definitions
|
|
17
17
|
from isolate.connections.grpc.configuration import get_default_options
|
|
18
|
-
from isolate.connections.grpc.interface import from_grpc
|
|
19
|
-
from isolate.logs import
|
|
18
|
+
from isolate.connections.grpc.interface import from_grpc
|
|
19
|
+
from isolate.logs import LogLevel, LogSource
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
class AgentError(Exception):
|
|
@@ -8,12 +8,9 @@ from concurrent import futures
|
|
|
8
8
|
from dataclasses import dataclass, field
|
|
9
9
|
from typing import (
|
|
10
10
|
Any,
|
|
11
|
-
Dict,
|
|
12
11
|
Generator,
|
|
13
12
|
Iterable,
|
|
14
13
|
Iterator,
|
|
15
|
-
List,
|
|
16
|
-
Optional,
|
|
17
14
|
cast,
|
|
18
15
|
)
|
|
19
16
|
|
|
@@ -35,7 +32,7 @@ class AbortException(Exception):
|
|
|
35
32
|
|
|
36
33
|
@dataclass
|
|
37
34
|
class AgentServicer(definitions.AgentServicer):
|
|
38
|
-
_run_cache:
|
|
35
|
+
_run_cache: dict[str, Any] = field(default_factory=dict)
|
|
39
36
|
|
|
40
37
|
def Run(
|
|
41
38
|
self,
|
|
@@ -111,11 +108,8 @@ class AgentServicer(definitions.AgentServicer):
|
|
|
111
108
|
# TODO: technically any sort of exception could be raised here, since
|
|
112
109
|
# depickling is basically involves code execution from the *user*.
|
|
113
110
|
function = from_grpc(function)
|
|
114
|
-
except SerializationError:
|
|
115
|
-
|
|
116
|
-
raise AbortException(
|
|
117
|
-
f"The {function_kind} function could not be deserialized."
|
|
118
|
-
)
|
|
111
|
+
except SerializationError as exc:
|
|
112
|
+
return exc, True, traceback.format_exc()
|
|
119
113
|
|
|
120
114
|
if not callable(function):
|
|
121
115
|
raise AbortException(
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
from google.protobuf.message import Message
|
|
1
|
+
from google.protobuf.message import Message # noqa: F401
|
|
2
2
|
|
|
3
|
-
from isolate.connections.grpc.definitions.agent_pb2 import *
|
|
4
|
-
from isolate.connections.grpc.definitions.agent_pb2_grpc import (
|
|
3
|
+
from isolate.connections.grpc.definitions.agent_pb2 import * # noqa: F403
|
|
4
|
+
from isolate.connections.grpc.definitions.agent_pb2_grpc import ( # noqa: F401
|
|
5
5
|
AgentServicer,
|
|
6
6
|
AgentStub,
|
|
7
7
|
)
|
|
8
|
-
from isolate.connections.grpc.definitions.agent_pb2_grpc import (
|
|
8
|
+
from isolate.connections.grpc.definitions.agent_pb2_grpc import ( # noqa: F401
|
|
9
9
|
add_AgentServicer_to_server as register_agent,
|
|
10
10
|
)
|
|
11
|
-
from isolate.connections.grpc.definitions.common_pb2 import *
|
|
11
|
+
from isolate.connections.grpc.definitions.common_pb2 import * # noqa: F403
|
isolate/connections/ipc/_base.py
CHANGED
|
@@ -13,9 +13,6 @@ from typing import (
|
|
|
13
13
|
Any,
|
|
14
14
|
Callable,
|
|
15
15
|
ContextManager,
|
|
16
|
-
List,
|
|
17
|
-
Tuple,
|
|
18
|
-
Union,
|
|
19
16
|
)
|
|
20
17
|
|
|
21
18
|
from isolate.backends import (
|
|
@@ -37,17 +34,13 @@ if TYPE_CHECKING:
|
|
|
37
34
|
connection: Any,
|
|
38
35
|
loads: Callable[[bytes], Any],
|
|
39
36
|
dumps: Callable[[Any], bytes],
|
|
40
|
-
) -> None:
|
|
41
|
-
...
|
|
37
|
+
) -> None: ...
|
|
42
38
|
|
|
43
|
-
def recv(self) -> Any:
|
|
44
|
-
...
|
|
39
|
+
def recv(self) -> Any: ...
|
|
45
40
|
|
|
46
|
-
def send(self, value: Any) -> None:
|
|
47
|
-
...
|
|
41
|
+
def send(self, value: Any) -> None: ...
|
|
48
42
|
|
|
49
|
-
def close(self) -> None:
|
|
50
|
-
...
|
|
43
|
+
def close(self) -> None: ...
|
|
51
44
|
|
|
52
45
|
else:
|
|
53
46
|
from multiprocessing.connection import ConnectionWrapper
|
|
@@ -75,7 +68,7 @@ def loadserialization_method(backend_name: str) -> Any:
|
|
|
75
68
|
return importlib.import_module(backend_name)
|
|
76
69
|
|
|
77
70
|
|
|
78
|
-
def encode_service_address(address:
|
|
71
|
+
def encode_service_address(address: tuple[str, int]) -> str:
|
|
79
72
|
host, port = address
|
|
80
73
|
return base64.b64encode(f"{host}:{port}".encode()).decode("utf-8")
|
|
81
74
|
|
|
@@ -207,7 +200,7 @@ class PythonIPC(PythonExecutionBase[AgentListener], IsolatedProcessConnection):
|
|
|
207
200
|
self,
|
|
208
201
|
executable: Path,
|
|
209
202
|
connection: AgentListener,
|
|
210
|
-
) ->
|
|
203
|
+
) -> list[str | Path]:
|
|
211
204
|
assert isinstance(connection.address, tuple)
|
|
212
205
|
return [
|
|
213
206
|
executable,
|
isolate/connections/ipc/agent.py
CHANGED
|
@@ -35,17 +35,13 @@ if TYPE_CHECKING:
|
|
|
35
35
|
connection: Any,
|
|
36
36
|
loads: Callable[[bytes], Any],
|
|
37
37
|
dumps: Callable[[Any], bytes],
|
|
38
|
-
) -> None:
|
|
39
|
-
...
|
|
38
|
+
) -> None: ...
|
|
40
39
|
|
|
41
|
-
def recv(self) -> Any:
|
|
42
|
-
...
|
|
40
|
+
def recv(self) -> Any: ...
|
|
43
41
|
|
|
44
|
-
def send(self, value: Any) -> None:
|
|
45
|
-
...
|
|
42
|
+
def send(self, value: Any) -> None: ...
|
|
46
43
|
|
|
47
|
-
def close(self) -> None:
|
|
48
|
-
...
|
|
44
|
+
def close(self) -> None: ...
|
|
49
45
|
|
|
50
46
|
else:
|
|
51
47
|
from multiprocessing.connection import ConnectionWrapper
|
isolate/logs.py
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
|
-
import shutil
|
|
4
3
|
import tempfile
|
|
5
|
-
from
|
|
6
|
-
from dataclasses import dataclass, field, replace
|
|
4
|
+
from dataclasses import dataclass, field
|
|
7
5
|
from datetime import datetime, timezone
|
|
8
6
|
from enum import Enum
|
|
9
7
|
from functools import total_ordering
|
|
10
8
|
from pathlib import Path
|
|
11
|
-
from typing import TYPE_CHECKING
|
|
9
|
+
from typing import TYPE_CHECKING
|
|
12
10
|
|
|
13
|
-
from platformdirs import user_cache_dir
|
|
14
11
|
|
|
15
12
|
if TYPE_CHECKING:
|
|
16
13
|
from isolate.backends import BaseEnvironment
|
|
@@ -65,7 +62,7 @@ class Log:
|
|
|
65
62
|
message: str
|
|
66
63
|
source: LogSource
|
|
67
64
|
level: LogLevel = LogLevel.INFO
|
|
68
|
-
bound_env:
|
|
65
|
+
bound_env: BaseEnvironment | None = field(default=None, repr=False)
|
|
69
66
|
timestamp: datetime = field(default_factory=lambda: datetime.now(timezone.utc))
|
|
70
67
|
|
|
71
68
|
def __str__(self) -> str:
|
isolate/registry.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
3
|
import sys
|
|
4
|
-
from typing import TYPE_CHECKING, Any
|
|
4
|
+
from typing import TYPE_CHECKING, Any
|
|
5
5
|
|
|
6
6
|
if sys.version_info >= (3, 10):
|
|
7
7
|
import importlib.metadata as importlib_metadata
|
|
@@ -15,8 +15,8 @@ if TYPE_CHECKING:
|
|
|
15
15
|
# time by simply adding an entry point to the `isolate.environment` group.
|
|
16
16
|
_ENTRY_POINT = "isolate.backends"
|
|
17
17
|
|
|
18
|
-
_ENTRY_POINTS:
|
|
19
|
-
_ENVIRONMENTS:
|
|
18
|
+
_ENTRY_POINTS: dict[str, importlib_metadata.EntryPoint] = {}
|
|
19
|
+
_ENVIRONMENTS: dict[str, type[BaseEnvironment]] = {}
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
def _reload_registry() -> None:
|
isolate/server/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
from isolate.server.server import BridgeManager, IsolateServicer
|
|
1
|
+
from isolate.server.server import BridgeManager, IsolateServicer # noqa: F401
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
from google.protobuf.json_format import MessageToDict as struct_to_dict
|
|
2
|
-
from google.protobuf.struct_pb2 import Struct
|
|
1
|
+
from google.protobuf.json_format import MessageToDict as struct_to_dict # noqa: F401
|
|
2
|
+
from google.protobuf.struct_pb2 import Struct # noqa: F401
|
|
3
3
|
|
|
4
4
|
# Inherit everything from the gRPC connection handler.
|
|
5
|
-
from isolate.connections.grpc.definitions import *
|
|
6
|
-
from isolate.server.definitions.server_pb2 import *
|
|
7
|
-
from isolate.server.definitions.server_pb2_grpc import (
|
|
5
|
+
from isolate.connections.grpc.definitions import * # noqa: F403
|
|
6
|
+
from isolate.server.definitions.server_pb2 import * # noqa: F403
|
|
7
|
+
from isolate.server.definitions.server_pb2_grpc import ( # noqa: F401
|
|
8
8
|
IsolateServicer,
|
|
9
9
|
IsolateStub,
|
|
10
10
|
)
|
|
11
|
-
from isolate.server.definitions.server_pb2_grpc import (
|
|
11
|
+
from isolate.server.definitions.server_pb2_grpc import ( # noqa: F401
|
|
12
12
|
add_IsolateServicer_to_server as register_isolate,
|
|
13
13
|
)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
from isolate.server.health.health_pb2 import (
|
|
1
|
+
from isolate.server.health.health_pb2 import ( # noqa: F401
|
|
2
2
|
HealthCheckRequest,
|
|
3
3
|
HealthCheckResponse,
|
|
4
4
|
)
|
|
5
|
-
from isolate.server.health.health_pb2_grpc import HealthServicer, HealthStub
|
|
6
|
-
from isolate.server.health.health_pb2_grpc import (
|
|
5
|
+
from isolate.server.health.health_pb2_grpc import HealthServicer, HealthStub # noqa: F401
|
|
6
|
+
from isolate.server.health.health_pb2_grpc import ( # noqa: F401
|
|
7
7
|
add_HealthServicer_to_server as register_health,
|
|
8
8
|
)
|
isolate/server/server.py
CHANGED
|
@@ -2,6 +2,7 @@ from __future__ import annotations
|
|
|
2
2
|
|
|
3
3
|
import os
|
|
4
4
|
import threading
|
|
5
|
+
import time
|
|
5
6
|
import traceback
|
|
6
7
|
from collections import defaultdict
|
|
7
8
|
from concurrent import futures
|
|
@@ -9,16 +10,14 @@ from concurrent.futures import ThreadPoolExecutor
|
|
|
9
10
|
from contextlib import ExitStack, contextmanager
|
|
10
11
|
from dataclasses import dataclass, field, replace
|
|
11
12
|
from functools import partial
|
|
12
|
-
from pathlib import Path
|
|
13
13
|
from queue import Empty as QueueEmpty
|
|
14
14
|
from queue import Queue
|
|
15
|
-
from typing import Any, Callable,
|
|
15
|
+
from typing import Any, Callable, Iterator, cast
|
|
16
16
|
|
|
17
17
|
import grpc
|
|
18
18
|
from grpc import ServicerContext, StatusCode
|
|
19
19
|
|
|
20
20
|
from isolate.backends import (
|
|
21
|
-
BaseEnvironment,
|
|
22
21
|
EnvironmentCreationError,
|
|
23
22
|
IsolateSettings,
|
|
24
23
|
)
|
|
@@ -32,6 +31,7 @@ from isolate.server import definitions, health
|
|
|
32
31
|
from isolate.server.health_server import HealthServicer
|
|
33
32
|
from isolate.server.interface import from_grpc, to_grpc
|
|
34
33
|
|
|
34
|
+
EMPTY_MESSAGE_INTERVAL = float(os.getenv("ISOLATE_EMPTY_MESSAGE_INTERVAL", 600))
|
|
35
35
|
MAX_GRPC_WAIT_TIMEOUT = float(os.getenv("ISOLATE_MAX_GRPC_WAIT_TIMEOUT", 10.0))
|
|
36
36
|
|
|
37
37
|
# Whether to inherit all the packages from the current environment or not.
|
|
@@ -93,7 +93,7 @@ class RunnerAgent:
|
|
|
93
93
|
@dataclass
|
|
94
94
|
class BridgeManager:
|
|
95
95
|
_agent_access_lock: threading.Lock = field(default_factory=threading.Lock)
|
|
96
|
-
_agents:
|
|
96
|
+
_agents: dict[tuple[Any, ...], list[RunnerAgent]] = field(
|
|
97
97
|
default_factory=lambda: defaultdict(list)
|
|
98
98
|
)
|
|
99
99
|
_stack: ExitStack = field(default_factory=ExitStack)
|
|
@@ -103,7 +103,7 @@ class BridgeManager:
|
|
|
103
103
|
self,
|
|
104
104
|
connection: LocalPythonGRPC,
|
|
105
105
|
queue: Queue,
|
|
106
|
-
) -> Iterator[
|
|
106
|
+
) -> Iterator[tuple[definitions.AgentStub, Queue]]:
|
|
107
107
|
agent = self._allocate_new_agent(connection, queue)
|
|
108
108
|
|
|
109
109
|
try:
|
|
@@ -139,7 +139,7 @@ class BridgeManager:
|
|
|
139
139
|
)
|
|
140
140
|
return RunnerAgent(stub, queue, bound_context)
|
|
141
141
|
|
|
142
|
-
def _identify(self, connection: LocalPythonGRPC) ->
|
|
142
|
+
def _identify(self, connection: LocalPythonGRPC) -> tuple[Any, ...]:
|
|
143
143
|
return (
|
|
144
144
|
connection.environment_path,
|
|
145
145
|
*connection.extra_inheritance_paths,
|
|
@@ -182,7 +182,7 @@ class IsolateServicer(definitions.IsolateServicer):
|
|
|
182
182
|
|
|
183
183
|
if not environments:
|
|
184
184
|
return self.abort_with_msg(
|
|
185
|
-
|
|
185
|
+
"At least one environment must be specified for a run!",
|
|
186
186
|
context,
|
|
187
187
|
)
|
|
188
188
|
|
|
@@ -299,11 +299,21 @@ class IsolateServicer(definitions.IsolateServicer):
|
|
|
299
299
|
"""Watch the given queue until the is_completed function returns True. Note that even
|
|
300
300
|
if the function is completed, this function might not finish until the queue is empty.
|
|
301
301
|
"""
|
|
302
|
+
|
|
303
|
+
timer = time.monotonic()
|
|
302
304
|
while not is_completed():
|
|
303
305
|
try:
|
|
304
306
|
yield queue.get(timeout=_Q_WAIT_DELAY)
|
|
305
307
|
except QueueEmpty:
|
|
306
|
-
|
|
308
|
+
# Send an empty (but 'real') packet to the client, currently a hacky way
|
|
309
|
+
# to make sure the stream results are never ignored.
|
|
310
|
+
if time.monotonic() - timer > EMPTY_MESSAGE_INTERVAL:
|
|
311
|
+
timer = time.monotonic()
|
|
312
|
+
yield definitions.PartialRunResult(
|
|
313
|
+
is_complete=False,
|
|
314
|
+
logs=[],
|
|
315
|
+
result=None,
|
|
316
|
+
)
|
|
307
317
|
|
|
308
318
|
# Clear the final messages
|
|
309
319
|
while not queue.empty():
|
|
@@ -362,7 +372,7 @@ def main() -> None:
|
|
|
362
372
|
definitions.register_isolate(IsolateServicer(bridge_manager), server)
|
|
363
373
|
health.register_health(HealthServicer(), server)
|
|
364
374
|
|
|
365
|
-
server.add_insecure_port(
|
|
375
|
+
server.add_insecure_port("[::]:50001")
|
|
366
376
|
print("Started listening at localhost:50001")
|
|
367
377
|
|
|
368
378
|
server.start()
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2024 fal - Features & Labels, Inc.
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: isolate
|
|
3
|
-
Version: 0.12.
|
|
3
|
+
Version: 0.12.8
|
|
4
4
|
Summary: Managed isolated environments for Python
|
|
5
|
+
Home-page: https://github.com/fal-ai/isolate
|
|
5
6
|
Author: Features & Labels
|
|
6
7
|
Author-email: hello@fal.ai
|
|
7
|
-
Requires-Python: >=3.
|
|
8
|
+
Requires-Python: >=3.8,<4.0
|
|
8
9
|
Classifier: Programming Language :: Python :: 3
|
|
9
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
10
10
|
Classifier: Programming Language :: Python :: 3.8
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.9
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.10
|
|
@@ -21,6 +21,7 @@ Requires-Dist: platformdirs
|
|
|
21
21
|
Requires-Dist: protobuf
|
|
22
22
|
Requires-Dist: tblib (>=1.7.0)
|
|
23
23
|
Requires-Dist: virtualenv (>=20.4) ; extra == "build"
|
|
24
|
+
Project-URL: Repository, https://github.com/fal-ai/isolate
|
|
24
25
|
Description-Content-Type: text/markdown
|
|
25
26
|
|
|
26
27
|
# Isolate
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
isolate/__init__.py,sha256=HoGrQYpnc5f7JD5rKfvX6IJ0NY3TwycIqfg4v62VGx0,63
|
|
2
|
+
isolate/backends/__init__.py,sha256=LLrSM7UnDFW8tIT5oYlE1wVJrxKcaj_v7cFwvTjQTlc,119
|
|
3
|
+
isolate/backends/_base.py,sha256=F_eZzeGcebsf5ihhziO7HvV8h47hZB074GgeCJ5gIN0,4104
|
|
4
|
+
isolate/backends/common.py,sha256=_pGqANUY_FPdlgQeWIoQeKS7pW45w18-VB3-PyyiFgc,8344
|
|
5
|
+
isolate/backends/conda.py,sha256=LoTr2Dqg5woRCDO7WyZop_DUM76vRaxebkTSFV-Lnbk,7662
|
|
6
|
+
isolate/backends/local.py,sha256=woxe4dmXuEHxWKsGNndoRA1_sP6yG-dg6tlFZni0mZc,1360
|
|
7
|
+
isolate/backends/pyenv.py,sha256=XwFTcfQfPcMVI5NGFydMKN3qEY4LoxV2YIeGvOq9G_c,5378
|
|
8
|
+
isolate/backends/remote.py,sha256=4oBQZvXz5Gf7ZwIeLf1oV6VijFcPhyqktbrES9w_c1w,4215
|
|
9
|
+
isolate/backends/settings.py,sha256=AiPYpzeon_AHS3ewSIKc0TMF4XrNdM32EFvgSTH2odE,3291
|
|
10
|
+
isolate/backends/virtualenv.py,sha256=DiBAiybOLWMxJobIRaH4AgDn9agY5VrVPaSQObQa1Lo,6989
|
|
11
|
+
isolate/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
|
+
isolate/common/timestamp.py,sha256=seh7FrMRH4i1SCQavA8d-7z8qi0pP8lYYhd29gTPMwE,367
|
|
13
|
+
isolate/connections/__init__.py,sha256=oa0PNo7ZQ0StPIDvKnJ02_CNVMyfOhxJ3M1C0VMvj9c,627
|
|
14
|
+
isolate/connections/_local/__init__.py,sha256=6FtCKRSFBvTvjm5LNlNA-mieKEq3J7DZZRPcXVedERo,146
|
|
15
|
+
isolate/connections/_local/_base.py,sha256=qCx2M8kbxuPTruj9kH5z005LU2FaC0BkLxsgY-sXRlg,6214
|
|
16
|
+
isolate/connections/_local/agent_startup.py,sha256=swCs6Q0yVkDw7w-RftizHSMyJDM7DQwuP3TB0qI1ucg,1552
|
|
17
|
+
isolate/connections/common.py,sha256=PAfBGKZNUdtFlZQlw3_nQaUCKQXTnEkxzNNRV_i4R2A,3498
|
|
18
|
+
isolate/connections/grpc/__init__.py,sha256=tcesLxlC36P6wSg2lBcO2egsJWMbSKwc8zFXhWac3YU,85
|
|
19
|
+
isolate/connections/grpc/_base.py,sha256=6pmCCQk9U1IXgVQga4QFMfx2fubVSx0JP5QZFa0RCRU,5515
|
|
20
|
+
isolate/connections/grpc/agent.py,sha256=e1z1FpKfrYVRI3nI3seuQfStNMZ00sgMDX33Zddx3rE,7639
|
|
21
|
+
isolate/connections/grpc/configuration.py,sha256=50YvGGHA9uyKg74xU_gc73j7bsFk973uIpMhmw2HhxY,788
|
|
22
|
+
isolate/connections/grpc/definitions/__init__.py,sha256=Z0453Bbjoq-Oxm2Wfi9fae-BFf8YsZwmuh88strmvxo,459
|
|
23
|
+
isolate/connections/grpc/definitions/agent.proto,sha256=Hx11hHc8PKwhWzyasViLeq7JL33KsRex2-iibfWruTw,568
|
|
24
|
+
isolate/connections/grpc/definitions/agent_pb2.py,sha256=FeK2Pivl6WFdK0HhV7O_0CIopACJ3vbcXYszWeA-hwA,1344
|
|
25
|
+
isolate/connections/grpc/definitions/agent_pb2.pyi,sha256=y6wSOsMf0N5CJhFhVidTMM8WoDJNXMprfeO4zgl4Z-o,1970
|
|
26
|
+
isolate/connections/grpc/definitions/agent_pb2_grpc.py,sha256=pZzXKSL2zsIiGTE1OiDimA0nrjzZVTGgFIXG1fcphi0,2451
|
|
27
|
+
isolate/connections/grpc/definitions/common.proto,sha256=4W1upvDIPezNj-Ab6FVNa-7cA9_N-2xJMJpwytRhpCw,1260
|
|
28
|
+
isolate/connections/grpc/definitions/common_pb2.py,sha256=kU4hYQ04B2LNcjCjXb9m1ukb8wWVXLuASsANvXQZFbE,2344
|
|
29
|
+
isolate/connections/grpc/definitions/common_pb2.pyi,sha256=J624Xc1Fp91ZFF8zdjJk1KCHNfHc2gRY8i3Aj1ofzKo,6887
|
|
30
|
+
isolate/connections/grpc/definitions/common_pb2_grpc.py,sha256=xYOs94SXiNYAlFodACnsXW5QovLsHY5tCk3p76RH5Zc,158
|
|
31
|
+
isolate/connections/grpc/interface.py,sha256=yt63kytgXRXrTnjePGJVdXz4LJJVSSrNkJCF1yz6FIE,2270
|
|
32
|
+
isolate/connections/ipc/__init__.py,sha256=j2Mbsph2mRhAWmkMyrtPOz0VG-e75h1OOZLwzs6pXUo,131
|
|
33
|
+
isolate/connections/ipc/_base.py,sha256=8yV_x1JWvO1s4xeHs6pQuUckkJXsgZnp0x3NxawqkWs,8430
|
|
34
|
+
isolate/connections/ipc/agent.py,sha256=MJg_zedphWWmPUY7k2MsgYHQZ_EaIq8VFALOzf4vLII,6789
|
|
35
|
+
isolate/logs.py,sha256=crqCg1PLoFbeNx-GS7v9cw3C9PL59SUXAi_qTyLSHNg,2080
|
|
36
|
+
isolate/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
37
|
+
isolate/registry.py,sha256=hpzv4HI7iihG5I7i5r8Pb257ibhEKY18xQcG-w1-BgI,1590
|
|
38
|
+
isolate/server/__init__.py,sha256=7R3GuWmxuqe0q28rVqETJN9OCrP_-Svjv9h0NR1GFL0,79
|
|
39
|
+
isolate/server/definitions/__init__.py,sha256=f_Q3pdjMuZrjgNlbM60btFKiB1Vg8cnVyKEbp0RmU0A,572
|
|
40
|
+
isolate/server/definitions/server.proto,sha256=08wnvXkK-Kco6OQaUkwm__dYSNvgOFhHO1GWRDT6y_Y,731
|
|
41
|
+
isolate/server/definitions/server_pb2.py,sha256=fSH9U5UeTHUj8cQo9JIW5ie2Pr-0ATtm5pLL-MteaCA,1825
|
|
42
|
+
isolate/server/definitions/server_pb2.pyi,sha256=JaI_Xd72MIyhb0pYvLBjJxpckS8Rhg9ZKbziauRQXkE,3306
|
|
43
|
+
isolate/server/definitions/server_pb2_grpc.py,sha256=MsnTuwgwQM1Hw7S234DOABv9s2trf0TaVib4jh4u_6c,2548
|
|
44
|
+
isolate/server/health/__init__.py,sha256=tBnYfJMdDPIAwzfAjuY7B9rOTsObowurHd7ZytW3pIw,324
|
|
45
|
+
isolate/server/health/health.proto,sha256=wE2_QD0OQAblKkEBG7sALLXEOj1mOLKG-FbC4tFopWE,455
|
|
46
|
+
isolate/server/health/health_pb2.py,sha256=mCnDq0-frAddHopN_g_LueHddbW-sN5kOfntJDlAvUY,1783
|
|
47
|
+
isolate/server/health/health_pb2.pyi,sha256=boMRHMlX770EuccQCFTeRgf_KA_VMgW7l9GZIwxvMok,2546
|
|
48
|
+
isolate/server/health/health_pb2_grpc.py,sha256=JRluct2W4af83OYxwmcCn0vRc78zf04Num0vBApuPEo,4005
|
|
49
|
+
isolate/server/health_server.py,sha256=yN7F1Q28DdX8-Zk3gef7XcQEE25XwlHwzV5GBM75aQM,1249
|
|
50
|
+
isolate/server/interface.py,sha256=nGbjdxrN0p9m1LNdeds8NIoJOwPYW2NM6ktmbhfG4_s,687
|
|
51
|
+
isolate/server/server.py,sha256=b5bsgVmZ7cfHy6QQXq7q3AGBIqO8W74rdWsbfqHCNGg,13594
|
|
52
|
+
isolate-0.12.8.dist-info/LICENSE,sha256=427vuyirL5scgBLqA9UWcdnxKrtSGc0u_JfUupk6lAA,11359
|
|
53
|
+
isolate-0.12.8.dist-info/METADATA,sha256=DwSs12t8jGvdZoAzzTji7NeSYK4SLjx_2dTxMZURL78,2783
|
|
54
|
+
isolate-0.12.8.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
|
|
55
|
+
isolate-0.12.8.dist-info/entry_points.txt,sha256=QXWwDC7bzMidCWvv7WrIKvlWneFKA21c3SDMVvgHpT4,281
|
|
56
|
+
isolate-0.12.8.dist-info/RECORD,,
|
isolate-0.12.6.dist-info/RECORD
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
isolate/__init__.py,sha256=zTNX62myAQBEKk3BUQ9_-eYryNzEVPpuWRbqkVyCsCo,49
|
|
2
|
-
isolate/backends/__init__.py,sha256=_Z92FgH02UYPlF5azuzb2MZUJcmSzLOO0Ry__VX2CWE,91
|
|
3
|
-
isolate/backends/_base.py,sha256=WicmqNs1N5Tof4XAjveyt3FxR2qe-9ymE5J_B3-xqpY,4131
|
|
4
|
-
isolate/backends/common.py,sha256=GqXF7uMO_nc7KvFCkxKjbgdmQJva0dR70EBAZWcUE_E,8389
|
|
5
|
-
isolate/backends/conda.py,sha256=4Xhlkpr6aWhyYht2hOYiLADfID6XKVP2wh2BkZ6bpsk,7737
|
|
6
|
-
isolate/backends/local.py,sha256=n_RKUHsEEUo1oyLlRw0PzUAbwDC9qMjp9SvnDFeDFE0,1366
|
|
7
|
-
isolate/backends/pyenv.py,sha256=AoWbphdZpxpoo704J2tS4l-gfzMrPcUD1gm1ORMhUek,5404
|
|
8
|
-
isolate/backends/remote.py,sha256=2JA5RZISb4Qa_8a8aYnQrinpDZG89dtUnSRvJeTAx78,4208
|
|
9
|
-
isolate/backends/settings.py,sha256=YRe0M-HHcBGsHngs0HdcOaKAaGcVJOJfLgnKVA-huPM,3296
|
|
10
|
-
isolate/backends/virtualenv.py,sha256=0Kpn-bdHzEWsuqoZ6clEufRfztK95wt7Qc6wWhCtjro,7046
|
|
11
|
-
isolate/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
|
-
isolate/common/timestamp.py,sha256=seh7FrMRH4i1SCQavA8d-7z8qi0pP8lYYhd29gTPMwE,367
|
|
13
|
-
isolate/connections/__init__.py,sha256=6BKY7P23ZZ2au0Efc2RO7Pt-kVqYF-Qprrz-rLIfyXc,722
|
|
14
|
-
isolate/connections/_local/__init__.py,sha256=Zklry8jiqMw6-MTfS1L6pqmCCqRzOOGCyZgVLGRpDVY,118
|
|
15
|
-
isolate/connections/_local/_base.py,sha256=2R5uenG-OAOOTmgVoADs7xoSCemwTlWsIpYRKVNYFu0,6251
|
|
16
|
-
isolate/connections/_local/agent_startup.py,sha256=swCs6Q0yVkDw7w-RftizHSMyJDM7DQwuP3TB0qI1ucg,1552
|
|
17
|
-
isolate/connections/common.py,sha256=aXMT0vPaFbqn0h7d0j3a8CNxgTv8MeNM2xLlXcz2370,3538
|
|
18
|
-
isolate/connections/grpc/__init__.py,sha256=jQ9oN8X2o64pm0lSwc1fin_45ZJkFe1-i5zq8PdX2CU,71
|
|
19
|
-
isolate/connections/grpc/_base.py,sha256=f2OpaeEaHCTnLPA3jcWHYDLPEuqX14otPd82UT5hdz8,5529
|
|
20
|
-
isolate/connections/grpc/agent.py,sha256=x1MBNqgEFIv_0yDu6p5vf5ypv_rsl7Fxm5eiI9NhXEY,7814
|
|
21
|
-
isolate/connections/grpc/configuration.py,sha256=50YvGGHA9uyKg74xU_gc73j7bsFk973uIpMhmw2HhxY,788
|
|
22
|
-
isolate/connections/grpc/definitions/__init__.py,sha256=-A4fhg-y-IuXTMsZsa8Eyg1V0mvctoh1s4Igv8Fexa0,389
|
|
23
|
-
isolate/connections/grpc/definitions/agent.proto,sha256=Hx11hHc8PKwhWzyasViLeq7JL33KsRex2-iibfWruTw,568
|
|
24
|
-
isolate/connections/grpc/definitions/agent_pb2.py,sha256=FeK2Pivl6WFdK0HhV7O_0CIopACJ3vbcXYszWeA-hwA,1344
|
|
25
|
-
isolate/connections/grpc/definitions/agent_pb2.pyi,sha256=y6wSOsMf0N5CJhFhVidTMM8WoDJNXMprfeO4zgl4Z-o,1970
|
|
26
|
-
isolate/connections/grpc/definitions/agent_pb2_grpc.py,sha256=pZzXKSL2zsIiGTE1OiDimA0nrjzZVTGgFIXG1fcphi0,2451
|
|
27
|
-
isolate/connections/grpc/definitions/common.proto,sha256=4W1upvDIPezNj-Ab6FVNa-7cA9_N-2xJMJpwytRhpCw,1260
|
|
28
|
-
isolate/connections/grpc/definitions/common_pb2.py,sha256=kU4hYQ04B2LNcjCjXb9m1ukb8wWVXLuASsANvXQZFbE,2344
|
|
29
|
-
isolate/connections/grpc/definitions/common_pb2.pyi,sha256=J624Xc1Fp91ZFF8zdjJk1KCHNfHc2gRY8i3Aj1ofzKo,6887
|
|
30
|
-
isolate/connections/grpc/definitions/common_pb2_grpc.py,sha256=xYOs94SXiNYAlFodACnsXW5QovLsHY5tCk3p76RH5Zc,158
|
|
31
|
-
isolate/connections/grpc/interface.py,sha256=4i5U3wGPptvmsQtsBgWt3x3aGS5Pdi7PlhaGnk2M7UU,2285
|
|
32
|
-
isolate/connections/ipc/__init__.py,sha256=D1M9uBMOcZXXocGcYIUP1kwvZKKppA5t-asa5z6fdZ8,117
|
|
33
|
-
isolate/connections/ipc/_base.py,sha256=74UncVPlMzLwPkAzb2DCcjJ4y_aNY7G6YyCl4Gcn0F4,8516
|
|
34
|
-
isolate/connections/ipc/agent.py,sha256=4POlLpJXjSZUqOrKb6kcWW9wGT37ydoTQwf6uBThbBk,6837
|
|
35
|
-
isolate/logs.py,sha256=dL2Cpr9VmbJ7y0CBNWWdJI3r2MuRYKqVymq-4kJdeLc,2229
|
|
36
|
-
isolate/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
37
|
-
isolate/registry.py,sha256=bU3HjmU0TJk9LzTk21QBsPxisSbcannJOubJP7KesHY,1611
|
|
38
|
-
isolate/server/__init__.py,sha256=RTpSjdPKA5XaHhDJ_2Z6dgxfY3nyuLfjoyCjdM41FJo,65
|
|
39
|
-
isolate/server/definitions/__init__.py,sha256=MMz5X05gM00Epk5S7OVXoVpJHCRWx1SP9cRAm6gs9XM,488
|
|
40
|
-
isolate/server/definitions/server.proto,sha256=08wnvXkK-Kco6OQaUkwm__dYSNvgOFhHO1GWRDT6y_Y,731
|
|
41
|
-
isolate/server/definitions/server_pb2.py,sha256=fSH9U5UeTHUj8cQo9JIW5ie2Pr-0ATtm5pLL-MteaCA,1825
|
|
42
|
-
isolate/server/definitions/server_pb2.pyi,sha256=JaI_Xd72MIyhb0pYvLBjJxpckS8Rhg9ZKbziauRQXkE,3306
|
|
43
|
-
isolate/server/definitions/server_pb2_grpc.py,sha256=MsnTuwgwQM1Hw7S234DOABv9s2trf0TaVib4jh4u_6c,2548
|
|
44
|
-
isolate/server/health/__init__.py,sha256=4oYyF6NzCgCABM5ElRAdEu37pO5BrHZjozgNXlJJoEg,282
|
|
45
|
-
isolate/server/health/health.proto,sha256=wE2_QD0OQAblKkEBG7sALLXEOj1mOLKG-FbC4tFopWE,455
|
|
46
|
-
isolate/server/health/health_pb2.py,sha256=mCnDq0-frAddHopN_g_LueHddbW-sN5kOfntJDlAvUY,1783
|
|
47
|
-
isolate/server/health/health_pb2.pyi,sha256=boMRHMlX770EuccQCFTeRgf_KA_VMgW7l9GZIwxvMok,2546
|
|
48
|
-
isolate/server/health/health_pb2_grpc.py,sha256=JRluct2W4af83OYxwmcCn0vRc78zf04Num0vBApuPEo,4005
|
|
49
|
-
isolate/server/health_server.py,sha256=yN7F1Q28DdX8-Zk3gef7XcQEE25XwlHwzV5GBM75aQM,1249
|
|
50
|
-
isolate/server/interface.py,sha256=nGbjdxrN0p9m1LNdeds8NIoJOwPYW2NM6ktmbhfG4_s,687
|
|
51
|
-
isolate/server/server.py,sha256=xLkTWmhuDBNDxQyFGTyCUBea0QuelXs0rpwdB_lh7ZU,13095
|
|
52
|
-
isolate-0.12.6.dist-info/METADATA,sha256=MnM0B8QpUYGZeq60oXyJYIjyO50PAnV4T8JCFwr-8Xk,2729
|
|
53
|
-
isolate-0.12.6.dist-info/WHEEL,sha256=7Z8_27uaHI_UZAc4Uox4PpBhQ9Y5_modZXWMxtUi4NU,88
|
|
54
|
-
isolate-0.12.6.dist-info/entry_points.txt,sha256=QXWwDC7bzMidCWvv7WrIKvlWneFKA21c3SDMVvgHpT4,281
|
|
55
|
-
isolate-0.12.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|