https://bugzilla.redhat.com/show_bug.cgi?id=2179146
Elliott Sales de Andrade <quantum.analyst(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|unspecified |high
CC| |quantum.analyst(a)gmail.com
Doc Type|--- |If docs needed, set a value
--- Comment #13 from Elliott Sales de Andrade <quantum.analyst(a)gmail.com> ---
Pandas < 2 doesn't support SQLAlchemy 2, and 2.0.25 is now in Rawhide/F40, so
this update is ever more important to finish.
For example, using `read_sql` crashes due to API changes:
head = pd.read_sql(q, engine, **kwargs)
/usr/lib64/python3.12/site-packages/pandas/io/sql.py:590: in read_sql
return pandas_sql.read_query(
/usr/lib64/python3.12/site-packages/pandas/io/sql.py:1560: in read_query
result = self.execute(*args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pandas.io.sql.SQLDatabase object at 0x7fa2e5214fb0>
args = (<sqlalchemy.sql.selectable.Select object at 0x7fa296dabef0>,)
kwargs = {}
def execute(self, *args, **kwargs):
"""Simple passthrough to SQLAlchemy connectable"""
return self.connectable.execution_options().execute(*args,
**kwargs)
E AttributeError: 'OptionEngine' object has no attribute
'execute'
/usr/lib64/python3.12/site-packages/pandas/io/sql.py:1405: AttributeError
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2179146
Report this comment as SPAM:
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=rep...