From 948e2c13e87182b95bfe3286d58052522e77faca Mon Sep 17 00:00:00 2001 From: Adam Novak Date: Tue, 21 May 2024 15:37:40 -0400 Subject: [PATCH] Pin back Requests to make sure Python Docker API works --- vgci/vgci.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/vgci/vgci.sh b/vgci/vgci.sh index 192d6d19839..54b52f09911 100755 --- a/vgci/vgci.sh +++ b/vgci/vgci.sh @@ -340,12 +340,14 @@ then # Dependencies for running tests. Need numpy, scipy and sklearn for # running toil-vg mapeval, and dateutils and reqests for - # ./mins_since_last_build.py. Make sure to get the giant buildable modules - # as binaries only to avoid wasting CI time building some slightly nicer - # version Pip prefers. - pip3 install pytest timeout_decorator requests dateutils + # ./mins_since_last_build.py. Need exactly the right version of requests + # for the Python Docker API to work (see + # ). + pip3 install pytest timeout_decorator 'requests==2.31.0' dateutils # TODO: To upgrade to Numpy 1.24+, we need to remove usages of `numpy.int` # AKA `np.int` from toil-vg. See + # Make sure to get the giant buildable modules as binaries only to avoid + # wasting CI time building some slightly nicer version Pip prefers. pip3 install 'numpy==1.23.5' scipy scikit-learn --only-binary :all: # Install Toil