scylla-cqlsh 6.0.23__cp39-cp39-macosx_11_0_arm64.whl → 6.0.25__cp39-cp39-macosx_11_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of scylla-cqlsh might be problematic. Click here for more details.

Binary file
cqlsh/cqlsh.py CHANGED
@@ -32,6 +32,7 @@ import sys
32
32
  import traceback
33
33
  import warnings
34
34
  import webbrowser
35
+ import logging
35
36
  from contextlib import contextmanager
36
37
  from glob import glob
37
38
  from io import StringIO
@@ -201,6 +202,8 @@ parser.add_option('-k', '--keyspace', help='Authenticate to the given keyspace.'
201
202
  parser.add_option("-f", "--file", help="Execute commands from FILE, then exit")
202
203
  parser.add_option('--debug', action='store_true',
203
204
  help='Show additional debugging information')
205
+ parser.add_option('--driver-debug', action='store_true',
206
+ help='Show additional driver debugging information')
204
207
  parser.add_option('--coverage', action='store_true',
205
208
  help='Collect coverage data')
206
209
  parser.add_option("--encoding", help="Specify a non-default encoding for output."
@@ -2472,7 +2475,7 @@ def read_options(cmdlineargs, environment):
2472
2475
  optvalues.timezone = option_with_default(configs.get, 'ui', 'timezone', None)
2473
2476
 
2474
2477
  optvalues.debug = False
2475
-
2478
+ optvalues.driver_debug = False
2476
2479
  optvalues.coverage = False
2477
2480
  if 'CQLSH_COVERAGE' in environment.keys():
2478
2481
  optvalues.coverage = True
@@ -2625,6 +2628,11 @@ def save_history():
2625
2628
 
2626
2629
 
2627
2630
  def main(options, hostname, port):
2631
+ if options.driver_debug:
2632
+ logging.basicConfig(level=logging.DEBUG, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s",
2633
+ stream=sys.stdout)
2634
+ logging.getLogger("cassandra").setLevel(logging.DEBUG)
2635
+
2628
2636
  setup_cqlruleset(options.cqlmodule)
2629
2637
  setup_cqldocs(options.cqlmodule)
2630
2638
  init_history()
cqlshlib/_version.py CHANGED
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '6.0.23'
16
- __version_tuple__ = version_tuple = (6, 0, 23)
15
+ __version__ = version = '6.0.25'
16
+ __version_tuple__ = version_tuple = (6, 0, 25)
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: scylla-cqlsh
3
- Version: 6.0.23
3
+ Version: 6.0.25
4
4
  Summary: cqlsh is a Python-based command-line client for running CQL commands on a scylla cluster.
5
5
  Home-page: https://github.com/scylladb/scylla-cqlsh
6
6
  Author: Israel Fruchter
@@ -18,6 +18,9 @@ Requires-Python: >=3.6
18
18
  Description-Content-Type: text/markdown
19
19
  License-File: LICENSE.txt
20
20
  Requires-Dist: scylla-driver>=3.25.10
21
+ Dynamic: classifier
22
+ Dynamic: license
23
+ Dynamic: requires-dist
21
24
 
22
25
  # scylla-cqlsh
23
26
 
@@ -1,10 +1,10 @@
1
- copyutil.cpython-39-darwin.so,sha256=EGQ9MuSfuyv00bfE5BGszXgz1WfJKfLLWbOjZj7v7bk,1300528
1
+ copyutil.cpython-39-darwin.so,sha256=PuNaFx7nXbFQMCLDgc01OeBWHn1B6r5zRyIqLumcsvc,1300528
2
2
  cqlshlib/authproviderhandling.py,sha256=p4r_sk64AC5eiv__n-gjwQk2Ni_CcK6lyAWSKEcgINs,7078
3
3
  cqlshlib/cqlshhandling.py,sha256=BUu9wi7H1Xgil9lci-48TCPQ1xwe2-OTNXsW7jiewlM,10510
4
4
  cqlshlib/tracing.py,sha256=ct7siXwNMINjGVXn9qr5h7XhDDM6Bi1uLljPUtcve-A,3403
5
5
  cqlshlib/sslhandling.py,sha256=TtEib4N-BuL2KZJiGYijc9DQviYp2lzYlwLj4RLp0oQ,4649
6
6
  cqlshlib/saferscanner.py,sha256=T4eSYVWuZf4piTS9PgHjFhuY6g1fOb4VVa1Bu4Y1v_I,3539
7
- cqlshlib/_version.py,sha256=uzV6Y2lBUgf2p6Ugmll9uMy56r1276k3Z8889v-xd5A,413
7
+ cqlshlib/_version.py,sha256=TW3Y-SZVPrdxeDkC4I3djizYB3voXiAWAoyGO0t5B0k,413
8
8
  cqlshlib/wcwidth.py,sha256=PsbF7OaDlLItaiV6niu8F_OOgVYLJo0Ypb5-cOJV3QY,15865
9
9
  cqlshlib/displaying.py,sha256=bsA7T4BwQHgtH4jzCJeU3JrpgMT5k0xZ7EA2AnhYG7g,3977
10
10
  cqlshlib/util.py,sha256=qWQmq9v28vZwZ4apzK0-UQOYPIW3TMk-Jq9I69LbW0k,5057
@@ -15,12 +15,12 @@ cqlshlib/copyutil.py,sha256=mORX85C5CFqNSIoElATn4vKjUaCdUL8td5blyXlFDHI,113415
15
15
  cqlshlib/helptopics.py,sha256=bBPtNHn2ySgO9K4nFBpJw2gcibryIdRh7dm3b9TUubQ,4524
16
16
  cqlshlib/pylexotron.py,sha256=QY3nZ-fP-yGFIixMV33IgMlKV8A51AxnNYya0PGZc6I,19273
17
17
  cqlshlib/cql3handling.py,sha256=cAE_UW8sg4UJ8PjS5rbbZn-O3_L9m2297Or-8f2s72Y,59123
18
- scylla_cqlsh-6.0.23.dist-info/RECORD,,
19
- scylla_cqlsh-6.0.23.dist-info/WHEEL,sha256=HFavhTVJkcvCt-evT_vd5IQu5DLxvBS21rDCLgo75qw,107
20
- scylla_cqlsh-6.0.23.dist-info/entry_points.txt,sha256=oE4unqgR3WwNkCJDGlMG1HYtCE3nEZZ4d9CIl-JSZyQ,46
21
- scylla_cqlsh-6.0.23.dist-info/top_level.txt,sha256=PVG-5w7PDG3FoAJH6Rq2I8C0y4cKa2KOW75GxjHkmQ4,24
22
- scylla_cqlsh-6.0.23.dist-info/LICENSE.txt,sha256=JAuKOf39K9OzU5wC40RmM0iE_ISwVrV_BunaNTI-zZc,11360
23
- scylla_cqlsh-6.0.23.dist-info/METADATA,sha256=eEIHJONlYX1l3Pcd_dmet_UXs8jD1t3E5_siZ2YwNYc,3046
24
- cqlsh/cqlsh.py,sha256=GzQsu02VPLdcnIvkr9mXjHKMTMOh2YbybxH_WiBnMv4,112803
18
+ scylla_cqlsh-6.0.25.dist-info/RECORD,,
19
+ scylla_cqlsh-6.0.25.dist-info/WHEEL,sha256=md3JO_ifs5j508p3TDNMgtQVtnQblpGEt_Wo4W56l8Y,107
20
+ scylla_cqlsh-6.0.25.dist-info/entry_points.txt,sha256=oE4unqgR3WwNkCJDGlMG1HYtCE3nEZZ4d9CIl-JSZyQ,46
21
+ scylla_cqlsh-6.0.25.dist-info/top_level.txt,sha256=PVG-5w7PDG3FoAJH6Rq2I8C0y4cKa2KOW75GxjHkmQ4,24
22
+ scylla_cqlsh-6.0.25.dist-info/LICENSE.txt,sha256=JAuKOf39K9OzU5wC40RmM0iE_ISwVrV_BunaNTI-zZc,11360
23
+ scylla_cqlsh-6.0.25.dist-info/METADATA,sha256=FJ-7h-HqsjO1bN1-AJTqUcYsw9anY1LAvLDjOwC-nOQ,3106
24
+ cqlsh/cqlsh.py,sha256=sWvoOFumWrjpO5TYggat54o-sJjBOZjgAg6rwB_7s0U,113232
25
25
  cqlsh/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
26
26
  cqlsh/__main__.py,sha256=-IR7kYVwXf9uq9OBeVlAB5I386E1N9iEhrjn3sCw-74,220
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.1.0)
2
+ Generator: setuptools (75.8.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp39-cp39-macosx_11_0_arm64
5
5