isolate 0.18.0__tar.gz → 0.19.1__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.
Potentially problematic release.
This version of isolate might be problematic. Click here for more details.
- {isolate-0.18.0 → isolate-0.19.1}/PKG-INFO +1 -1
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/_isolate_version.py +16 -3
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/connections/common.py +3 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/connections/grpc/agent.py +5 -5
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate.egg-info/PKG-INFO +1 -1
- {isolate-0.18.0 → isolate-0.19.1}/.github/workflows/release.yml +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/.github/workflows/test.yml +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/.gitignore +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/.pre-commit-config.yaml +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/LICENSE +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/README.md +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/pyproject.toml +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/setup.cfg +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/__init__.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/_version.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/backends/__init__.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/backends/_base.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/backends/common.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/backends/conda.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/backends/container.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/backends/local.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/backends/pyenv.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/backends/remote.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/backends/settings.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/backends/virtualenv.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/common/__init__.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/common/timestamp.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/connections/__init__.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/connections/_local/__init__.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/connections/_local/_base.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/connections/_local/agent_startup.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/connections/grpc/__init__.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/connections/grpc/_base.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/connections/grpc/configuration.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/connections/grpc/definitions/__init__.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/connections/grpc/definitions/agent.proto +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/connections/grpc/definitions/agent_pb2.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/connections/grpc/definitions/agent_pb2.pyi +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/connections/grpc/definitions/agent_pb2_grpc.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/connections/grpc/definitions/common.proto +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/connections/grpc/definitions/common_pb2.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/connections/grpc/definitions/common_pb2.pyi +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/connections/grpc/definitions/common_pb2_grpc.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/connections/grpc/interface.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/connections/ipc/__init__.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/connections/ipc/_base.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/connections/ipc/agent.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/logger.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/logs.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/py.typed +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/registry.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/server/__init__.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/server/definitions/__init__.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/server/definitions/server.proto +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/server/definitions/server_pb2.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/server/definitions/server_pb2.pyi +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/server/definitions/server_pb2_grpc.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/server/health/__init__.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/server/health/health.proto +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/server/health/health_pb2.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/server/health/health_pb2.pyi +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/server/health/health_pb2_grpc.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/server/health_server.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/server/interface.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate/server/server.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate.egg-info/SOURCES.txt +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate.egg-info/dependency_links.txt +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate.egg-info/entry_points.txt +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate.egg-info/requires.txt +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/src/isolate.egg-info/top_level.txt +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/tests/__init__.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/tests/conftest.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/tests/test_backends.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/tests/test_concurrency.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/tests/test_connections.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/tests/test_isolate.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/tests/test_log.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/tests/test_logger.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/tests/test_serialization.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/tests/test_server.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/tools/Dockerfile +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/tools/agent_requirements.txt +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/tools/protobuf-requirements.txt +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/tools/regen_grpc.py +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/tools/requirements.txt +0 -0
- {isolate-0.18.0 → isolate-0.19.1}/tools/test_agent_requirements.txt +0 -0
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
# file generated by setuptools-scm
|
|
2
2
|
# don't change, don't track in version control
|
|
3
3
|
|
|
4
|
-
__all__ = [
|
|
4
|
+
__all__ = [
|
|
5
|
+
"__version__",
|
|
6
|
+
"__version_tuple__",
|
|
7
|
+
"version",
|
|
8
|
+
"version_tuple",
|
|
9
|
+
"__commit_id__",
|
|
10
|
+
"commit_id",
|
|
11
|
+
]
|
|
5
12
|
|
|
6
13
|
TYPE_CHECKING = False
|
|
7
14
|
if TYPE_CHECKING:
|
|
@@ -9,13 +16,19 @@ if TYPE_CHECKING:
|
|
|
9
16
|
from typing import Union
|
|
10
17
|
|
|
11
18
|
VERSION_TUPLE = Tuple[Union[int, str], ...]
|
|
19
|
+
COMMIT_ID = Union[str, None]
|
|
12
20
|
else:
|
|
13
21
|
VERSION_TUPLE = object
|
|
22
|
+
COMMIT_ID = object
|
|
14
23
|
|
|
15
24
|
version: str
|
|
16
25
|
__version__: str
|
|
17
26
|
__version_tuple__: VERSION_TUPLE
|
|
18
27
|
version_tuple: VERSION_TUPLE
|
|
28
|
+
commit_id: COMMIT_ID
|
|
29
|
+
__commit_id__: COMMIT_ID
|
|
19
30
|
|
|
20
|
-
__version__ = version = '0.
|
|
21
|
-
__version_tuple__ = version_tuple = (0,
|
|
31
|
+
__version__ = version = '0.19.1'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 19, 1)
|
|
33
|
+
|
|
34
|
+
__commit_id__ = commit_id = 'gffe69f71c'
|
|
@@ -7,6 +7,9 @@ from dataclasses import dataclass
|
|
|
7
7
|
from typing import TYPE_CHECKING, Any, Iterator, cast
|
|
8
8
|
|
|
9
9
|
from tblib import Traceback, TracebackParseError
|
|
10
|
+
from tblib.pickling_support import install as tblib_install
|
|
11
|
+
|
|
12
|
+
tblib_install()
|
|
10
13
|
|
|
11
14
|
if TYPE_CHECKING:
|
|
12
15
|
from typing import Protocol
|
|
@@ -126,11 +126,11 @@ class AgentServicer(definitions.AgentServicer):
|
|
|
126
126
|
# TODO: technically any sort of exception could be raised here, since
|
|
127
127
|
# depickling is basically involves code execution from the *user*.
|
|
128
128
|
function = from_grpc(function)
|
|
129
|
-
except SerializationError:
|
|
130
|
-
traceback.
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
129
|
+
except SerializationError as exc:
|
|
130
|
+
str_tb = traceback.format_exc()
|
|
131
|
+
self.log(str_tb)
|
|
132
|
+
self.log(f"The {function_kind} function could not be deserialized.")
|
|
133
|
+
return exc, True, str_tb
|
|
134
134
|
|
|
135
135
|
if not callable(function):
|
|
136
136
|
raise AbortException(
|
|
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
|
|
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
|
{isolate-0.18.0 → isolate-0.19.1}/src/isolate/connections/grpc/definitions/agent_pb2_grpc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{isolate-0.18.0 → isolate-0.19.1}/src/isolate/connections/grpc/definitions/common_pb2_grpc.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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|