@@ -180,11 +180,14 @@ def read_file(*path):
180
180
# compile on windows for Python 2.7 (it doesn't support the
181
181
# old Visual C) and is hard to compile for anything newer; it sometimes
182
182
# has wheels but not always, so don't suggest it.
183
+ #
184
+ # Note that mysqlclient 2.0.0 has a crashing bug:
185
+ # https://github.com/PyMySQL/mysqlclient-python/issues/435
183
186
184
187
185
188
# pylint:disable=line-too-long
186
189
'mysql:platform_python_implementation=="CPython" and (sys_platform != "win32")' : [
187
- 'mysqlclient >= 1.4' ,
190
+ 'mysqlclient >= 1.4, != 2.0.0 ' ,
188
191
],
189
192
'mysql:platform_python_implementation=="PyPy" or (sys_platform == "win32")' : [
190
193
'PyMySQL>=0.6.6' ,
@@ -236,7 +239,7 @@ def read_file(*path):
236
239
'PyMySQL >= 0.6.6; python_version == "3.6" or platform_python_implementation == "PyPy" or sys_platform == "win32"' ,
237
240
# mysqlclient (binary) on all CPythons. It's the default,
238
241
# except on old Windows. We get coverage from Travis.
239
- 'mysqlclient >= 1.4;platform_python_implementation=="CPython" and (sys_platform != "win32")' ,
242
+ 'mysqlclient >= 1.4,!=2.0.0 ;platform_python_implementation=="CPython" and (sys_platform != "win32")' ,
240
243
# mysql-connector-python on Python 3.7 for coverage on Travis and ensuring it works
241
244
# on Windows, and PyPy for testing there, since it's one of two pure-python versions.
242
245
'mysql-connector-python >= 8.0.16; python_version == "3.7" or platform_python_implementation == "PyPy"' ,
0 commit comments