Skip to content

Commit 607ad56

Browse files
committed
Also track python version when caching packages.
1 parent 05631d7 commit 607ad56

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

psij-ci-setup

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,8 @@ not_cached() {
289289
return 0
290290
fi
291291
REQ_CSUM=`cat .packages/req_csum.txt`
292-
CRT_CSUM=`cat requirements*.txt | md5sum`
292+
PYTHON=`which $PYTHON`
293+
CRT_CSUM=`echo $PYTHON | cat - requirements*.txt | md5sum`
293294

294295
if [ "$REQ_CSUM" != "$CRT_CSUM" ]; then
295296
return 0

0 commit comments

Comments
 (0)