scylla-cqlsh 6.0.25__cp311-cp311-win32.whl → 6.0.27__cp311-cp311-win32.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.

copyutil.cp311-win32.pyd CHANGED
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,12 +1,12 @@
1
- copyutil.cp311-win32.pyd,sha256=t2OOaffwQ-D4rgFwr90fFY5xIPJnc83hVchof1ZVOiI,1064448
1
+ copyutil.cp311-win32.pyd,sha256=TNNKk3W0IeWsWbC16TW3PGKugifZKRfBB9_KzLbG3dw,710144
2
2
  cqlsh/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
3
3
  cqlsh/__main__.py,sha256=x2NuvlSuAKwNCxiX07YoYfxog9JNAO759ZxnjBEcfus,231
4
- cqlsh/cqlsh.py,sha256=O8f8owDrWrdwCfJmZrkVtf5sKb-u6QGMKIXl-aCsMhE,115984
4
+ cqlsh/cqlsh.py,sha256=KGbsIOJUy2mMjtFGdpzkvocYVJBgXSyf_r87npErNAs,116337
5
5
  cqlshlib/__init__.py,sha256=3M0IQCsjdCGYEOBT20swSvqxV6V8vg_mu1uJig78Vmk,3274
6
- cqlshlib/_version.py,sha256=Y-1nIVGSeByj6F3V2JrlPjrQtZcrMiCBSmb9bOOnz6I,429
6
+ cqlshlib/_version.py,sha256=UkB15EIm_3n03uHBJjCH8L5JMrKK6tKges-Wu44OfnU,748
7
7
  cqlshlib/authproviderhandling.py,sha256=goFjJCO1FKuVCXU7KXlmlorx_cD_oIRlgpOeH13W--g,7254
8
8
  cqlshlib/copyutil.py,sha256=Pc4WaKg_W8IP4ZpuWEvoLOrJJGQTwRHTyOdqExfDro0,116171
9
- cqlshlib/cql3handling.py,sha256=NaPViE6v9K4S4ffBmmWzI3_U0Kd-HvBjKq3N6G4GLzI,60790
9
+ cqlshlib/cql3handling.py,sha256=SVvIYWG9Zo8Dj7Ty4gbBqc62QVQznXG0PX6wZkFQ6-M,60967
10
10
  cqlshlib/cqlhandling.py,sha256=hiqjCKY5fQnqSEeugYJgAD3hRiloqUtOUTSg_GccL4A,13436
11
11
  cqlshlib/cqlshhandling.py,sha256=cMlDbq5MuXagJmq-qpJxRqwstOAawWUu2rry6tfHV_w,10824
12
12
  cqlshlib/displaying.py,sha256=WxKcYuX098sa6NoyPeYwJod0zutkrTm2Zm3riIhrYpA,4105
@@ -18,9 +18,9 @@ cqlshlib/sslhandling.py,sha256=XYdvON1WkWFQ5dg5ttpwpSQDgbqI58YJi8Lx1qTDtQA,4758
18
18
  cqlshlib/tracing.py,sha256=Krb-TkfWrUdxr17-2yZrW5DXKvBEQt-FYZAix_62Tes,3493
19
19
  cqlshlib/util.py,sha256=gHvzlTw1T9N1YzXdVPFptAt58EzyXpDRibAo8QB03I8,5240
20
20
  cqlshlib/wcwidth.py,sha256=zsoo9u3ZA3q8RL5Afb6ynRujqDdUZ9zlFIHGE8RkqyA,16244
21
- scylla_cqlsh-6.0.25.dist-info/LICENSE.txt,sha256=65AZdlqRQxiyMBv8nY6itMITk5jx9EkE_jHujbcDzbk,11564
22
- scylla_cqlsh-6.0.25.dist-info/METADATA,sha256=JhLUTPyF5CgDZZfa0V6OTLsW0-sanvULnrqQzzYbuX0,3215
23
- scylla_cqlsh-6.0.25.dist-info/WHEEL,sha256=bhXcIFNv4T-G4Sw4ACrAXSbqmVpqO5W3nspTDhg-PJ4,97
24
- scylla_cqlsh-6.0.25.dist-info/entry_points.txt,sha256=oE4unqgR3WwNkCJDGlMG1HYtCE3nEZZ4d9CIl-JSZyQ,46
25
- scylla_cqlsh-6.0.25.dist-info/top_level.txt,sha256=PVG-5w7PDG3FoAJH6Rq2I8C0y4cKa2KOW75GxjHkmQ4,24
26
- scylla_cqlsh-6.0.25.dist-info/RECORD,,
21
+ scylla_cqlsh-6.0.27.dist-info/licenses/LICENSE.txt,sha256=65AZdlqRQxiyMBv8nY6itMITk5jx9EkE_jHujbcDzbk,11564
22
+ scylla_cqlsh-6.0.27.dist-info/METADATA,sha256=GhZ_F3Rys1_BWrQjbj9BK9ljtxu3dUl2NX5vsVhJD1k,3258
23
+ scylla_cqlsh-6.0.27.dist-info/WHEEL,sha256=Ri8zddKrjGdgjlj1OpSsvpDnvHfnQhMQWi3E_v2pqng,97
24
+ scylla_cqlsh-6.0.27.dist-info/entry_points.txt,sha256=oE4unqgR3WwNkCJDGlMG1HYtCE3nEZZ4d9CIl-JSZyQ,46
25
+ scylla_cqlsh-6.0.27.dist-info/top_level.txt,sha256=PVG-5w7PDG3FoAJH6Rq2I8C0y4cKa2KOW75GxjHkmQ4,24
26
+ scylla_cqlsh-6.0.27.dist-info/RECORD,,
@@ -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: cp311-cp311-win32
5
5