15
0

- Update to 1.1.1 (bsc#1225070):

* Prohibit dict parameter for Cursor.execute(). It didn't produce
    valid SQL and might cause SQL injection. (CVE-2024-36039)
  * Added ssl_key_password param by @svaskov in #1145

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMySQL?expand=0&rev=40
This commit is contained in:
2024-05-23 11:40:03 +00:00
committed by Git OBS Bridge
parent b10c45db26
commit 3b045ca817
4 changed files with 14 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-PyMySQL
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,7 @@
%{?sle15_python_module_pythons}
Name: python-PyMySQL
Version: 1.1.0
Version: 1.1.1
Release: 0
Summary: Pure Python MySQL Driver
License: MIT
@@ -77,7 +77,7 @@ dbuserpw='db_user_secret'
dbname1='test1'
dbname2='test2'
# Needs mysql server
#%%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
#%%python_expand PYTHONPATH=%%{buildroot}%%{$python_sitelib} py.test-%%{$python_bin_suffix} -v
cconf=abuild-myclient.cnf
#
# start the mariadb server