Jon Meredith created CASSANDRA-16534:
----------------------------------------
Summary: bin/cqlsh writes unwanted output to stderr while
validating python version if python 2.6 is installed as system python
Key: CASSANDRA-16534
URL: https://issues.apache.org/jira/browse/CASSANDRA-16534
Project: Cassandra
Issue Type: Improvement
Components: Tool/cqlsh
Reporter: Jon Meredith
The cqlsh.py script requires Python >= 2.7 on Cassandra 4.0 and checks to make
sure it’s a supported version, looking for alternate python versions if the
default is 2.6. Unfortunately the check writes output to stderr that may
confuse some users/tools consuming it.
{code}
python -c 'import os; print('\''{}.{}'\''.format(os.sys.version_info.major,
os.sys.version_info.minor))'
Traceback (most recent call last):
File "<string>", line 1, in <module>
AttributeError: 'tuple' object has no attribute 'major'
{code}
The output adds no value and can be suppressed by redirecting to /dev/null
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]