[arvados] updated: 2.7.0-5994-g3339f17141

git repository hosting git at public.arvados.org
Thu Feb 8 17:06:56 UTC 2024


Summary of changes:
 build/run-tests.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

       via  3339f17141af4aaeaaebc7e3b568fc2bbb92da73 (commit)
      from  53979c43b770d9cc26cdfa55799de90292cb82f9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 3339f17141af4aaeaaebc7e3b568fc2bbb92da73
Author: Brett Smith <brett.smith at curii.com>
Date:   Thu Feb 8 12:05:44 2024 -0500

    21230: Clean up venv diagnostic output
    
    This output stopped making sense in the transition from using virtualenv
    to the venv module. The module doesn't really have a version separate
    from Python, so just report a boolean result. Refs #21230.
    
    Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith at curii.com>

diff --git a/build/run-tests.sh b/build/run-tests.sh
index 70437bd21c..bd13bb22d9 100755
--- a/build/run-tests.sh
+++ b/build/run-tests.sh
@@ -208,7 +208,8 @@ sanity_checks() {
     find /usr/include -path '*gnutls/gnutls.h' | egrep --max-count=1 . \
         || fatal "No gnutls/gnutls.h. Try: apt-get install libgnutls28-dev"
     echo -n 'virtualenv: '
-    python3 -m venv -h | egrep --max-count=1 . \
+    python3 -m venv --help | grep -q '^usage: venv ' \
+        && echo "venv module found" \
         || fatal "No virtualenv. Try: apt-get install python3-venv"
     echo -n 'Python3 pyconfig.h: '
     find /usr/include -path '*/python3*/pyconfig.h' | egrep --max-count=1 . \

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list