-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop unused/deprecated dependency on cql
package
#4
Comments
Hmm, good question. I think this is included because of https://github.com/apache/cassandra/blob/cassandra-4.0.0/pylib/requirements.txt Is it not actually used in the non-test code anymore? Please confirm that it's only used in the cqlsh test code before we remove here... And honestly, it may not be used even in tests anymore, in which case it'd be nice to submit a PR upstream against Cassandra itself to drop this requirement... then it'd be super clear that we should drop it here. |
Good point, I've created a Jira https://issues.apache.org/jira/browse/CASSANDRA-17247 for this. If you grep for 'import' you'll observe they aren't used. |
Two things:
|
Also FYI @bschoening if you use backticks(``) rather than single quotes(''), github markdown will format the enclosed section as code. Example: 'cqlsh' vs |
cql
package
This was an old (2012) python driver for CQL which has been replaced by the DataStax cassandra-driver. See https://pypi.org/project/cql and https://code.google.com/archive/a/apache-extras.org/p/cassandra-dbapi2 #4
Fixed by #10 |
I noticed the dependencies in setup.py include both 'cql' and 'cassandra-driver'. Probably only the later is needed.
The cql package (https://pypi.org/project/cql/1.4.0) is deprecated on their own project page at cassndra-dbapi2 and doesn't work with python 3:
The text was updated successfully, but these errors were encountered: