cycls 0.0.2.77__tar.gz → 0.0.2.79__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.
- {cycls-0.0.2.77 → cycls-0.0.2.79}/PKG-INFO +1 -1
- {cycls-0.0.2.77 → cycls-0.0.2.79}/cycls/runtime.py +3 -5
- {cycls-0.0.2.77 → cycls-0.0.2.79}/pyproject.toml +1 -1
- {cycls-0.0.2.77 → cycls-0.0.2.79}/README.md +0 -0
- {cycls-0.0.2.77 → cycls-0.0.2.79}/cycls/__init__.py +0 -0
- {cycls-0.0.2.77 → cycls-0.0.2.79}/cycls/auth.py +0 -0
- {cycls-0.0.2.77 → cycls-0.0.2.79}/cycls/cli.py +0 -0
- {cycls-0.0.2.77 → cycls-0.0.2.79}/cycls/default-theme/assets/index-B0ZKcm_V.css +0 -0
- {cycls-0.0.2.77 → cycls-0.0.2.79}/cycls/default-theme/assets/index-D5EDcI4J.js +0 -0
- {cycls-0.0.2.77 → cycls-0.0.2.79}/cycls/default-theme/index.html +0 -0
- {cycls-0.0.2.77 → cycls-0.0.2.79}/cycls/dev-theme/index.html +0 -0
- {cycls-0.0.2.77 → cycls-0.0.2.79}/cycls/grpc/__init__.py +0 -0
- {cycls-0.0.2.77 → cycls-0.0.2.79}/cycls/grpc/client.py +0 -0
- {cycls-0.0.2.77 → cycls-0.0.2.79}/cycls/grpc/runtime.proto +0 -0
- {cycls-0.0.2.77 → cycls-0.0.2.79}/cycls/grpc/runtime_pb2.py +0 -0
- {cycls-0.0.2.77 → cycls-0.0.2.79}/cycls/grpc/runtime_pb2_grpc.py +0 -0
- {cycls-0.0.2.77 → cycls-0.0.2.79}/cycls/grpc/server.py +0 -0
- {cycls-0.0.2.77 → cycls-0.0.2.79}/cycls/sdk.py +0 -0
- {cycls-0.0.2.77 → cycls-0.0.2.79}/cycls/web.py +0 -0
|
@@ -235,17 +235,15 @@ CMD ["python", "entrypoint.py"]
|
|
|
235
235
|
tag = self._ensure_grpc_image()
|
|
236
236
|
self._perform_auto_cleanup(keep_tag=tag)
|
|
237
237
|
|
|
238
|
-
# Port mappings
|
|
239
|
-
ports = {f'{GRPC_PORT}/tcp':
|
|
238
|
+
# Port mappings (fixed ports avoid race conditions)
|
|
239
|
+
ports = {f'{GRPC_PORT}/tcp': GRPC_PORT}
|
|
240
240
|
if service_port:
|
|
241
241
|
ports[f'{service_port}/tcp'] = service_port
|
|
242
242
|
|
|
243
243
|
self._container = self.docker_client.containers.run(
|
|
244
244
|
tag, detach=True, ports=ports, labels={self.managed_label: "true"}
|
|
245
245
|
)
|
|
246
|
-
self.
|
|
247
|
-
self._host_port = int(self._container.ports[f'{GRPC_PORT}/tcp'][0]['HostPort'])
|
|
248
|
-
|
|
246
|
+
self._host_port = GRPC_PORT
|
|
249
247
|
self._client = RuntimeClient(port=self._host_port)
|
|
250
248
|
if not self._client.wait_ready(timeout=10):
|
|
251
249
|
raise RuntimeError("Container failed to start")
|
|
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
|