scylla-cqlsh 6.0.19__cp39-cp39-win_amd64.whl → 6.0.21__cp39-cp39-win_amd64.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
@@ -478,7 +478,7 @@ class Shell(cmd.Cmd):
478
478
  if protocol_version is not None:
479
479
  kwargs['protocol_version'] = protocol_version
480
480
 
481
- profiles = {
481
+ self.profiles = {
482
482
  EXEC_PROFILE_DEFAULT: ExecutionProfile(consistency_level=cassandra.ConsistencyLevel.ONE,
483
483
  request_timeout=request_timeout,
484
484
  row_factory=ordered_dict_factory)
@@ -487,10 +487,10 @@ class Shell(cmd.Cmd):
487
487
  if cloudconf is None:
488
488
  if os.path.exists(self.hostname) and stat.S_ISSOCK(os.stat(self.hostname).st_mode):
489
489
  kwargs['contact_points'] = (UnixSocketEndPoint(self.hostname),)
490
- profiles[EXEC_PROFILE_DEFAULT].load_balancing_policy = WhiteListRoundRobinPolicy([UnixSocketEndPoint(self.hostname)])
490
+ self.profiles[EXEC_PROFILE_DEFAULT].load_balancing_policy = WhiteListRoundRobinPolicy([UnixSocketEndPoint(self.hostname)])
491
491
  else:
492
492
  kwargs['contact_points'] = (self.hostname,)
493
- profiles[EXEC_PROFILE_DEFAULT].load_balancing_policy = WhiteListRoundRobinPolicy([self.hostname])
493
+ self.profiles[EXEC_PROFILE_DEFAULT].load_balancing_policy = WhiteListRoundRobinPolicy([self.hostname])
494
494
  kwargs['port'] = self.port
495
495
  kwargs['ssl_context'] = sslhandling.ssl_settings(hostname, CONFIG_FILE) if ssl else None
496
496
  # workaround until driver would know not to lose the DNS names for `server_hostname`
@@ -503,7 +503,7 @@ class Shell(cmd.Cmd):
503
503
  auth_provider=self.auth_provider,
504
504
  control_connection_timeout=connect_timeout,
505
505
  connect_timeout=connect_timeout,
506
- execution_profiles=profiles,
506
+ execution_profiles=self.profiles,
507
507
  **kwargs)
508
508
  self.owns_connection = not use_conn
509
509
 
@@ -2140,10 +2140,6 @@ class Shell(cmd.Cmd):
2140
2140
  kwargs['port'] = self.port
2141
2141
  kwargs['ssl_context'] = self.conn.ssl_context
2142
2142
  kwargs['ssl_options'] = self.conn.ssl_options
2143
- if os.path.exists(self.hostname) and stat.S_ISSOCK(os.stat(self.hostname).st_mode):
2144
- kwargs['load_balancing_policy'] = WhiteListRoundRobinPolicy([UnixSocketEndPoint(self.hostname)])
2145
- else:
2146
- kwargs['load_balancing_policy'] = WhiteListRoundRobinPolicy([self.hostname])
2147
2143
  else:
2148
2144
  kwargs['scylla_cloud'] = self.cloudconf
2149
2145
 
@@ -2152,6 +2148,7 @@ class Shell(cmd.Cmd):
2152
2148
  auth_provider=auth_provider,
2153
2149
  control_connection_timeout=self.conn.connect_timeout,
2154
2150
  connect_timeout=self.conn.connect_timeout,
2151
+ execution_profiles=self.profiles,
2155
2152
  **kwargs)
2156
2153
 
2157
2154
  if self.current_keyspace:
@@ -2160,9 +2157,6 @@ class Shell(cmd.Cmd):
2160
2157
  session = conn.connect()
2161
2158
 
2162
2159
  # Copy session properties
2163
- session.default_timeout = self.session.default_timeout
2164
- session.row_factory = self.session.row_factory
2165
- session.default_consistency_level = self.session.default_consistency_level
2166
2160
  session.max_trace_wait = self.session.max_trace_wait
2167
2161
 
2168
2162
  # Update after we've connected in case we fail to authenticate
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.19'
16
- __version_tuple__ = version_tuple = (6, 0, 19)
15
+ __version__ = version = '6.0.21'
16
+ __version_tuple__ = version_tuple = (6, 0, 21)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: scylla-cqlsh
3
- Version: 6.0.19
3
+ Version: 6.0.21
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,9 +1,9 @@
1
- copyutil.cp39-win_amd64.pyd,sha256=HCvmJvAtcaIqi5aeVNmZmBrWNYUAlFnaTrZlCkK456U,1163776
1
+ copyutil.cp39-win_amd64.pyd,sha256=EAq3SseRmLZV2jsw95qdGyCBav7ODfPl4XTWjoUQsDI,1163776
2
2
  cqlsh/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
3
3
  cqlsh/__main__.py,sha256=x2NuvlSuAKwNCxiX07YoYfxog9JNAO759ZxnjBEcfus,231
4
- cqlsh/cqlsh.py,sha256=ynRbzKW4cKaLWz6Apg3JkyD7KcvtkFgqilgrt1pkCQQ,115053
4
+ cqlsh/cqlsh.py,sha256=LdOs8vhjG_oimhOXGoyHd7Ijv6I5Qt0ysWORZrU--Rk,114602
5
5
  cqlshlib/__init__.py,sha256=3M0IQCsjdCGYEOBT20swSvqxV6V8vg_mu1uJig78Vmk,3274
6
- cqlshlib/_version.py,sha256=vZTcGTjX_kaPLeuXQdqpNpU6XM8o305_WEo7PP5YEuI,429
6
+ cqlshlib/_version.py,sha256=brxR1ufbcy_t7g6J8ADd696yi3jZaiCzJFThbDZ3Sic,429
7
7
  cqlshlib/authproviderhandling.py,sha256=goFjJCO1FKuVCXU7KXlmlorx_cD_oIRlgpOeH13W--g,7254
8
8
  cqlshlib/copyutil.py,sha256=Pc4WaKg_W8IP4ZpuWEvoLOrJJGQTwRHTyOdqExfDro0,116171
9
9
  cqlshlib/cql3handling.py,sha256=NaPViE6v9K4S4ffBmmWzI3_U0Kd-HvBjKq3N6G4GLzI,60790
@@ -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.19.dist-info/LICENSE.txt,sha256=65AZdlqRQxiyMBv8nY6itMITk5jx9EkE_jHujbcDzbk,11564
22
- scylla_cqlsh-6.0.19.dist-info/METADATA,sha256=2zpyU0kRbhMV_ja-5GmXS3nypqrpHmU21pgqv5wg5Tg,2910
23
- scylla_cqlsh-6.0.19.dist-info/WHEEL,sha256=Z6c-bE0pUM47a70GvqO_SvH_XXU0lm62gEAKtoNJ08A,100
24
- scylla_cqlsh-6.0.19.dist-info/entry_points.txt,sha256=oE4unqgR3WwNkCJDGlMG1HYtCE3nEZZ4d9CIl-JSZyQ,46
25
- scylla_cqlsh-6.0.19.dist-info/top_level.txt,sha256=PVG-5w7PDG3FoAJH6Rq2I8C0y4cKa2KOW75GxjHkmQ4,24
26
- scylla_cqlsh-6.0.19.dist-info/RECORD,,
21
+ scylla_cqlsh-6.0.21.dist-info/LICENSE.txt,sha256=65AZdlqRQxiyMBv8nY6itMITk5jx9EkE_jHujbcDzbk,11564
22
+ scylla_cqlsh-6.0.21.dist-info/METADATA,sha256=ZFY2SP2ltrXaofw_ABIzC_uH-l3R_1iILkIv5KB6jSw,2910
23
+ scylla_cqlsh-6.0.21.dist-info/WHEEL,sha256=tvPrvVHgbBvhe15Ur-bXSJ7hma1hpNZgt8g99acwZLE,99
24
+ scylla_cqlsh-6.0.21.dist-info/entry_points.txt,sha256=oE4unqgR3WwNkCJDGlMG1HYtCE3nEZZ4d9CIl-JSZyQ,46
25
+ scylla_cqlsh-6.0.21.dist-info/top_level.txt,sha256=PVG-5w7PDG3FoAJH6Rq2I8C0y4cKa2KOW75GxjHkmQ4,24
26
+ scylla_cqlsh-6.0.21.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.43.0)
2
+ Generator: setuptools (70.1.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp39-cp39-win_amd64
5
5