-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: Do not error on other dbapi2 connections #45679
BUG: Do not error on other dbapi2 connections #45679
Conversation
12e381f
to
7c0a246
Compare
cc @fangchenli |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@abowden1989 can you add a whatsnew note in 1.4.1 describing this change
9eda931
to
89c4371
Compare
114ff4d
to
0fa71e1
Compare
…quiring SQLAlchemy Co-authored-by: Daniel O'Brien <daniel.o'brien@genomicsplc.com> Co-authored-by: Joshua C. Randall <jcrandall@alum.mit.edu>
@jreback a regression note has been added to the whatsnew for 1.4.1 |
thanks @abowden1989 |
@meeseeksdev backport 1.4.x |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@abowden1989 if you can follow the instructions above and push a backport PR would be great. |
Thanks @abowden1989 for the PR. backport done in #45754 |
…5754) Co-authored-by: Adam Bowden <23028875+abowden1989@users.noreply.github.com>
Thanks for taking care of this @simonjayhawkins , I wasn't available the past few days so didn't have chance |
Do not throw an error in
pandasSQL_builder
when the connection is a dbapi2 connection that is notsqlite3
andsqlalchemy
is not installed. Also restores the behaviour prior to #42546 when the connection is a string butsqlalchemy
is not installed.This partially addresses #45660 (it removes the requirement for
sqlalchemy
to be installed to use another connection object, however it does not remove the warning that such behaviour is unsupported).Prior to #42546, other dbapi2 objects would work regardless of whether
sqlalchemy
was installed, without a warning - after this PR, they were not supported. Support was re-added (with a warning) in #45496 , but with an unnecessary requirement onsqlalchemy