Skip to content

Commit 4c8724c

Browse files
committed
Improve check for Python 3.11
1 parent 4ed8aa3 commit 4c8724c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ RUN \
6969

7070
# Over on GitHub Actions, we need to fail fast and not hit the six hour run limit, so make sure we got it right
7171

72-
RUN [ "`/usr/bin/python3 --version`" = "Python 3.11.10" ]
72+
RUN [ "/usr/bin/python3 --version 2>/dev/null | grep -q '^Python 3\.11'" ]
7373
RUN [ "`/usr/bin/python3 -c 'import numpy; print(numpy.__version__)'`" = "1.24.4" ]
7474
RUN [ "`/usr/bin/python3 -c 'import pandas; print(pandas.__version__)'`" = "1.5.3" ]
7575
RUN [ "`/usr/bin/python3 -c 'import PIL; print(PIL.__version__)'`" = "9.5.0" ]

0 commit comments

Comments
 (0)