Skip to content

Commit

Permalink
Replace MySQL-python with mysqlclient.
Browse files Browse the repository at this point in the history
MySQL-python does not work on Python 3.
On the Python Wall of Superpowers ( https://python3wos.appspot.com/ ),
mysqlclient is listed as the Python 3 alternative to MySQL-python.
  • Loading branch information
rodrigc authored and tardyp committed Jan 23, 2017
1 parent ebec4ed commit 2b99b30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .bbtravis.yml
Expand Up @@ -80,7 +80,7 @@ matrix:
install:
- pip install -U pip
# codecov is the interface to codecov.io; see after_success
# Install MySQL-python for tests that uses real MySQL
# Install mysqlclient for tests that uses real MySQL
# Install psycopg2 and pg8000 for tests that uses real PostgreSQL
- |
# pip installs
Expand All @@ -91,7 +91,7 @@ install:
pip install -e pkg \
-e 'master[tls,test]' \
-e 'worker[test]' \
MySQL-python \
mysqlclient \
psycopg2 \
pg8000 \
codecov
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -76,14 +76,14 @@ install:
- "[ $TWISTED = latest ] || pip install Twisted==$TWISTED"
- "[ $SQLALCHEMY = latest ] || pip install sqlalchemy==$SQLALCHEMY"

# Install MySQL-python for tests that uses real MySQL
# Install mysqlclient for tests that uses real MySQL
# Install psycopg2 and pg8000 for tests that uses real PostgreSQL
- |
[ $TESTS != trial -a $TESTS != coverage -a $TESTS != lint -a $TESTS != js ] || \
pip install -e pkg \
-e 'master[tls,test]' \
-e 'worker[test]' \
MySQL-python \
mysqlclient \
psycopg2 \
pg8000 \
Expand Down

0 comments on commit 2b99b30

Please sign in to comment.