Skip to content

Commit

Permalink
OD-1731: Update dependencies to modern versions (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
hlieberman authored Nov 10, 2023
1 parent bdc5d9d commit 518a32d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
34 changes: 17 additions & 17 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
PyMySQL==0.10.1
Cython==0.29.21
pyOpenSSL==19.1.0
backports.functools_lru_cache==1.3
certifi==2020.11.8
PyMySQL==1.1.0
Cython==3.0.5
pyOpenSSL==23.3.0
backports.functools_lru_cache==1.6.6
certifi==2023.7.22
charade==1.0.3
Genshi==0.7.5
Genshi==0.7.7
ipaddr==2.2.0
keyring==21.5.0
lxml==4.6.5
ndg_httpsclient==0.4.2
pyasn1==0.4.8
pytest==6.1.2
setuptools_svn==1.2
keyring==24.2.0
lxml==4.9.3
ndg_httpsclient==0.5.1
pyasn1==0.5.0
pytest==7.4.3
setuptools_svn==1.3.0
wincertstore==0.2
pyxdg==0.27
pyyaml==5.4
colorlog==4.2.1
prompt_toolkit==3.0.38
ruff==0.1.3
pyxdg==0.28
pyyaml==6.0.1
colorlog==6.7.0
prompt_toolkit==3.0.39
ruff==0.1.5
10 changes: 5 additions & 5 deletions shared_python/Sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@
class Sql(object):
def __init__(self, args, log):
self.tag_count = 0
conn = connect(args.db_host, args.db_user, args.db_password)
conn = connect(host=args.db_host, user=args.db_user, password=args.db_password)
cursor = conn.cursor()
cursor.execute(
"CREATE DATABASE IF NOT EXISTS `{0}`".format(args.temp_db_database)
)
self.log = log

self.conn = connect(
args.db_host,
args.db_user,
args.db_password,
args.temp_db_database,
host=args.db_host,
user=args.db_user,
password=args.db_password,
database=args.temp_db_database,
charset="utf8",
use_unicode=True,
autocommit=True,
Expand Down

0 comments on commit 518a32d

Please sign in to comment.