Commit Graph

295 Commits

Author SHA1 Message Date
arvindksi274-ksolves 464b2e54f4
Support Python 3.12 and 3.13 in cqlsh
patch by Arvind Kandpal; reviewed by Stefan Miklosovic, Michael Semb Wever for CASSANDRA-20997
2026-07-03 11:02:14 +02:00
Caleb Rackliffe 8a33f32350 Deprecate Python 3.7 and earlier, but allow cqlsh to run with Python 3.6-3.11
patch by Caleb Rackliffe; reviewed by Brandon Williams and Stefan Miklosovic for CASSANDRA-19467
2024-03-19 23:41:47 -05:00
Andrés de la Peña 8fd44ca8fc Upgrade Python driver to 3.29.0
patch by Andrés de la Peña; reviewed by Berenguer Blasi for CASSANDRA-19245
2024-01-19 17:14:57 +00:00
Andrés de la Peña b91c0fcb6e Change cqlsh's min required Python version from 3.6+ to 3.7+
patch by Andrés de la Peña; reviewed by Brandon Williams for CASSANDRA-18960
2023-11-14 11:43:00 +00:00
Brad Schoening 1eb7779464 remove python 2 code which is now EOL and unsupported
Patch by Brad Schoening; reviewed by brandonwilliams and bereng for
CASSANDRA-17242
2022-01-26 11:00:25 -06:00
Bowen Song 5f97977dfa Ensure the cqlsh shell script does not behave unexpectedly on Python 3.10+
patch by Bowen Song; revieewed by Ekaterina Dimitrova, Brandon Williams for CASSANDRA-16987
2021-09-27 15:00:50 -04:00
Adam Holmberg 72ca73fbc6 deprecate python2.7 for cqlsh
Patch by Adam Holmberg; reviewed by brandonwilliams for CASSANDRA-16414
2021-02-26 14:52:38 -06:00
Zhao Yang 781e4862fa Fix CQLSH to avoid arguments being evaluated
Patch By Zhao Yang; reviewed by Dinesh Joshi and Brandon Williams for CASSANDRA-15660
2020-04-16 09:51:48 -07:00
Eduard Tudenhoefner c05443c098
Allow cqlsh to run with Python 2.7/Python 3.6+
* Adds a minimal manual test that starts cqlsh with python3.7 & 3.8 in a Docker container. It also fixes a minor issue when starting up cqlsh with python3.7+, where `webbrowser._tryorder` is `None` as can be seen in https://github.com/python/cpython/blob/3.7/Lib/webbrowser.py#L1. Note that we're checking `webbrowser._tryorder` for `None` instead of doing `webbrowser.get()` because it's likely that there's no default browser installed in a Dockerized environment and so things would fail with `could not locate runnable browser` (https://github.com/python/cpython/blob/3.7/Lib/webbrowser.py#L65)
 * Adds python3.8 testing to CircleCI
 * Fixes some Python warnings that occur with newer versions

 patch by Eduard Tudenhöfner, reviewed by Mick Semb Wever for CASSANDRA-15659
2020-04-14 20:58:40 +02:00
Patrick Bannister bf9a1d487b Make cqlsh and cqlshlib Python 2 & 3 compatible
Patch by Patrick Bannister; reviewed by Dinesh Joshi, Andy Tolbert and David Capwell for CASSANDRA-10190
2020-02-14 10:33:57 -08:00
Joel Knighton f79158998b Add missing newline at end of bin/cqlsh 2016-03-09 11:41:38 -06:00
Jeremiah D Jordan 941d13dac8 Update cqlsh python version checking to find python2.7
patch by Jeremiah Jordan; reviewed by Stefania Alborghetti for CASSANDRA-11212
2016-02-24 05:51:42 -08:00
Carl Yeksigian 4985fcc86f cqlsh cannot be called through symlink
patch by Benjamin Zarzycki; reviewed by Carl Yeksigian for CASSANDRA-11037
2016-02-18 15:48:54 -05:00
T Jake Luciani 9dc8c21980 Fix cqlsh copy methods and timestamp format issues on windows
patch by tjake; reviewed by Josh McKenzie for CASSANDRA-9795
2015-07-17 13:00:38 -04:00
Stefania Alborghetti 96e7e62642 (cqlsh) Allow setting the initial connection timeout
patch by Stefania Alborghetti; reviewed by Benjamin Lerer for
CASSANDRA-9601
2015-07-01 19:04:56 +03:00
blerer 924d798a3e (cqlsh) Fix default CQL version
patch by Benjamin Lerer; reviewed by Aleksey Yeschenko for
CASSANDRA-9688
2015-06-30 19:33:12 +03:00
Marcus Eriksson d6f9555ba6 Merge branch 'cassandra-2.1' into cassandra-2.2
Conflicts:
	bin/cqlsh
2015-06-26 08:21:06 +02:00
Stefania Alborghetti 5d9729bc9b Added support for DESCRIBE INDEX and DESCRIBE <objectname>
Patch by Stefania Alborghetti; reviewed by Benjamin Lerer for CASSANDRA-7814
2015-06-26 08:18:15 +02:00
Robert Stupp cfab9dac19 Update cqlsh for UDFs
patch by Robert Stupp; reviewed by Aleksey Yeschenko for CASSANDRA-7556
2015-06-23 19:19:57 +02:00
Stefania Alborghetti 33d71b825f (cqlsh) Add support for native protocol 4
patch by Stefania Alborghetti; reviewed by Aleksey Yeschenko for
CASSANDRA-9399
2015-05-22 00:47:27 +03:00
Tyler Hobbs 1689e0adc7 Merge branch 'cassandra-2.1' into cassandra-2.2 2015-05-15 11:44:38 -05:00
Tyler Hobbs 9f8c45d6d6 Merge branch 'cassandra-2.0' into cassandra-2.1 2015-05-15 11:41:25 -05:00
Carl Yeksigian 0b92967d30 cqlsh: Add LOGIN command to switch users
Patch by Sachin Janani and Carl Yeksigian; reviewed by Tyler Hobbs for
CASSANDRA-7212
2015-05-15 11:36:06 -05:00
Tyler Hobbs 5b61545315 Merge branch 'cassandra-2.1' into trunk 2015-05-05 14:46:06 -05:00
Tyler Hobbs 22527730d3 Merge branch 'cassandra-2.0' into cassandra-2.1 2015-05-05 14:45:40 -05:00
Tyler Hobbs e6bc6385ae Merge branch 'cassandra-2.1' into trunk 2015-04-22 10:50:55 -05:00
Tyler Hobbs 93b36d4b82 Fix write meter for cqlsh COPY TO
Patch by Tyler Hobbs; reviewed by Stefania Alborghetti for
CASSANDRA-9217
2015-04-22 10:41:41 -05:00
Tyler Hobbs 840d9a6632 Merge branch 'cassandra-2.1' into trunk
Conflicts:
	bin/cqlsh
2015-04-21 12:24:47 -05:00
Tyler Hobbs 49c1dbdad4 Fix whitespace, unused imports and variables in cqlsh 2015-04-21 12:20:37 -05:00
Joshua McKenzie 7f29201ce2 Revert "Add date and time types" on 2.1 branch
This reverts commit 107545b392.

Conflicts:
	CHANGES.txt
	NEWS.txt
	bin/cqlsh
	pylib/cqlshlib/test/test_keyspace_init.cql
2015-04-21 08:42:31 -05:00
Jim Witschey 23e77f10a4 Update cqlsh tests for latest trunk
Patch by Jim Witschey; reviewed by Tyler Hobbs for CASSANDRA-9173
2015-04-14 11:39:33 -05:00
Tyler Hobbs f9693d542e Merge branch 'cassandra-2.1' into trunk
Conflicts:
	CHANGES.txt
2015-04-07 16:27:52 -05:00
Tyler Hobbs cb8cb5f99d cqlsh: quote column names in COPY FROM inserts
Patch by Tyler Hobbs; reviewed by Aleksey Yeschenko for CASSANDRA-9080
2015-04-07 16:26:42 -05:00
Tyler Hobbs dadc206c6e Merge branch 'cassandra-2.1' into trunk 2015-03-24 11:43:06 -05:00
Tyler Hobbs 9d2b2730eb Merge branch 'cassandra-2.0' into cassandra-2.1
Conflicts:
	CHANGES.txt
	bin/cqlsh
2015-03-24 11:42:38 -05:00
Philip Thompson 061ea33fde cqlsh: allow configuring CSV field size limit
Patch by Philip Thompson; reviewed by Tyler Hobbs for CASSANDRA-8934
2015-03-24 11:41:12 -05:00
Tyler Hobbs 237d0bc62e Merge branch 'cassandra-2.1' into trunk
Conflicts:
	bin/cqlsh
2015-03-20 10:30:28 -05:00
Tyler Hobbs 7110904e40 Improve performance of cqlsh COPY FROM
Patch by Tyler Hobbs; reviewed by Aleksey Yeschenko for CASSANDRA-8225
2015-03-20 10:26:47 -05:00
Joshua McKenzie 3d11ec5dd3 Merge branch 'cassandra-2.1' into trunk
Conflicts:
	pylib/cqlshlib/cql3handling.py
2015-03-09 12:26:24 -05:00
Joshua McKenzie 107545b392 Add date and time types
Patch by jmckenzie; reviewed by thobbs and cyeksigian for CASSANDRA-7523
2015-03-09 12:20:28 -05:00
Tyler Hobbs 732e006388 Merge branch 'cassandra-2.1' into trunk 2015-02-12 12:33:47 -06:00
Tyler Hobbs 5c9d73209f ninja: fix cqlsh formatting of UDTs
Follow-up to upgrade of the bundled python driver for CASSANDRA-8154
2015-02-12 12:32:54 -06:00
Tyler Hobbs d76450c798 Merge branch 'cassandra-2.1' into trunk 2015-01-29 14:39:07 -06:00
Abhishek Gupta c49f6666e4 cqlsh: handle unicode BOM at the start of files
Patch by Abhishek Gupta; reviewed by Tyler Hobbs for CASSANDRA-8638
2015-01-29 14:37:55 -06:00
Aleksey Yeschenko 076b5bdd10 Merge branch 'cassandra-2.1' into trunk 2015-01-15 17:51:44 +03:00
Johnny Miller d406bab504 (cqlsh) Escape clqshrc passwords properly
patch by Johnny Miller; reviewed by Aleksey Yeschenko for CASSANDRA-8618
2015-01-15 17:50:35 +03:00
Sam Tunnicliffe 879b694d34 Introduce role based access control
patch by Sam Tunnicliffe; reviewed by Aleksey Yeschenko for
CASSANDRA-7653
2015-01-14 22:48:39 +03:00
Tyler Hobbs aeb7d3f2ee cqlsh: handle schema mismatch on startup
Patch by Tyler Hobbs; reviewed by Aleksey Yeschenko for CASSANDRA-8512
2015-01-02 12:14:24 -06:00
Adam Holmberg c8b4d9568e cqlsh: fix CONSISTENCY output
Patch by Adam Holmberg; reviewed by Tyler Hobbs for CASSANDRA-8507
2014-12-17 18:03:34 -06:00
Sam Tunnicliffe f1e2fed8dd cqlsh doesn't handle LIST statements correctly.
patch by Sam Tunnicliffe; reviewed by Mikhail Stepura for CASSANDRA-8370
2014-12-17 15:50:59 -08:00