Skip to content

Commit

Permalink
{rdbms-connect} Update mycli to 1.26.1 and pgcli to 3.4.1 (#5476)
Browse files Browse the repository at this point in the history
  • Loading branch information
alanenriqueo authored Oct 24, 2022
1 parent 94bd54a commit 32171db
Show file tree
Hide file tree
Showing 6 changed files with 240 additions and 279 deletions.
4 changes: 4 additions & 0 deletions src/rdbms-connect/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Release History
===============

1.0.4
++++++
+ Update mycli and pgcli versions

1.0.3
++++++
+ Add support to read UTF-8 files with and without BOM
Expand Down
1 change: 1 addition & 0 deletions src/rdbms-connect/azext_rdbms_connect/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ def _connect_execute_query(server_type, host, server_name, database_name, login_
else:
# set ssl param to allow for connection
connection_kwargs['ssl'] = {"fake_flag_to_enable_tls": True}
connection_kwargs['autocommit'] = True
connection = pymysql.connect(**connection_kwargs)
logger.warning('Successfully connected to %s.', server_name)
except Exception as e:
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
class RdbmsConnectMgmtScenarioTest(ScenarioTest):

postgres_location = 'eastus'
mysql_location = 'westus'
mysql_location = 'northeurope'

@AllowLargeResponse()
@ResourceGroupPreparer(location=postgres_location)
Expand Down
7 changes: 4 additions & 3 deletions src/rdbms-connect/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# TODO: Confirm this is the right version number you want and it matches your
# HISTORY.rst entry.
VERSION = '1.0.3'
VERSION = '1.0.4'

# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
Expand All @@ -34,8 +34,9 @@

DEPENDENCIES = [
'setproctitle~=1.2.2',
'mycli==1.22.2',
'pgcli==3.0.0'
'psycopg2==2.9.3',
'mycli==1.26.1',
'pgcli==3.4.1'
]

with open('README.rst', 'r', encoding='utf-8') as f:
Expand Down

0 comments on commit 32171db

Please sign in to comment.