Change MySqlDB to pymysql
MySQL-python has GPL2 license. Apache license is not compatible with it. We propose to replace it with pymysql which has MIT license. Change-Id: I8d758f5e4908c1047dc4167ebd28cad24fff3a28
This commit is contained in:
parent
0e844a6135
commit
7a6aa181b9
@ -13,8 +13,8 @@
|
||||
# under the License.
|
||||
import logging
|
||||
|
||||
import MySQLdb as mdb
|
||||
from oslo_config import cfg
|
||||
import pymysql as mdb
|
||||
|
||||
from monasca_common.repositories import exceptions
|
||||
|
||||
|
@ -2,6 +2,6 @@ iso8601
|
||||
six>=1.7.0
|
||||
kazoo>=2.0
|
||||
kafka-python>=0.9.1,<0.9.3
|
||||
MySQL-python>=1.2.3
|
||||
PyMySQL>=0.6.7
|
||||
oslo.config<2.5.0
|
||||
pbr>=0.11,<2.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user