diff --git a/pyproject.toml b/pyproject.toml index e54a645b9eb06..abe52e39b6dca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -71,7 +71,8 @@ dependencies = [ "packaging", # -------------------------- # pandas and related (wanting pandas[performance] without numba as it's 100+MB and not needed) - "pandas[excel]>=2.0.3, <3", + # upper bounding at 2.2 as df.to_sql changes sqlalchemy type compatibility + "pandas[excel]>=2.0.3, <2.2", "bottleneck", # -------------------------- "parsedatetime", diff --git a/requirements/base.txt b/requirements/base.txt index 5d5db6ea24b84..6a245dd79d1be 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -241,9 +241,8 @@ packaging==24.2 # limits # marshmallow # marshmallow-sqlalchemy - # python-calamine # shillelagh -pandas==2.2.3 +pandas==2.1.4 # via apache-superset (pyproject.toml) paramiko==3.5.0 # via @@ -286,8 +285,6 @@ pyopenssl==24.2.1 # via shillelagh pyparsing==3.2.0 # via apache-superset (pyproject.toml) -python-calamine==0.3.1 - # via pandas python-dateutil==2.9.0.post0 # via # apache-superset (pyproject.toml) diff --git a/requirements/development.txt b/requirements/development.txt index 8996751ca2bf0..fb60bedf8ed1d 100644 --- a/requirements/development.txt +++ b/requirements/development.txt @@ -492,10 +492,9 @@ packaging==24.2 # marshmallow-sqlalchemy # matplotlib # pytest - # python-calamine # shillelagh # sqlalchemy-bigquery -pandas==2.2.3 +pandas==2.1.4 # via # -c requirements/base.txt # apache-superset @@ -633,10 +632,6 @@ pytest-cov==6.0.0 # via apache-superset pytest-mock==3.10.0 # via apache-superset -python-calamine==0.3.1 - # via - # -c requirements/base.txt - # pandas python-dateutil==2.9.0.post0 # via # -c requirements/base.txt