Giter Site home page Giter Site logo

Comments (5)

jeffwidman avatar jeffwidman commented on May 24, 2024 2

Yeah, you're looking for version 6.0.0b4:

Version 5.0.5 ships cqlsh version 5.0.1 which doesn't support Python 3.

I will release 6.0.0 once upstream cassandra ships 4.0 as GA... right now they are still shipping betas. I considered shipping 6.0.0 anyway, but I'd rather wait for GA because then PyPI version 6.0.0 will match the cqlsh version: apache/cassandra@0212320

Unfortunately the metadata on the old versions 5.0.4 and earlier doesn't explicitly exclude python 3, so they still get pulled down by pip3.

I'd like to yank the old releases, at least until Cassandra goes GA (and then can unyank them so they're visible to anyone who wishes to pull them down explicitly) but I don't have the proper permissions--when I was added as a maintainer on PyPI I was only given upload rights, not version management rights--I just fired an email to @aboudreault requesting to be made an admin so I can make this easier on folks.

from cqlsh.

aboudreault avatar aboudreault commented on May 24, 2024

I've yanked the old releases. So users will now get a message to install 6.0.0b4 for Python3.

from cqlsh.

jeffwidman avatar jeffwidman commented on May 24, 2024

Thanks @aboudreault!

from cqlsh.

itayB avatar itayB commented on May 24, 2024

just had a chance to test it but it breaks too quick :(
trying to run the following command via script:

cqlsh <my_scylla_hostname> -e "describe keyspaces;"

and I'm getting:

/usr/local/bin/cqlsh:470: DeprecationWarning: Legacy execution parameters will be removed in 4.0. Consider using execution profiles.
/usr/local/bin/cqlsh:500: DeprecationWarning: Setting the consistency level at the session level will be removed in 4.0. Consider using execution profiles and setting the desired consitency level to the EXEC_PROFILE_DEFAULT profile.
<stdin>:1:

any idea how can I use the execute flag in the new version? (6.0.0b4)

  -e EXECUTE, --execute=EXECUTE
                        Execute the statement and quit.

from cqlsh.

aboudreault avatar aboudreault commented on May 24, 2024

the warnings aren't error so I don't see the real issue and if your query was executed. You should probably create a ticket in the cassandra jira. This project is just packaging cqlsh from the cassandra project and publish it on pypi.

from cqlsh.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.