Skip to content

Commit c0864e0

Browse files
committed
Disable MySQL-Python DBI module. Not supported in python 3.x
1 parent 3ac47da commit c0864e0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ before_install:
4646
# python -m pip makes the install go into the virtualenv
4747
- python -m pip install pandas
4848
- export PYMSSQL_BUILD_WITH_BUNDLED_FREETDS=1;python -m pip install pymssql
49-
- python -m pip install mysql-python
49+
# - python -m pip install mysql-python
5050
install: # now just our code
5151
- pip install git+https://github.com/ODM2/geoalchemy.git@odm2#egg=geoalchemy-0.7.3
5252
- pip install .

requirements_tests.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ pysqlite
88
pymssql
99
psycopg2
1010
#pyspatialite
11-
mysql-python
11+
#mysql-python
1212

1313

tests/test_SessionFactory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
['mysql"root@Localhost/', 'mysql', 'mysql+pymysql://root@localhost/'],
1313
['mysql:ODM@Localhost/odm2', 'mysql', 'mysql+pymysql://ODM:odm@localhost/odm2'],
1414
['mysql"root@Localhost/odm2', 'mysql', 'mysql+pymysql://root@localhost/odm2'],
15-
[' mysql + mysqldb:', 'mysql', 'mysql+mysqldb://root@localhost/odm2'],
15+
# [' mysql + mysqldb:', 'mysql', 'mysql+mysqldb://root@localhost/odm2'],
1616
#'mysql+pymysql://ODM:odm@127.0.0.1/odm2'
1717
['postgresql_marchantariats_none', 'postgresql', 'postgresql+psycopg2://postgres:None@localhost/marchantariats', 'marchantariats', 'postgres', None],
1818
['postgresql_marchantariats_empty', 'postgresql', 'postgresql+psycopg2://postgres@localhost/marchantariats', 'marchantariats', 'postgres', None],

0 commit comments

Comments
 (0)