scylla-cqlsh 6.0.25__cp39-cp39-macosx_11_0_arm64.whl → 6.0.27__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
@@ -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,16 +1,34 @@
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__ = [
5
+ "__version__",
6
+ "__version_tuple__",
7
+ "version",
8
+ "version_tuple",
9
+ "__commit_id__",
10
+ "commit_id",
11
+ ]
12
+
3
13
  TYPE_CHECKING = False
4
14
  if TYPE_CHECKING:
5
- from typing import Tuple, Union
15
+ from typing import Tuple
16
+ from typing import Union
17
+
6
18
  VERSION_TUPLE = Tuple[Union[int, str], ...]
19
+ COMMIT_ID = Union[str, None]
7
20
  else:
8
21
  VERSION_TUPLE = object
22
+ COMMIT_ID = object
9
23
 
10
24
  version: str
11
25
  __version__: str
12
26
  __version_tuple__: VERSION_TUPLE
13
27
  version_tuple: VERSION_TUPLE
28
+ commit_id: COMMIT_ID
29
+ __commit_id__: COMMIT_ID
30
+
31
+ __version__ = version = '6.0.27'
32
+ __version_tuple__ = version_tuple = (6, 0, 27)
14
33
 
15
- __version__ = version = '6.0.25'
16
- __version_tuple__ = version_tuple = (6, 0, 25)
34
+ __commit_id__ = commit_id = 'gff3f572c3'
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.27
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,8 +18,10 @@ 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
+ Requires-Dist: lz4
21
22
  Dynamic: classifier
22
23
  Dynamic: license
24
+ Dynamic: license-file
23
25
  Dynamic: requires-dist
24
26
 
25
27
  # scylla-cqlsh
@@ -1,10 +1,16 @@
1
- copyutil.cpython-39-darwin.so,sha256=PuNaFx7nXbFQMCLDgc01OeBWHn1B6r5zRyIqLumcsvc,1300528
1
+ copyutil.cpython-39-darwin.so,sha256=kyKLbjkVXKf2wIYjmFLMPGHswZmWilfi-MyYcpFx4yE,1074496
2
+ scylla_cqlsh-6.0.27.dist-info/RECORD,,
3
+ scylla_cqlsh-6.0.27.dist-info/WHEEL,sha256=bDWaFWigpG5bEpqw9IoRiyYs8MvmSFh0OhUAOoi_-KA,134
4
+ scylla_cqlsh-6.0.27.dist-info/entry_points.txt,sha256=oE4unqgR3WwNkCJDGlMG1HYtCE3nEZZ4d9CIl-JSZyQ,46
5
+ scylla_cqlsh-6.0.27.dist-info/top_level.txt,sha256=PVG-5w7PDG3FoAJH6Rq2I8C0y4cKa2KOW75GxjHkmQ4,24
6
+ scylla_cqlsh-6.0.27.dist-info/METADATA,sha256=DirtUnkjHGqD9_LUt0DTetHsqfiCMgyjf5wiReUVMdw,3147
7
+ scylla_cqlsh-6.0.27.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=phPwP-GDzT3qrGu-AzLI61DiwiC5kTiky6Vd4WrCU1g,714
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=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
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: cp39-cp39-macosx_11_0_arm64
5
+ Generator: delocate 0.13.0
5
6