Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Duplicate
-
None
-
Operability
-
Low Hanging Fruit
-
All
-
None
Description
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.
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'
The output adds no value and can be suppressed by redirecting to /dev/null
Attachments
Issue Links
- is duplicated by
-
CASSANDRA-16414 Remove Claim of Support for Python2 in 4.0
- Resolved