Mmuzaf commented on code in PR #2787:
URL: https://github.com/apache/cassandra/pull/2787#discussion_r1354779814


##########
.build/run-python-dtests.sh:
##########
@@ -73,7 +72,7 @@ if [ "${java_version}" -eq 17 ] && [[ "${target}" == 
"dtest-upgrade" ]] ; then
     exit 1
 fi
 
-python_version=$(python -V | awk '{print $2}' | awk -F'.' '{print $1"."$2}')
+python_version=$(python -V 2>&1 | awk '{print $2}' | awk -F'.' '{print 
$1"."$2}')

Review Comment:
   `cassandra_regx_supported_versions="^(2.2|3.0|3.11|4.0|4.1)(.[0-9]+)?$"`
   
   Like this one in the accompanying script in the cassandra-builds :-)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to