Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-10190

Python 3 support for cqlsh

    XMLWordPrintableJSON

Details

    Description

      Users who operate in a Python 3 environment may have trouble launching cqlsh. Could we please update cqlsh's syntax to run in Python 3?

      As a workaround, users can setup pyenv, and cd to a directory with a .python-version containing "2.7". But it would be nice if cqlsh supported modern Python versions out of the box.

      Attachments

        1. 0001-Fix-issues-from-version-specific-logic-commit.patch
          14 kB
          Andy Tolbert
        2. 0001-Update-six-to-1.12.0.patch
          26 kB
          Andy Tolbert
        3. 0002-Simplify-version-specific-logic-by-using-six.moves-a.patch
          19 kB
          Andy Tolbert
        4. coverage_notes.txt
          2 kB
          Patrick Bannister
        5. Screen Shot 2020-02-14 at 10.40.05 AM.png
          268 kB
          Dinesh Joshi

        Issue Links

          Activity

            People

              ptbannister Patrick Bannister
              mcandre Andrew Pennebaker
              Patrick Bannister
              Andy Tolbert, David Capwell, Dinesh Joshi
              Votes:
              9 Vote for this issue
              Watchers:
              27 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 50m
                  1h 50m