isolate 0.12.10__py3-none-any.whl → 0.12.11__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/_isolate_version.py +2 -2
- isolate/backends/_base.py +2 -1
- isolate/connections/common.py +3 -1
- isolate/connections/grpc/_base.py +2 -1
- isolate/connections/grpc/agent.py +2 -1
- isolate/exceptions.py +2 -0
- {isolate-0.12.10.dist-info → isolate-0.12.11.dist-info}/METADATA +1 -1
- {isolate-0.12.10.dist-info → isolate-0.12.11.dist-info}/RECORD +12 -11
- {isolate-0.12.10.dist-info → isolate-0.12.11.dist-info}/LICENSE +0 -0
- {isolate-0.12.10.dist-info → isolate-0.12.11.dist-info}/WHEEL +0 -0
- {isolate-0.12.10.dist-info → isolate-0.12.11.dist-info}/entry_points.txt +0 -0
- {isolate-0.12.10.dist-info → isolate-0.12.11.dist-info}/top_level.txt +0 -0
isolate/_isolate_version.py
CHANGED
isolate/backends/_base.py
CHANGED
|
@@ -12,6 +12,7 @@ from typing import (
|
|
|
12
12
|
)
|
|
13
13
|
|
|
14
14
|
from isolate.backends.settings import DEFAULT_SETTINGS, IsolateSettings
|
|
15
|
+
from isolate.exceptions import IsolateException
|
|
15
16
|
from isolate.logs import Log, LogLevel, LogSource
|
|
16
17
|
|
|
17
18
|
__all__ = [
|
|
@@ -27,7 +28,7 @@ CallResultType = TypeVar("CallResultType")
|
|
|
27
28
|
BasicCallable = Callable[[], CallResultType]
|
|
28
29
|
|
|
29
30
|
|
|
30
|
-
class EnvironmentCreationError(
|
|
31
|
+
class EnvironmentCreationError(IsolateException):
|
|
31
32
|
"""Raised when the environment cannot be created."""
|
|
32
33
|
|
|
33
34
|
|
isolate/connections/common.py
CHANGED
|
@@ -8,6 +8,8 @@ from typing import TYPE_CHECKING, Any, Iterator, cast
|
|
|
8
8
|
|
|
9
9
|
from tblib import Traceback, TracebackParseError
|
|
10
10
|
|
|
11
|
+
from isolate.exceptions import IsolateException
|
|
12
|
+
|
|
11
13
|
if TYPE_CHECKING:
|
|
12
14
|
from typing import Protocol
|
|
13
15
|
|
|
@@ -21,7 +23,7 @@ AGENT_SIGNATURE = "IS_ISOLATE_AGENT"
|
|
|
21
23
|
|
|
22
24
|
|
|
23
25
|
@dataclass
|
|
24
|
-
class SerializationError(
|
|
26
|
+
class SerializationError(IsolateException):
|
|
25
27
|
"""An error that happened during the serialization process."""
|
|
26
28
|
|
|
27
29
|
message: str
|
|
@@ -16,10 +16,11 @@ 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
18
|
from isolate.connections.grpc.interface import from_grpc
|
|
19
|
+
from isolate.exceptions import IsolateException
|
|
19
20
|
from isolate.logs import LogLevel, LogSource
|
|
20
21
|
|
|
21
22
|
|
|
22
|
-
class AgentError(
|
|
23
|
+
class AgentError(IsolateException):
|
|
23
24
|
"""An internal problem caused by (most probably) the agent."""
|
|
24
25
|
|
|
25
26
|
|
|
@@ -22,11 +22,12 @@ from isolate.connections.common import SerializationError, serialize_object
|
|
|
22
22
|
from isolate.connections.grpc import definitions
|
|
23
23
|
from isolate.connections.grpc.configuration import get_default_options
|
|
24
24
|
from isolate.connections.grpc.interface import from_grpc, to_grpc
|
|
25
|
+
from isolate.exceptions import IsolateException
|
|
25
26
|
from isolate.logs import Log, LogLevel, LogSource
|
|
26
27
|
|
|
27
28
|
|
|
28
29
|
@dataclass
|
|
29
|
-
class AbortException(
|
|
30
|
+
class AbortException(IsolateException):
|
|
30
31
|
message: str
|
|
31
32
|
|
|
32
33
|
|
isolate/exceptions.py
ADDED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
isolate/__init__.py,sha256=uXOKnONs7sXgARNgElwr4_A1sKoA6ACHVEvs3IDiX1M,127
|
|
2
|
-
isolate/_isolate_version.py,sha256=
|
|
2
|
+
isolate/_isolate_version.py,sha256=ibxkEhOolH4KTxmT7hKzBWG_rM1opxjT5eTo3nE8TdM,415
|
|
3
3
|
isolate/_version.py,sha256=05pXvy-yr5t3I1m9JMn42Ilzpg7fa8IB2J8a3G7t1cU,274
|
|
4
|
+
isolate/exceptions.py,sha256=ki-f7khY-Yo1J8nPdy5IP-aZhQyLUP9pp3dE0moEVKw,44
|
|
4
5
|
isolate/logs.py,sha256=R_AHUVYD18z_PhtK_mDWi9Gch79CxmwHY09hUDShtwg,2079
|
|
5
6
|
isolate/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
7
|
isolate/registry.py,sha256=hpzv4HI7iihG5I7i5r8Pb257ibhEKY18xQcG-w1-BgI,1590
|
|
7
8
|
isolate/backends/__init__.py,sha256=LLrSM7UnDFW8tIT5oYlE1wVJrxKcaj_v7cFwvTjQTlc,119
|
|
8
|
-
isolate/backends/_base.py,sha256=
|
|
9
|
+
isolate/backends/_base.py,sha256=senNj-k2Dp2DkyxmZy7WxzsexmPfU6_DBo7bbZDqTLQ,4167
|
|
9
10
|
isolate/backends/common.py,sha256=ZiU0Vkz78qaPH_3ThV28OcHi8QgXie4aBrkPXCJuNBM,8321
|
|
10
11
|
isolate/backends/conda.py,sha256=OIQrpt_VffW2PjPOIzp-JvonW4e7rDQ1ASHOEjyzD8E,7646
|
|
11
12
|
isolate/backends/local.py,sha256=woxe4dmXuEHxWKsGNndoRA1_sP6yG-dg6tlFZni0mZc,1360
|
|
@@ -16,13 +17,13 @@ isolate/backends/virtualenv.py,sha256=DiBAiybOLWMxJobIRaH4AgDn9agY5VrVPaSQObQa1L
|
|
|
16
17
|
isolate/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
18
|
isolate/common/timestamp.py,sha256=seh7FrMRH4i1SCQavA8d-7z8qi0pP8lYYhd29gTPMwE,367
|
|
18
19
|
isolate/connections/__init__.py,sha256=oa0PNo7ZQ0StPIDvKnJ02_CNVMyfOhxJ3M1C0VMvj9c,627
|
|
19
|
-
isolate/connections/common.py,sha256=
|
|
20
|
+
isolate/connections/common.py,sha256=cPpNhD7adMLfV7lE7tKuUwIBkjRLfbh3AtJykJgS1bQ,3554
|
|
20
21
|
isolate/connections/_local/__init__.py,sha256=6FtCKRSFBvTvjm5LNlNA-mieKEq3J7DZZRPcXVedERo,146
|
|
21
22
|
isolate/connections/_local/_base.py,sha256=qCx2M8kbxuPTruj9kH5z005LU2FaC0BkLxsgY-sXRlg,6214
|
|
22
23
|
isolate/connections/_local/agent_startup.py,sha256=swCs6Q0yVkDw7w-RftizHSMyJDM7DQwuP3TB0qI1ucg,1552
|
|
23
24
|
isolate/connections/grpc/__init__.py,sha256=tcesLxlC36P6wSg2lBcO2egsJWMbSKwc8zFXhWac3YU,85
|
|
24
|
-
isolate/connections/grpc/_base.py,sha256=
|
|
25
|
-
isolate/connections/grpc/agent.py,sha256=
|
|
25
|
+
isolate/connections/grpc/_base.py,sha256=hfGy_kFjifpK3zHD0_OTqpTF6CTOZH6abNnET4XLwE8,5613
|
|
26
|
+
isolate/connections/grpc/agent.py,sha256=D5icvO9zwsXDWB3xvRGSVl5OfkRH37bQ3VZdBdotg9c,7752
|
|
26
27
|
isolate/connections/grpc/configuration.py,sha256=50YvGGHA9uyKg74xU_gc73j7bsFk973uIpMhmw2HhxY,788
|
|
27
28
|
isolate/connections/grpc/interface.py,sha256=yt63kytgXRXrTnjePGJVdXz4LJJVSSrNkJCF1yz6FIE,2270
|
|
28
29
|
isolate/connections/grpc/definitions/__init__.py,sha256=Z0453Bbjoq-Oxm2Wfi9fae-BFf8YsZwmuh88strmvxo,459
|
|
@@ -51,9 +52,9 @@ isolate/server/health/health.proto,sha256=wE2_QD0OQAblKkEBG7sALLXEOj1mOLKG-FbC4t
|
|
|
51
52
|
isolate/server/health/health_pb2.py,sha256=mCnDq0-frAddHopN_g_LueHddbW-sN5kOfntJDlAvUY,1783
|
|
52
53
|
isolate/server/health/health_pb2.pyi,sha256=boMRHMlX770EuccQCFTeRgf_KA_VMgW7l9GZIwxvMok,2546
|
|
53
54
|
isolate/server/health/health_pb2_grpc.py,sha256=JRluct2W4af83OYxwmcCn0vRc78zf04Num0vBApuPEo,4005
|
|
54
|
-
isolate-0.12.
|
|
55
|
-
isolate-0.12.
|
|
56
|
-
isolate-0.12.
|
|
57
|
-
isolate-0.12.
|
|
58
|
-
isolate-0.12.
|
|
59
|
-
isolate-0.12.
|
|
55
|
+
isolate-0.12.11.dist-info/LICENSE,sha256=427vuyirL5scgBLqA9UWcdnxKrtSGc0u_JfUupk6lAA,11359
|
|
56
|
+
isolate-0.12.11.dist-info/METADATA,sha256=0bXODbgwNbrAgoSXUV41ycHm2jHpCdYn-jD6tGwlne4,3154
|
|
57
|
+
isolate-0.12.11.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
58
|
+
isolate-0.12.11.dist-info/entry_points.txt,sha256=XQ_nl-8MR94UnekxbBJRNGlY-lZ_Qh50N4mzwFDdwV8,290
|
|
59
|
+
isolate-0.12.11.dist-info/top_level.txt,sha256=W9QJBHcq5WXRkbOXf25bvftzFsOZZN4n1DAatdroZrs,8
|
|
60
|
+
isolate-0.12.11.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|