scylla-cqlsh 6.0.25__cp311-cp311-macosx_10_9_x86_64.whl → 6.0.26__cp311-cp311-macosx_10_9_x86_64.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
@@ -160,7 +160,13 @@ from cqlshlib.util import is_file_secure, trim_if_present
160
160
  try:
161
161
  from cqlshlib._version import __version__ as version
162
162
  except ImportError:
163
- version = "0.0.0"
163
+ # Get the version relative to the current file, suppressing UserWarnings from setuptools_scm
164
+ from setuptools_scm import get_version
165
+
166
+ with warnings.catch_warnings():
167
+ warnings.simplefilter("ignore", UserWarning)
168
+ version = get_version(root='..', relative_to=__file__, tag_regex=r'^(?P<prefix>v)?(?P<version>[^\+-]+)(?P<suffix>-scylla)?$')
169
+
164
170
 
165
171
  DEFAULT_HOST = '127.0.0.1'
166
172
  DEFAULT_PORT = 9042
cqlshlib/_version.py CHANGED
@@ -1,8 +1,13 @@
1
- # file generated by setuptools_scm
1
+ # file generated by setuptools-scm
2
2
  # don't change, don't track in version control
3
+
4
+ __all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
5
+
3
6
  TYPE_CHECKING = False
4
7
  if TYPE_CHECKING:
5
- from typing import Tuple, Union
8
+ from typing import Tuple
9
+ from typing import Union
10
+
6
11
  VERSION_TUPLE = Tuple[Union[int, str], ...]
7
12
  else:
8
13
  VERSION_TUPLE = object
@@ -12,5 +17,5 @@ __version__: str
12
17
  __version_tuple__: VERSION_TUPLE
13
18
  version_tuple: VERSION_TUPLE
14
19
 
15
- __version__ = version = '6.0.25'
16
- __version_tuple__ = version_tuple = (6, 0, 25)
20
+ __version__ = version = '6.0.26'
21
+ __version_tuple__ = version_tuple = (6, 0, 26)
cqlshlib/cql3handling.py CHANGED
@@ -442,7 +442,7 @@ def ks_prop_val_completer(ctxt, cass):
442
442
  if optname == 'durable_writes':
443
443
  return ["'true'", "'false'"]
444
444
  if optname == 'replication':
445
- return ["{'class': '"]
445
+ return ["{'class': 'NetworkTopologyStrategy'"]
446
446
  return ()
447
447
 
448
448
 
@@ -471,7 +471,10 @@ def ks_prop_val_mapval_completer(ctxt, cass):
471
471
  return ()
472
472
  currentkey = dequote_value(ctxt.get_binding('propmapkey')[-1])
473
473
  if currentkey == 'class':
474
- return list(map(escape_value, CqlRuleSet.replication_strategies))
474
+ partial = ctxt.get_binding('partial', '')
475
+ if partial == '':
476
+ return [escape_value('NetworkTopologyStrategy')]
477
+ return [s for s in CqlRuleSet.replication_strategies if s.startswith(partial)]
475
478
  return [Hint('<term>')]
476
479
 
477
480
 
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: scylla-cqlsh
3
- Version: 6.0.25
3
+ Version: 6.0.26
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
@@ -20,6 +20,7 @@ License-File: LICENSE.txt
20
20
  Requires-Dist: scylla-driver>=3.25.10
21
21
  Dynamic: classifier
22
22
  Dynamic: license
23
+ Dynamic: license-file
23
24
  Dynamic: requires-dist
24
25
 
25
26
  # scylla-cqlsh
@@ -1,10 +1,16 @@
1
- copyutil.cpython-311-darwin.so,sha256=BdW14pif3SgY3NCT0NTiwAk4aHz5UNrcw6PCVihDdZ0,1428672
1
+ copyutil.cpython-311-darwin.so,sha256=RoyprbxqgJ7IfH2dEJwe4d02Wsd3cEjO9bYhO-sH2xE,1134032
2
+ scylla_cqlsh-6.0.26.dist-info/RECORD,,
3
+ scylla_cqlsh-6.0.26.dist-info/WHEEL,sha256=TY6wS7uh4kKn2hb4-XnLjkub5JFV8id422w1jhyVjcQ,137
4
+ scylla_cqlsh-6.0.26.dist-info/entry_points.txt,sha256=oE4unqgR3WwNkCJDGlMG1HYtCE3nEZZ4d9CIl-JSZyQ,46
5
+ scylla_cqlsh-6.0.26.dist-info/top_level.txt,sha256=PVG-5w7PDG3FoAJH6Rq2I8C0y4cKa2KOW75GxjHkmQ4,24
6
+ scylla_cqlsh-6.0.26.dist-info/METADATA,sha256=8ozI7kmcAGw1DGqRa5Wcq10dyxjpeIU4LR8BquhC6tg,3128
7
+ scylla_cqlsh-6.0.26.dist-info/licenses/LICENSE.txt,sha256=JAuKOf39K9OzU5wC40RmM0iE_ISwVrV_BunaNTI-zZc,11360
2
8
  cqlshlib/authproviderhandling.py,sha256=p4r_sk64AC5eiv__n-gjwQk2Ni_CcK6lyAWSKEcgINs,7078
3
9
  cqlshlib/cqlshhandling.py,sha256=BUu9wi7H1Xgil9lci-48TCPQ1xwe2-OTNXsW7jiewlM,10510
4
10
  cqlshlib/tracing.py,sha256=ct7siXwNMINjGVXn9qr5h7XhDDM6Bi1uLljPUtcve-A,3403
5
11
  cqlshlib/sslhandling.py,sha256=TtEib4N-BuL2KZJiGYijc9DQviYp2lzYlwLj4RLp0oQ,4649
6
12
  cqlshlib/saferscanner.py,sha256=T4eSYVWuZf4piTS9PgHjFhuY6g1fOb4VVa1Bu4Y1v_I,3539
7
- cqlshlib/_version.py,sha256=TW3Y-SZVPrdxeDkC4I3djizYB3voXiAWAoyGO0t5B0k,413
13
+ cqlshlib/_version.py,sha256=WawYYDlVFidqIdhQHXgm9xJ-uA6iC6TVvkJ397T1Hl0,513
8
14
  cqlshlib/wcwidth.py,sha256=PsbF7OaDlLItaiV6niu8F_OOgVYLJo0Ypb5-cOJV3QY,15865
9
15
  cqlshlib/displaying.py,sha256=bsA7T4BwQHgtH4jzCJeU3JrpgMT5k0xZ7EA2AnhYG7g,3977
10
16
  cqlshlib/util.py,sha256=qWQmq9v28vZwZ4apzK0-UQOYPIW3TMk-Jq9I69LbW0k,5057
@@ -14,13 +20,7 @@ cqlshlib/formatting.py,sha256=NBHxsrXS3X8qcGewn98iTP7ys3JQUvWGf9iIWk-ErL0,23032
14
20
  cqlshlib/copyutil.py,sha256=mORX85C5CFqNSIoElATn4vKjUaCdUL8td5blyXlFDHI,113415
15
21
  cqlshlib/helptopics.py,sha256=bBPtNHn2ySgO9K4nFBpJw2gcibryIdRh7dm3b9TUubQ,4524
16
22
  cqlshlib/pylexotron.py,sha256=QY3nZ-fP-yGFIixMV33IgMlKV8A51AxnNYya0PGZc6I,19273
17
- cqlshlib/cql3handling.py,sha256=cAE_UW8sg4UJ8PjS5rbbZn-O3_L9m2297Or-8f2s72Y,59123
18
- scylla_cqlsh-6.0.25.dist-info/RECORD,,
19
- scylla_cqlsh-6.0.25.dist-info/WHEEL,sha256=rRBe8gNEhotozzxgrO95hZ3LAl74f9an5Xo4YRYFmgA,110
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
23
+ cqlshlib/cql3handling.py,sha256=1jCmmWk_f8XtJhTOug8uftxhuMzGP3RDYVJtOAE5cXE,59297
24
+ cqlsh/cqlsh.py,sha256=F1jWdWJTs8BGR5x4HRCPPF7nCPjrfVYt81TFsjR7Li8,113579
25
25
  cqlsh/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
26
26
  cqlsh/__main__.py,sha256=-IR7kYVwXf9uq9OBeVlAB5I386E1N9iEhrjn3sCw-74,220
@@ -1,5 +1,6 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp311-cp311-macosx_10_9_x86_64
5
+ Generator: delocate 0.13.0
5
6