From 8f9247ad709f554674eceaadf951bf7f5f138571 Mon Sep 17 00:00:00 2001 From: Tural Neymanov Date: Mon, 11 Mar 2019 17:23:33 -0400 Subject: [PATCH 1/2] Update deploy_and_run_tests.sh to upgrade httplib2 to newer version. Workaround for https://github.com/googlegenomics/gcp-variant-transforms/issues/453 --- deploy_and_run_tests.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/deploy_and_run_tests.sh b/deploy_and_run_tests.sh index 43788546a..b46b67cd2 100755 --- a/deploy_and_run_tests.sh +++ b/deploy_and_run_tests.sh @@ -227,6 +227,11 @@ if [[ -n "${run_unit_tests}" ]]; then fi pip install --upgrade .[int_test] +# Due to the dependency issue, we have to manually upgrade httplib2 in order to +# circumvent the CERTIFICATE_VERIFY_FAILED error. For more info, visit +# https://github.com/googlegenomics/gcp-variant-transforms/issues/453. +pip install --upgrade httplib2 + color_print "Running integration tests against ${full_image_name}" "${GREEN}" python gcp_variant_transforms/testing/integration/run_vcf_to_bq_tests.py \ --project "${project}" \ From 8dc98eaf927bdb8e035a18907109284a8ad0af6b Mon Sep 17 00:00:00 2001 From: Tural Neymanov Date: Thu, 14 Mar 2019 11:44:53 -0400 Subject: [PATCH 2/2] Modify the comment as per review request. --- deploy_and_run_tests.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/deploy_and_run_tests.sh b/deploy_and_run_tests.sh index b46b67cd2..872652f0c 100755 --- a/deploy_and_run_tests.sh +++ b/deploy_and_run_tests.sh @@ -227,9 +227,7 @@ if [[ -n "${run_unit_tests}" ]]; then fi pip install --upgrade .[int_test] -# Due to the dependency issue, we have to manually upgrade httplib2 in order to -# circumvent the CERTIFICATE_VERIFY_FAILED error. For more info, visit -# https://github.com/googlegenomics/gcp-variant-transforms/issues/453. +# Force an upgrade to avoid SSL certificate verification errors (issue #453). pip install --upgrade httplib2 color_print "Running integration tests against ${full_image_name}" "${GREEN}"