From a1b7bddef11ef6efeb4f6cab805d13d947a11b1d Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Wed, 11 Jan 2023 13:36:11 -0800 Subject: [PATCH 1/2] DOC: Add note in 1.5.3 about SQLAlchemy warnings --- doc/source/whatsnew/v1.5.3.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/source/whatsnew/v1.5.3.rst b/doc/source/whatsnew/v1.5.3.rst index 0cb8796e3fb5d..82e00672cfc03 100644 --- a/doc/source/whatsnew/v1.5.3.rst +++ b/doc/source/whatsnew/v1.5.3.rst @@ -37,6 +37,12 @@ Bug fixes Other ~~~~~ + +.. note:: + + If you are using :meth:`DataFrame.to_sql`, :func:`read_sql`, :func:`read_sql_table`, or :func:`read_sql_query` with SQLAlchemy 1.4.6 or greater, + you may see a ``sqlalchemy.exc.RemovedIn20Warning``. These warnings can be safely ignored as pandas works toward compatibility with SQLAlchemy 2.0. + - Reverted deprecation (:issue:`45324`) of behavior of :meth:`Series.__getitem__` and :meth:`Series.__setitem__` slicing with an integer :class:`Index`; this will remain positional (:issue:`49612`) - From 326b59df1fe3f658942fc2f7a62e8650b0d8ac08 Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Wed, 11 Jan 2023 16:12:01 -0800 Subject: [PATCH 2/2] adjust phrasings and typo --- doc/source/whatsnew/v1.5.3.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/source/whatsnew/v1.5.3.rst b/doc/source/whatsnew/v1.5.3.rst index 82e00672cfc03..2141f672462ef 100644 --- a/doc/source/whatsnew/v1.5.3.rst +++ b/doc/source/whatsnew/v1.5.3.rst @@ -40,8 +40,9 @@ Other .. note:: - If you are using :meth:`DataFrame.to_sql`, :func:`read_sql`, :func:`read_sql_table`, or :func:`read_sql_query` with SQLAlchemy 1.4.6 or greater, - you may see a ``sqlalchemy.exc.RemovedIn20Warning``. These warnings can be safely ignored as pandas works toward compatibility with SQLAlchemy 2.0. + If you are using :meth:`DataFrame.to_sql`, :func:`read_sql`, :func:`read_sql_table`, or :func:`read_sql_query` with SQLAlchemy 1.4.46 or greater, + you may see a ``sqlalchemy.exc.RemovedIn20Warning``. These warnings can be safely ignored for the SQLAlchemy 1.4.x releases + as pandas works toward compatibility with SQLAlchemy 2.0. - Reverted deprecation (:issue:`45324`) of behavior of :meth:`Series.__getitem__` and :meth:`Series.__setitem__` slicing with an integer :class:`Index`; this will remain positional (:issue:`49612`) -