From 7327f6bb16cfcf0b7ddf12f5403c81aa3757211e Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Wed, 27 May 2015 12:45:06 +0100 Subject: [PATCH] support both sqlalchemy engines and connections Fixes #7877 update pymysql to 0.6.3 to avoid cursor bugs Add documentation and tests for SQLAlchemy connectables explicit reference to connection/engine in docs Temporary table test pass compile the connectable --- ci/requirements-2.7.txt | 2 +- doc/source/io.rst | 9 ++- doc/source/whatsnew/v0.17.0.txt | 1 + pandas/io/sql.py | 83 +++++++++++-------- pandas/io/tests/test_sql.py | 138 ++++++++++++++++++++++++++++---- 5 files changed, 180 insertions(+), 53 deletions(-) diff --git a/ci/requirements-2.7.txt b/ci/requirements-2.7.txt index 0d515f300f5a7..951c8798bef15 100644 --- a/ci/requirements-2.7.txt +++ b/ci/requirements-2.7.txt @@ -17,7 +17,7 @@ boto=2.36.0 bottleneck=0.8.0 psycopg2=2.5.2 patsy -pymysql=0.6.1 +pymysql=0.6.3 html5lib=1.0b2 beautiful-soup=4.2.1 httplib2=0.8 diff --git a/doc/source/io.rst b/doc/source/io.rst index 185deb4b9cae8..7a4318fb02cfc 100644 --- a/doc/source/io.rst +++ b/doc/source/io.rst @@ -3555,9 +3555,16 @@ below and the SQLAlchemy `documentation ` and :ref:`deprecations