Comments (5)
Yeah, you're looking for version 6.0.0b4
:
- https://github.com/jeffwidman/cqlsh#600b4-mar-9-2021 /
- https://pypi.org/project/cqlsh/6.0.0b4/
See the notes in the changelog--it is not guaranteed full backwards compatibility with cassandra3.x
... but it is the firstcqlsh
that supported Python 3.
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.
I've yanked the old releases. So users will now get a message to install 6.0.0b4 for Python3.
from cqlsh.
Thanks @aboudreault!
from cqlsh.
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.
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)
- ImportError: No module named cqlsh on 6.0.1 HOT 4
- Add some sort of basic sanity testing for PRs HOT 2
- Figure out a way to retain python2 compatibility while modularizing `cqlsh` HOT 3
- strip_comment_blocks logic is reversed. HOT 1
- Possible Packaging Issue When Using Python 3.11 HOT 8
- 'pip install cqlsh' fails for python 2.7 due to new Click release 8.0.0 HOT 2
- Drop unused/deprecated dependency on `cql` package HOT 5
- Python module for CQLSH HOT 2
- New release HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cqlsh.