[jira] [Commented] (CASSANDRA-14491) Determine how to test cqlsh in a Python 2.7 environment, including dtests
[ https://issues.apache.org/jira/browse/CASSANDRA-14491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17754354#comment-17754354 ] Brad Schoening commented on CASSANDRA-14491: Since support for Python 2.7 has been removed, I'm going to close this as won't fix. > Determine how to test cqlsh in a Python 2.7 environment, including dtests > - > > Key: CASSANDRA-14491 > URL: https://issues.apache.org/jira/browse/CASSANDRA-14491 > Project: Cassandra > Issue Type: Sub-task > Components: Legacy/Tools, Test/dtest/python > Environment: > > We need to test with at least two versions of Python: > * Python 2.7 > * Python 3.x (need to determine what versions of Python 3 are available by > default on Ubuntu and RHEL/CentOS) > Additionally, it is recommended to test on at least three platforms: > * Ubuntu or other Debian derivative > * RHEL, CentOS, or other Red Hat derivative > * Windows (unless a consensus has formed around not testing on Windows?) >Reporter: Patrick Bannister >Priority: Normal > Labels: cqlsh, test > Fix For: 5.x > > > It appears that a consensus is forming around maintaining Python 2.7 > compatibility for cqlsh. However, the dtests now run in a Python 3 > environment. We need to identify an option for testing infrastructure for > testing cqlsh on Python 2.7, including the dtests. > Based on experience updating the cqlsh dtests, it is strongly recommended to > test in more than one environment - for example, for Linux, we should test on > a Debian derivative as well as a Red Hat derivative. -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-14491) Determine how to test cqlsh in a Python 2.7 environment, including dtests
[ https://issues.apache.org/jira/browse/CASSANDRA-14491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16505513#comment-16505513 ] Patrick Bannister commented on CASSANDRA-14491: --- It's not critical for the full set of dtests to run under Python 2.7, but we need the cqlsh tests to run if we're going to maintain support for cqlsh to run on Python 2.7. The cqlsh dtests provide a significant portion of the test coverage of cqlsh. I think the dtests should stay on Python 3. The goal is for the cqlsh tests to be runnable on Python 2.7, not to revert. Ideally, I'll make minimal modifications that will be Python 2/3 cross compatible in a single implementation. If the resulting product is good then we'll get to enjoy a more complete test environment; if it's awful then we can stay on Python 3. For what it's worth: I just spent about ninety minutes and changed a few dozen lines of code, and I already have cqlsh_tests/cqlsh_tests.py mostly running under Python 2.7. Hopefully the delta to run on Python 2.7 will be insignificant. > Determine how to test cqlsh in a Python 2.7 environment, including dtests > - > > Key: CASSANDRA-14491 > URL: https://issues.apache.org/jira/browse/CASSANDRA-14491 > Project: Cassandra > Issue Type: Sub-task > Environment: > > We need to test with at least two versions of Python: > * Python 2.7 > * Python 3.x (need to determine what versions of Python 3 are available by > default on Ubuntu and RHEL/CentOS) > Additionally, it is recommended to test on at least three platforms: > * Ubuntu or other Debian derivative > * RHEL, CentOS, or other Red Hat derivative > * Windows (unless a consensus has formed around not testing on Windows?) >Reporter: Patrick Bannister >Priority: Major > Labels: cqlsh, test > Fix For: 4.x > > > It appears that a consensus is forming around maintaining Python 2.7 > compatibility for cqlsh. However, the dtests now run in a Python 3 > environment. We need to identify an option for testing infrastructure for > testing cqlsh on Python 2.7, including the dtests. > Based on experience updating the cqlsh dtests, it is strongly recommended to > test in more than one environment - for example, for Linux, we should test on > a Debian derivative as well as a Red Hat derivative. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-14491) Determine how to test cqlsh in a Python 2.7 environment, including dtests
[ https://issues.apache.org/jira/browse/CASSANDRA-14491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16505459#comment-16505459 ] Jason Brown commented on CASSANDRA-14491: - [~mkjellman] spent a lot of time to get dtests onto 3.x. How critical is it that dtests (the full set) need to run on 2.7? > Determine how to test cqlsh in a Python 2.7 environment, including dtests > - > > Key: CASSANDRA-14491 > URL: https://issues.apache.org/jira/browse/CASSANDRA-14491 > Project: Cassandra > Issue Type: Sub-task > Environment: > > We need to test with at least two versions of Python: > * Python 2.7 > * Python 3.x (need to determine what versions of Python 3 are available by > default on Ubuntu and RHEL/CentOS) > Additionally, it is recommended to test on at least three platforms: > * Ubuntu or other Debian derivative > * RHEL, CentOS, or other Red Hat derivative > * Windows (unless a consensus has formed around not testing on Windows?) >Reporter: Patrick Bannister >Priority: Major > Labels: cqlsh, test > Fix For: 4.x > > > It appears that a consensus is forming around maintaining Python 2.7 > compatibility for cqlsh. However, the dtests now run in a Python 3 > environment. We need to identify an option for testing infrastructure for > testing cqlsh on Python 2.7, including the dtests. > Based on experience updating the cqlsh dtests, it is strongly recommended to > test in more than one environment - for example, for Linux, we should test on > a Debian derivative as well as a Red Hat derivative. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-14491) Determine how to test cqlsh in a Python 2.7 environment, including dtests
[ https://issues.apache.org/jira/browse/CASSANDRA-14491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16505374#comment-16505374 ] Patrick Bannister commented on CASSANDRA-14491: --- I'm starting work to try and get the cqlsh_tests dtests working on Python 2.7, so I can run them against the Python 2/3 cqlsh port in a Python 2.7 environment. > Determine how to test cqlsh in a Python 2.7 environment, including dtests > - > > Key: CASSANDRA-14491 > URL: https://issues.apache.org/jira/browse/CASSANDRA-14491 > Project: Cassandra > Issue Type: Sub-task > Environment: > > We need to test with at least two versions of Python: > * Python 2.7 > * Python 3.x (need to determine what versions of Python 3 are available by > default on Ubuntu and RHEL/CentOS) > Additionally, it is recommended to test on at least three platforms: > * Ubuntu or other Debian derivative > * RHEL, CentOS, or other Red Hat derivative > * Windows (unless a consensus has formed around not testing on Windows?) >Reporter: Patrick Bannister >Priority: Major > Labels: cqlsh, test > Fix For: 4.x > > > It appears that a consensus is forming around maintaining Python 2.7 > compatibility for cqlsh. However, the dtests now run in a Python 3 > environment. We need to identify an option for testing infrastructure for > testing cqlsh on Python 2.7, including the dtests. > Based on experience updating the cqlsh dtests, it is strongly recommended to > test in more than one environment - for example, for Linux, we should test on > a Debian derivative as well as a Red Hat derivative. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org