scylla-cqlsh 6.0.25__cp39-cp39-musllinux_1_2_x86_64.whl → 6.0.26__cp39-cp39-musllinux_1_2_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,26 +1,26 @@
1
- copyutil.cpython-39-x86_64-linux-gnu.so,sha256=MX2be280gbA4wnbQ4dpAoy_8RZfxqVfyJJVyXoxcVoY,9172192
2
- scylla_cqlsh-6.0.25.dist-info/LICENSE.txt,sha256=JAuKOf39K9OzU5wC40RmM0iE_ISwVrV_BunaNTI-zZc,11360
3
- scylla_cqlsh-6.0.25.dist-info/entry_points.txt,sha256=oE4unqgR3WwNkCJDGlMG1HYtCE3nEZZ4d9CIl-JSZyQ,46
4
- scylla_cqlsh-6.0.25.dist-info/RECORD,,
5
- scylla_cqlsh-6.0.25.dist-info/METADATA,sha256=FJ-7h-HqsjO1bN1-AJTqUcYsw9anY1LAvLDjOwC-nOQ,3106
6
- scylla_cqlsh-6.0.25.dist-info/WHEEL,sha256=mXVmV81XPc0U-NdujS58BZ8Kl4f96uujgiOLxSHsx8I,110
7
- scylla_cqlsh-6.0.25.dist-info/top_level.txt,sha256=PVG-5w7PDG3FoAJH6Rq2I8C0y4cKa2KOW75GxjHkmQ4,24
8
- cqlsh/cqlsh.py,sha256=sWvoOFumWrjpO5TYggat54o-sJjBOZjgAg6rwB_7s0U,113232
1
+ copyutil.cpython-39-x86_64-linux-gnu.so,sha256=DWncTLN2m0_Xca7Q8oGGnIjna1GV5IoDdwo2X69Pt8w,7390952
9
2
  cqlsh/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
10
3
  cqlsh/__main__.py,sha256=-IR7kYVwXf9uq9OBeVlAB5I386E1N9iEhrjn3sCw-74,220
4
+ cqlsh/cqlsh.py,sha256=F1jWdWJTs8BGR5x4HRCPPF7nCPjrfVYt81TFsjR7Li8,113579
5
+ cqlshlib/__init__.py,sha256=IhAMRujMv3XMvwQcYhUyXvJtWYuHpI-WfnIookmRago,3184
6
+ cqlshlib/_version.py,sha256=WawYYDlVFidqIdhQHXgm9xJ-uA6iC6TVvkJ397T1Hl0,513
11
7
  cqlshlib/authproviderhandling.py,sha256=p4r_sk64AC5eiv__n-gjwQk2Ni_CcK6lyAWSKEcgINs,7078
12
- cqlshlib/saferscanner.py,sha256=T4eSYVWuZf4piTS9PgHjFhuY6g1fOb4VVa1Bu4Y1v_I,3539
13
- cqlshlib/formatting.py,sha256=NBHxsrXS3X8qcGewn98iTP7ys3JQUvWGf9iIWk-ErL0,23032
14
- cqlshlib/cqlshhandling.py,sha256=BUu9wi7H1Xgil9lci-48TCPQ1xwe2-OTNXsW7jiewlM,10510
8
+ cqlshlib/copyutil.py,sha256=mORX85C5CFqNSIoElATn4vKjUaCdUL8td5blyXlFDHI,113415
9
+ cqlshlib/cql3handling.py,sha256=1jCmmWk_f8XtJhTOug8uftxhuMzGP3RDYVJtOAE5cXE,59297
15
10
  cqlshlib/cqlhandling.py,sha256=J-zzfU8sj0GbX-5vh5uV1gmFAYD_WOBsnVgd9PMaHoc,13103
11
+ cqlshlib/cqlshhandling.py,sha256=BUu9wi7H1Xgil9lci-48TCPQ1xwe2-OTNXsW7jiewlM,10510
16
12
  cqlshlib/displaying.py,sha256=bsA7T4BwQHgtH4jzCJeU3JrpgMT5k0xZ7EA2AnhYG7g,3977
17
- cqlshlib/util.py,sha256=qWQmq9v28vZwZ4apzK0-UQOYPIW3TMk-Jq9I69LbW0k,5057
18
- cqlshlib/tracing.py,sha256=ct7siXwNMINjGVXn9qr5h7XhDDM6Bi1uLljPUtcve-A,3403
19
- cqlshlib/_version.py,sha256=TW3Y-SZVPrdxeDkC4I3djizYB3voXiAWAoyGO0t5B0k,413
20
- cqlshlib/__init__.py,sha256=IhAMRujMv3XMvwQcYhUyXvJtWYuHpI-WfnIookmRago,3184
21
- cqlshlib/wcwidth.py,sha256=PsbF7OaDlLItaiV6niu8F_OOgVYLJo0Ypb5-cOJV3QY,15865
22
- cqlshlib/copyutil.py,sha256=mORX85C5CFqNSIoElATn4vKjUaCdUL8td5blyXlFDHI,113415
13
+ cqlshlib/formatting.py,sha256=NBHxsrXS3X8qcGewn98iTP7ys3JQUvWGf9iIWk-ErL0,23032
14
+ cqlshlib/helptopics.py,sha256=bBPtNHn2ySgO9K4nFBpJw2gcibryIdRh7dm3b9TUubQ,4524
23
15
  cqlshlib/pylexotron.py,sha256=QY3nZ-fP-yGFIixMV33IgMlKV8A51AxnNYya0PGZc6I,19273
16
+ cqlshlib/saferscanner.py,sha256=T4eSYVWuZf4piTS9PgHjFhuY6g1fOb4VVa1Bu4Y1v_I,3539
24
17
  cqlshlib/sslhandling.py,sha256=TtEib4N-BuL2KZJiGYijc9DQviYp2lzYlwLj4RLp0oQ,4649
25
- cqlshlib/cql3handling.py,sha256=cAE_UW8sg4UJ8PjS5rbbZn-O3_L9m2297Or-8f2s72Y,59123
26
- cqlshlib/helptopics.py,sha256=bBPtNHn2ySgO9K4nFBpJw2gcibryIdRh7dm3b9TUubQ,4524
18
+ cqlshlib/tracing.py,sha256=ct7siXwNMINjGVXn9qr5h7XhDDM6Bi1uLljPUtcve-A,3403
19
+ cqlshlib/util.py,sha256=qWQmq9v28vZwZ4apzK0-UQOYPIW3TMk-Jq9I69LbW0k,5057
20
+ cqlshlib/wcwidth.py,sha256=PsbF7OaDlLItaiV6niu8F_OOgVYLJo0Ypb5-cOJV3QY,15865
21
+ scylla_cqlsh-6.0.26.dist-info/METADATA,sha256=8ozI7kmcAGw1DGqRa5Wcq10dyxjpeIU4LR8BquhC6tg,3128
22
+ scylla_cqlsh-6.0.26.dist-info/WHEEL,sha256=1lQ8uVaF0e0KhYU1_N6mtUH8lO3rq4o3quRVE11_OcQ,110
23
+ scylla_cqlsh-6.0.26.dist-info/entry_points.txt,sha256=oE4unqgR3WwNkCJDGlMG1HYtCE3nEZZ4d9CIl-JSZyQ,46
24
+ scylla_cqlsh-6.0.26.dist-info/top_level.txt,sha256=PVG-5w7PDG3FoAJH6Rq2I8C0y4cKa2KOW75GxjHkmQ4,24
25
+ scylla_cqlsh-6.0.26.dist-info/RECORD,,
26
+ scylla_cqlsh-6.0.26.dist-info/licenses/LICENSE.txt,sha256=JAuKOf39K9OzU5wC40RmM0iE_ISwVrV_BunaNTI-zZc,11360
@@ -1,5 +1,5 @@
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: cp39-cp39-musllinux_1_2_x86_64
5
5