jenkins-bot merged this change.
mysql: remove traces of 'oursql' dependency
72f072f0c removed code relying on importing 'oursql' in favor of the
pure python module PyMySql.
Stop adding 'oursql' to setuptools extra_requires['MySQL'].
Bug: T89976
Bug: T142021
Change-Id: Ic85174ef4aaf9272b71e469afa6781597c698ca6
---
M setup.py
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/setup.py b/setup.py
index 0e41237..ce1b87e 100644
--- a/setup.py
+++ b/setup.py
@@ -73,7 +73,6 @@
# Additional core library dependencies which are only available on Python 2
extra_deps.update({
'csv': ['unicodecsv'],
- 'MySQL': ['oursql'],
})
script_deps = {
@@ -153,8 +152,6 @@
# so all scripts can be compiled for script_tests, etc.
if 'PYSETUP_TEST_EXTRAS' in os.environ:
test_deps += [i for k, v in extra_deps.items() if k != 'flake8' for i in v]
- if 'oursql' in test_deps and os.name == 'nt':
- test_deps.remove('oursql') # depends on Cython
if 'requests[security]' in test_deps:
# Bug T105767 on Python 2.7 release 9+
To view, visit change 495739. To unsubscribe, or for help writing mail filters, visit settings.