File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ CONVERTFLAGS = --make-index --preprocessors=nbconvert.preprocessors.ExtractOutpu
18
18
init :
19
19
python -m pip install -U -r requirements-dev.txt
20
20
21
- build : execute convert
22
- buildall : executeall convertall
21
+ build : convert
22
+ buildall : convertall
23
23
24
24
execute :
25
25
i=0; \
@@ -36,7 +36,8 @@ convert:
36
36
_paths=($( MODIFIED_RQT_PATHS) ); \
37
37
for notebook in ${MODIFIED_NOTEBOOKS} ; do \
38
38
echo Installing requirements from $$ {_paths[i]}; \
39
- nbcollection convert ${CONVERTFLAGS} ${FLAGS} $$ notebook; \
39
+ python -m pip install --force-reinstall -r $$ {_paths[i]} > /dev/null; \
40
+ nbcollection convert --timeout=600 ${CONVERTFLAGS} ${FLAGS} $$ notebook; \
40
41
i=$$((i+1 ) ); \
41
42
done
42
43
@@ -55,7 +56,8 @@ convertall:
55
56
_paths=($( ALL_RQT_PATHS) ); \
56
57
for notebook in ${ALL_NOTEBOOKS} ; do \
57
58
echo Installing requirements from $$ {_paths[i]}; \
58
- nbcollection convert ${CONVERTFLAGS} ${FLAGS} $$ notebook; \
59
+ python -m pip install --force-reinstall -r $$ {_paths[i]} > /dev/null; \
60
+ nbcollection convert --timeout=600 ${CONVERTFLAGS} ${FLAGS} $$ notebook; \
59
61
i=$$((i+1 ) ); \
60
62
done
61
63
You can’t perform that action at this time.
0 commit comments