File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ RUN curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poet
7
7
RUN mkdir /splitgraph
8
8
COPY . /splitgraph
9
9
10
- RUN $HOME/.poetry/bin/poetry config settings.virtualenvs.create false
10
+ RUN $HOME/.poetry/bin/poetry config settings.virtualenvs.create true
11
11
RUN cd /splitgraph && $HOME/.poetry/bin/poetry install --no-dev
12
12
13
13
# The pip-wheel-metadata is supposed to be temporary. For downstream image builds, Poetry tries to reinstall Splitgraph
@@ -18,4 +18,4 @@ RUN cd /splitgraph && $HOME/.poetry/bin/poetry install --no-dev
18
18
# See https://github.com/pypa/pip/issues/6213
19
19
RUN rm /splitgraph/pip-wheel-metadata -rf
20
20
21
- CMD sgr
21
+ CMD sgr
Original file line number Diff line number Diff line change 5
5
import tempfile
6
6
from concurrent .futures import ThreadPoolExecutor
7
7
8
+ import urllib3
8
9
from minio import Minio
9
10
from minio .error import (BucketAlreadyOwnedByYou ,
10
11
BucketAlreadyExists , MinioError )
@@ -107,6 +108,10 @@ def _do_download(obj_id_url):
107
108
except MinioError :
108
109
logging .exception ("Error downloading object %s" , object_id )
109
110
return
111
+ except urllib3 .exceptions .RequestError :
112
+ # Some connection errors aren't caught by MinioError
113
+ logging .exception ("URLLib error downloading object %s" , object_id )
114
+ return
110
115
engine = get_engine ()
111
116
engine .load_object (SPLITGRAPH_META_SCHEMA , object_id , object_response )
112
117
You can’t perform that action at this time.
0 commit comments