From 1911edd550d76493f5bcc0cf4d3ab7e0c6ec4bd7 Mon Sep 17 00:00:00 2001 From: Oskar Handmark Date: Wed, 18 Nov 2020 11:49:38 +0100 Subject: [PATCH 1/2] add another chunked encoding error catch --- cowait/engine/docker.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cowait/engine/docker.py b/cowait/engine/docker.py index 4d49acad..31f8df25 100644 --- a/cowait/engine/docker.py +++ b/cowait/engine/docker.py @@ -171,6 +171,11 @@ def kill_family(container): except docker.errors.NotFound: return [task_id] + except requests.exceptions.ChunkedEncodingError: + # workaround for a bug in docker on mac: + # https://github.com/docker/docker-py/issues/2696 + return None + except requests.exceptions.ConnectionError: raise ProviderError('Docker engine unavailable') From 47bf8813d9330783ca249f2858c654b87e15ffb9 Mon Sep 17 00:00:00 2001 From: Oskar Handmark Date: Wed, 18 Nov 2020 11:57:17 +0100 Subject: [PATCH 2/2] 0.3.5 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 668e9f78..03c2c84f 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ import setuptools -VERSION = "0.3.4" +VERSION = "0.3.5" with open("README.md", "r") as fh: long_description = fh.read()