scylla-cqlsh 6.0.13__cp310-cp310-musllinux_1_1_i686.whl → 6.0.14__cp310-cp310-musllinux_1_1_i686.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
@@ -152,7 +152,7 @@ if os.path.isdir(cqlshlibdir):
152
152
  from cqlshlib import cql3handling, pylexotron, sslhandling, cqlshhandling, authproviderhandling
153
153
  from cqlshlib.copyutil import ExportTask, ImportTask
154
154
  from cqlshlib.displaying import (ANSI_RESET, BLUE, COLUMN_NAME_COLORS, CYAN,
155
- RED, WHITE, FormattedValue, colorme)
155
+ RED, YELLOW, WHITE, FormattedValue, colorme)
156
156
  from cqlshlib.formatting import (DEFAULT_DATE_FORMAT, DEFAULT_NANOTIME_FORMAT,
157
157
  DEFAULT_TIMESTAMP_FORMAT, CqlType, DateTimeFormat,
158
158
  format_by_type)
@@ -212,7 +212,7 @@ parser.add_option('--cqlversion', default=None,
212
212
  'by default the highest version supported by the server will be used.'
213
213
  ' Examples: "3.0.3", "3.1.0"')
214
214
  parser.add_option("--protocol-version", type="int", default=None,
215
- help='Specify a specific protcol version otherwise the client will default and downgrade as necessary')
215
+ help='Specify a specific protocol version otherwise the client will default and downgrade as necessary')
216
216
 
217
217
  parser.add_option("-e", "--execute", help='Execute the statement and quit.')
218
218
  parser.add_option("--connect-timeout", default=DEFAULT_CONNECT_TIMEOUT_SECONDS, dest='connect_timeout',
@@ -1110,8 +1110,8 @@ class Shell(cmd.Cmd):
1110
1110
  try:
1111
1111
  self.conn.refresh_schema_metadata(5) # will throw exception if there is a schema mismatch
1112
1112
  except Exception:
1113
- self.printerr("Warning: schema version mismatch detected; check the schema versions of your "
1114
- "nodes in system.local and system.peers.")
1113
+ self.printwarn("Warning: schema version mismatch detected; check the schema versions of your "
1114
+ "nodes in system.local and system.peers.")
1115
1115
  self.conn.refresh_schema_metadata(-1)
1116
1116
 
1117
1117
  if result is None:
@@ -2290,6 +2290,13 @@ class Shell(cmd.Cmd):
2290
2290
  text = '%s:%d:%s' % (self.stdin.name, self.lineno, text)
2291
2291
  self.writeresult(text, color, newline=newline, out=sys.stderr)
2292
2292
 
2293
+ def printwarn(self, text, color=YELLOW, newline=True, shownum=None):
2294
+ if shownum is None:
2295
+ shownum = self.show_line_nums
2296
+ if shownum:
2297
+ text = '%s:%d:%s' % (self.stdin.name, self.lineno, text)
2298
+ self.writeresult(text, color, newline=newline, out=sys.stderr)
2299
+
2293
2300
  def stop_coverage(self):
2294
2301
  if self.coverage and self.cov is not None:
2295
2302
  self.cov.stop()
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.13'
16
- __version_tuple__ = version_tuple = (6, 0, 13)
15
+ __version__ = version = '6.0.14'
16
+ __version_tuple__ = version_tuple = (6, 0, 14)
cqlshlib/copyutil.py CHANGED
@@ -2243,7 +2243,7 @@ class TokenMap(object):
2243
2243
 
2244
2244
  self._initialize_ring()
2245
2245
 
2246
- # Note that refresh metadata is disabled by default and we currenlty do not intercept it
2246
+ # Note that refresh metadata is disabled by default and we currently do not intercept it
2247
2247
  # If hosts are added, removed or moved during a COPY operation our token map is no longer optimal
2248
2248
  # However we can cope with hosts going down and up since we filter for replicas that are up when
2249
2249
  # making each batch
cqlshlib/pylexotron.py CHANGED
@@ -384,7 +384,7 @@ class ParsingRuleSet:
384
384
  def parse_rules(cls, rulestr):
385
385
  tokens, unmatched = cls.RuleSpecScanner.scan(rulestr)
386
386
  if unmatched:
387
- raise LexingError.from_text(rulestr, unmatched, msg="Syntax rules are unparseable")
387
+ raise LexingError.from_text(rulestr, unmatched, msg="Syntax rules are unparsable")
388
388
  rules = {}
389
389
  terminals = []
390
390
  tokeniter = iter(tokens)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: scylla-cqlsh
3
- Version: 6.0.13
3
+ Version: 6.0.14
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
@@ -1,26 +1,26 @@
1
- copyutil.cpython-310-i386-linux-gnu.so,sha256=92oUeuVPYH0qVGNUxGIqqIwCa_TI6A9gdRHO0_yFTxY,9234836
2
- cqlsh/cqlsh.py,sha256=en-k68dnVgB3NvbBhIPAi8kRNZ0pZ0IFDL94YZY2hyc,110584
3
- cqlsh/__main__.py,sha256=-IR7kYVwXf9uq9OBeVlAB5I386E1N9iEhrjn3sCw-74,220
4
- cqlsh/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
1
+ copyutil.cpython-310-i386-linux-gnu.so,sha256=rpocNxjxzZCwSDe-BRqmSzuhqcp_fCMdy5RMA_t-pzw,9234592
2
+ cqlshlib/_version.py,sha256=jMKN3rmsPzK5C_7WbnPN5wzg53Z61mpPehhw92mkyv0,413
3
+ cqlshlib/displaying.py,sha256=bsA7T4BwQHgtH4jzCJeU3JrpgMT5k0xZ7EA2AnhYG7g,3977
4
+ cqlshlib/cqlhandling.py,sha256=J-zzfU8sj0GbX-5vh5uV1gmFAYD_WOBsnVgd9PMaHoc,13103
5
5
  cqlshlib/wcwidth.py,sha256=PsbF7OaDlLItaiV6niu8F_OOgVYLJo0Ypb5-cOJV3QY,15865
6
- cqlshlib/saferscanner.py,sha256=T4eSYVWuZf4piTS9PgHjFhuY6g1fOb4VVa1Bu4Y1v_I,3539
7
- cqlshlib/tracing.py,sha256=ct7siXwNMINjGVXn9qr5h7XhDDM6Bi1uLljPUtcve-A,3403
8
- cqlshlib/pylexotron.py,sha256=XFXI-TFdMcZ6xrJYkKY3fEO7eriCRt2nt_xWSeZfNc8,19274
9
- cqlshlib/copyutil.py,sha256=iHAsPCmnB_u30f9kEL-kUARstQardAZFVSp2uo1Hv_4,113378
6
+ cqlshlib/__init__.py,sha256=IhAMRujMv3XMvwQcYhUyXvJtWYuHpI-WfnIookmRago,3184
7
+ cqlshlib/helptopics.py,sha256=bBPtNHn2ySgO9K4nFBpJw2gcibryIdRh7dm3b9TUubQ,4524
10
8
  cqlshlib/formatting.py,sha256=NBHxsrXS3X8qcGewn98iTP7ys3JQUvWGf9iIWk-ErL0,23032
11
9
  cqlshlib/cql3handling.py,sha256=S2rA8pbeSKjvmtWnBIthkDpC41pJU7L0OQO2Ob-YYg4,57506
10
+ cqlshlib/sslhandling.py,sha256=0_srBAe1l6zO_Ct394CyFzW94O7lYOkRS4QEBNuEMiE,3918
11
+ cqlshlib/tracing.py,sha256=ct7siXwNMINjGVXn9qr5h7XhDDM6Bi1uLljPUtcve-A,3403
12
+ cqlshlib/pylexotron.py,sha256=QY3nZ-fP-yGFIixMV33IgMlKV8A51AxnNYya0PGZc6I,19273
12
13
  cqlshlib/authproviderhandling.py,sha256=p4r_sk64AC5eiv__n-gjwQk2Ni_CcK6lyAWSKEcgINs,7078
13
- cqlshlib/helptopics.py,sha256=bBPtNHn2ySgO9K4nFBpJw2gcibryIdRh7dm3b9TUubQ,4524
14
- cqlshlib/cqlhandling.py,sha256=J-zzfU8sj0GbX-5vh5uV1gmFAYD_WOBsnVgd9PMaHoc,13103
14
+ cqlshlib/saferscanner.py,sha256=T4eSYVWuZf4piTS9PgHjFhuY6g1fOb4VVa1Bu4Y1v_I,3539
15
+ cqlshlib/copyutil.py,sha256=gKG9sSvbYmC9uCCaXu1XOlNvH5lsXl52qgPjaOXUiIA,113378
15
16
  cqlshlib/util.py,sha256=qWQmq9v28vZwZ4apzK0-UQOYPIW3TMk-Jq9I69LbW0k,5057
16
- cqlshlib/sslhandling.py,sha256=0_srBAe1l6zO_Ct394CyFzW94O7lYOkRS4QEBNuEMiE,3918
17
- cqlshlib/displaying.py,sha256=bsA7T4BwQHgtH4jzCJeU3JrpgMT5k0xZ7EA2AnhYG7g,3977
18
- cqlshlib/__init__.py,sha256=IhAMRujMv3XMvwQcYhUyXvJtWYuHpI-WfnIookmRago,3184
19
- cqlshlib/_version.py,sha256=2QSyVCpLdJqkKPCzTryku1qJ_9AWb9iwKeKKhsF3tkU,413
20
17
  cqlshlib/cqlshhandling.py,sha256=BUu9wi7H1Xgil9lci-48TCPQ1xwe2-OTNXsW7jiewlM,10510
21
- scylla_cqlsh-6.0.13.dist-info/METADATA,sha256=HJ0LrtCC8X-eeyHBCWsAwYVBeaGQjzWeTG2R6420wgw,2814
22
- scylla_cqlsh-6.0.13.dist-info/LICENSE.txt,sha256=JAuKOf39K9OzU5wC40RmM0iE_ISwVrV_BunaNTI-zZc,11360
23
- scylla_cqlsh-6.0.13.dist-info/entry_points.txt,sha256=oE4unqgR3WwNkCJDGlMG1HYtCE3nEZZ4d9CIl-JSZyQ,46
24
- scylla_cqlsh-6.0.13.dist-info/WHEEL,sha256=POAWaITYRJ3Wom25yjK7N-cS2g56uhAplwun4aFyPzs,111
25
- scylla_cqlsh-6.0.13.dist-info/RECORD,,
26
- scylla_cqlsh-6.0.13.dist-info/top_level.txt,sha256=PVG-5w7PDG3FoAJH6Rq2I8C0y4cKa2KOW75GxjHkmQ4,24
18
+ scylla_cqlsh-6.0.14.dist-info/WHEEL,sha256=Qdgzk76P0iDEfrSqGlHmC7uVkV7GguAV-ztZmwBe2jc,111
19
+ scylla_cqlsh-6.0.14.dist-info/LICENSE.txt,sha256=JAuKOf39K9OzU5wC40RmM0iE_ISwVrV_BunaNTI-zZc,11360
20
+ scylla_cqlsh-6.0.14.dist-info/top_level.txt,sha256=PVG-5w7PDG3FoAJH6Rq2I8C0y4cKa2KOW75GxjHkmQ4,24
21
+ scylla_cqlsh-6.0.14.dist-info/entry_points.txt,sha256=oE4unqgR3WwNkCJDGlMG1HYtCE3nEZZ4d9CIl-JSZyQ,46
22
+ scylla_cqlsh-6.0.14.dist-info/RECORD,,
23
+ scylla_cqlsh-6.0.14.dist-info/METADATA,sha256=MxJIX58wbUL6z3_HSouHvCxDcrciADd7jAm_UiJe0pI,2814
24
+ cqlsh/__main__.py,sha256=-IR7kYVwXf9uq9OBeVlAB5I386E1N9iEhrjn3sCw-74,220
25
+ cqlsh/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
26
+ cqlsh/cqlsh.py,sha256=wRvkXUQSD10T0m1boTZtKdFzMo_WI9ojjgDB4arD6q0,110899
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.41.2)
2
+ Generator: bdist_wheel (0.42.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp310-cp310-musllinux_1_1_i686
5
5