You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2022/09/08 13:25:14 UTC

[libcloud] branch trunk updated: Use Python 3.8 binary for the import timings script.

This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 0f0785466 Use Python 3.8 binary for the import timings script.
0f0785466 is described below

commit 0f0785466d5a998b2b4f2a2d7b96cfc23ba6f0cb
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Thu Sep 8 15:24:40 2022 +0200

    Use Python 3.8 binary for the import timings script.
---
 scripts/time_imports.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/time_imports.sh b/scripts/time_imports.sh
index c67d16479..27f07e05c 100755
--- a/scripts/time_imports.sh
+++ b/scripts/time_imports.sh
@@ -26,7 +26,7 @@ find . -name "*.pyc" -print0 | xargs -0 rm
 
 # Example line:
 # import time:      1112 |      70127 | libcloud
-LIBCLOUD_IMPORT_TIMINGS=$(python3.7 -X importtime -c "import libcloud" 2>&1)
+LIBCLOUD_IMPORT_TIMINGS=$(python3.8 -X importtime -c "import libcloud" 2>&1)
 LIBCLOUD_IMPORT_TIME_CUMULATIVE_US=$(echo -e "${LIBCLOUD_IMPORT_TIMINGS}" | tail -1 | grep "| libcloud" | awk '{print $5}')
 
 echo "Import timings for \"libcloud\" module"
@@ -40,7 +40,7 @@ fi
 # Clean up any cached files to ensure consistent and clean environment
 find . -name "*.pyc" -print0 | xargs -0 rm
 
-EC2_DRIVER_IMPORT_TIMINGS=$(python3.7 -X importtime -c "import libcloud.compute.drivers.ec2" 2>&1)
+EC2_DRIVER_IMPORT_TIMINGS=$(python3.8 -X importtime -c "import libcloud.compute.drivers.ec2" 2>&1)
 EC2_DRIVER_IMPORT_TIME_CUMULATIVE_US=$(echo -e "$EC2_DRIVER_IMPORT_TIMINGS}" | tail -1 | grep "| libcloud.compute.drivers.ec2" | awk '{print $5}')
 
 echo ""