isolate 0.13.6__tar.gz → 0.13.8__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.13.6 → isolate-0.13.8}/PKG-INFO +1 -1
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/_isolate_version.py +2 -2
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/server/server.py +8 -3
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate.egg-info/PKG-INFO +1 -1
- {isolate-0.13.6 → isolate-0.13.8}/.github/workflows/release.yml +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/.github/workflows/test.yml +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/.gitignore +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/.pre-commit-config.yaml +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/LICENSE +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/README.md +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/pyproject.toml +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/setup.cfg +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/__init__.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/_version.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/backends/__init__.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/backends/_base.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/backends/common.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/backends/conda.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/backends/container.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/backends/local.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/backends/pyenv.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/backends/remote.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/backends/settings.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/backends/virtualenv.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/common/__init__.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/common/timestamp.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/connections/__init__.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/connections/_local/__init__.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/connections/_local/_base.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/connections/_local/agent_startup.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/connections/common.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/connections/grpc/__init__.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/connections/grpc/_base.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/connections/grpc/agent.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/connections/grpc/configuration.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/connections/grpc/definitions/__init__.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/connections/grpc/definitions/agent.proto +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/connections/grpc/definitions/agent_pb2.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/connections/grpc/definitions/agent_pb2.pyi +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/connections/grpc/definitions/agent_pb2_grpc.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/connections/grpc/definitions/common.proto +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/connections/grpc/definitions/common_pb2.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/connections/grpc/definitions/common_pb2.pyi +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/connections/grpc/definitions/common_pb2_grpc.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/connections/grpc/interface.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/connections/ipc/__init__.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/connections/ipc/_base.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/connections/ipc/agent.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/logger.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/logs.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/py.typed +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/registry.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/server/__init__.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/server/definitions/__init__.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/server/definitions/server.proto +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/server/definitions/server_pb2.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/server/definitions/server_pb2.pyi +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/server/definitions/server_pb2_grpc.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/server/health/__init__.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/server/health/health.proto +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/server/health/health_pb2.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/server/health/health_pb2.pyi +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/server/health/health_pb2_grpc.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/server/health_server.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate/server/interface.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate.egg-info/SOURCES.txt +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate.egg-info/dependency_links.txt +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate.egg-info/entry_points.txt +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate.egg-info/requires.txt +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/src/isolate.egg-info/top_level.txt +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/tests/__init__.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/tests/conftest.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/tests/test_backends.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/tests/test_concurrency.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/tests/test_connections.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/tests/test_isolate.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/tests/test_log.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/tests/test_serialization.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/tests/test_server.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/tools/Dockerfile +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/tools/agent_requirements.txt +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/tools/protobuf-requirements.txt +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/tools/regen_grpc.py +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/tools/requirements.txt +0 -0
- {isolate-0.13.6 → isolate-0.13.8}/tools/test_agent_requirements.txt +0 -0
|
@@ -329,8 +329,13 @@ class IsolateServicer(definitions.IsolateServicer):
|
|
|
329
329
|
|
|
330
330
|
self.background_tasks[task_id] = task
|
|
331
331
|
|
|
332
|
-
def _callback(
|
|
333
|
-
|
|
332
|
+
def _callback(future: futures.Future) -> None:
|
|
333
|
+
msg = f"Task {task_id} finished with"
|
|
334
|
+
if exc := future.exception():
|
|
335
|
+
msg += f" error: {exc!r}"
|
|
336
|
+
else:
|
|
337
|
+
msg += f" result: {future.result()!r}"
|
|
338
|
+
print(msg)
|
|
334
339
|
self.background_tasks.pop(task_id, None)
|
|
335
340
|
|
|
336
341
|
task.future.add_done_callback(_callback)
|
|
@@ -462,7 +467,7 @@ class LogHandler:
|
|
|
462
467
|
|
|
463
468
|
def main() -> None:
|
|
464
469
|
server = grpc.server(
|
|
465
|
-
|
|
470
|
+
futures.ThreadPoolExecutor(max_workers=MAX_THREADS),
|
|
466
471
|
options=get_default_options(),
|
|
467
472
|
)
|
|
468
473
|
with BridgeManager() as bridge_manager:
|
|
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
|
{isolate-0.13.6 → isolate-0.13.8}/src/isolate/connections/grpc/definitions/agent_pb2_grpc.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{isolate-0.13.6 → isolate-0.13.8}/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
|