From 8bd2194010a0079f9413f591be5ec7ab626b1fc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Swe=C3=B1a=20=28Swast=29?= Date: Mon, 30 Mar 2026 11:17:55 -0500 Subject: [PATCH] deps(pandas-gbq): drop Python 3.9 --- packages/pandas-gbq/setup.py | 11 ++++----- .../pandas-gbq/testing/constraints-3.10.txt | 23 +++++++++++++++++++ .../pandas-gbq/testing/constraints-3.9.txt | 23 ------------------- 3 files changed, 28 insertions(+), 29 deletions(-) delete mode 100644 packages/pandas-gbq/testing/constraints-3.9.txt diff --git a/packages/pandas-gbq/setup.py b/packages/pandas-gbq/setup.py index 28dc0b7aa6e4..36230bd8afb0 100644 --- a/packages/pandas-gbq/setup.py +++ b/packages/pandas-gbq/setup.py @@ -23,9 +23,9 @@ dependencies = [ "setuptools", "db-dtypes >=1.0.4,<2.0.0", - "numpy >=1.18.1", - "pandas >=1.1.4", - "pyarrow >= 4.0.0", + "numpy >=1.26.4", + "pandas >=1.5.3", + "pyarrow >= 12.0.0", # See https://arrow.apache.org/release/22.0.0.html "pyarrow >= 22.0.0; python_version >= '3.14'", "pydata-google-auth >=1.5.0", @@ -46,7 +46,7 @@ "google-cloud-bigquery-storage >=2.16.2, <3.0.0", ], "tqdm": ["tqdm>=4.23.0"], - "geopandas": ["geopandas>=0.9.0", "Shapely>=1.8.4"], + "geopandas": ["geopandas>=0.14.4", "Shapely>=1.8.5"], } # Setup boilerplate below this line. @@ -88,7 +88,6 @@ "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", @@ -102,7 +101,7 @@ packages=packages, install_requires=dependencies, extras_require=extras, - python_requires=">=3.9", + python_requires=">=3.10", include_package_data=True, zip_safe=False, ) diff --git a/packages/pandas-gbq/testing/constraints-3.10.txt b/packages/pandas-gbq/testing/constraints-3.10.txt index e69de29bb2d1..6c41ddbbb426 100644 --- a/packages/pandas-gbq/testing/constraints-3.10.txt +++ b/packages/pandas-gbq/testing/constraints-3.10.txt @@ -0,0 +1,23 @@ +# This constraints file is used to check that lower bounds +# are correct in setup.py +# List *all* library dependencies and extras in this file. +# Pin the version to the lower bound. +# +# e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev", +# Then this file should have foo==1.14.0 +db-dtypes==1.0.4 +numpy==1.26.4 +pandas==1.5.3 +psutil==5.9.8 +pyarrow==12.0.0 +pydata-google-auth==1.5.0 +google-api-core==2.15.0 +google-auth==2.14.1 +google-auth-oauthlib==0.7.0 +google-cloud-bigquery==3.20.0 +packaging==22.0.0 +# Extras +google-cloud-bigquery-storage==2.16.2 +tqdm==4.23.0 +geopandas==0.14.4 +Shapely==1.8.5 diff --git a/packages/pandas-gbq/testing/constraints-3.9.txt b/packages/pandas-gbq/testing/constraints-3.9.txt deleted file mode 100644 index aff46b2823db..000000000000 --- a/packages/pandas-gbq/testing/constraints-3.9.txt +++ /dev/null @@ -1,23 +0,0 @@ -# This constraints file is used to check that lower bounds -# are correct in setup.py -# List *all* library dependencies and extras in this file. -# Pin the version to the lower bound. -# -# e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev", -# Then this file should have foo==1.14.0 -db-dtypes==1.0.4 -numpy==1.19.4 -pandas==1.1.4 -psutil==5.9.8 -pyarrow==4.0.0 -pydata-google-auth==1.5.0 -google-api-core==2.15.0 -google-auth==2.14.1 -google-auth-oauthlib==0.7.0 -google-cloud-bigquery==3.20.0 -packaging==22.0.0 -# Extras -google-cloud-bigquery-storage==2.16.2 -tqdm==4.23.0 -geopandas==0.9.0 -Shapely==1.8.4