[ https://issues.apache.org/jira/browse/CASSANDRA-16987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17420981#comment-17420981 ]
Ekaterina Dimitrova commented on CASSANDRA-16987: ------------------------------------------------- Patch committed: 80dccde3cd..5f97977dfa cassandra-4.0 -> cassandra-4.0 44a004c87d..5ee1ba2dfa trunk -> trunk Thank you [~Bowen Song] Thank you [~brandon.williams] for opening a ticket, I also opened one for [dtest.repair_tests.incremental_repair_test.TestIncRepair.test_multiple_repair|https://jenkins-cm4.apache.org/job/Cassandra-devbranch/1143/testReport/junit/dtest.repair_tests.incremental_repair_test/TestIncRepair/test_multiple_repair/] - CASSANDRA-17003 > CQLSH shell script will fail on Python 3.10 > ------------------------------------------- > > Key: CASSANDRA-16987 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16987 > Project: Cassandra > Issue Type: Improvement > Components: Tool/cqlsh > Reporter: Bowen Song > Assignee: Bowen Song > Priority: Normal > Fix For: 4.0.x, 4.x > > Time Spent: 10m > Remaining Estimate: 0h > > The `is_supported_version()` function performs a lexicographical comparison > between the Python version number in the format of `MAJOR.MINOR` with `3.6`. > This works as expected if the Python version number is between `3.0` and > `3.9` (inclusive), but will produce an unexpected result if the Python > version number is `3.10` or above. > Recommended fix is to split the version number into two integers, > `$version_major` and `$version_minor` and then compare them to `3` and `6` > respectively. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org