From 95354e9c5e3444c3c17806004c39a188cf347c7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Swe=C3=B1a=20=28Swast=29?= Date: Mon, 7 Jul 2025 12:08:22 -0500 Subject: [PATCH 01/16] deps: drop support for Python 3.7 and 3.8 --- README.rst | 4 ++-- owlbot.py | 6 ++---- setup.py | 7 +++---- testing/constraints-3.7.txt | 17 ----------------- testing/constraints-3.8.txt | 8 -------- testing/constraints-3.9.txt | 23 ++++++++++++++++------- 6 files changed, 23 insertions(+), 42 deletions(-) delete mode 100644 testing/constraints-3.7.txt delete mode 100644 testing/constraints-3.8.txt diff --git a/README.rst b/README.rst index 33738d7..8eba9fe 100644 --- a/README.rst +++ b/README.rst @@ -52,11 +52,11 @@ dependencies. Supported Python Versions ^^^^^^^^^^^^^^^^^^^^^^^^^ -Python >= 3.7 +Python >= 3.9 Unsupported Python Versions ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -Python == 3.5, Python == 3.6. +Python <= 3.8. Mac/Linux diff --git a/owlbot.py b/owlbot.py index 904bd9f..d84fd13 100644 --- a/owlbot.py +++ b/owlbot.py @@ -32,8 +32,6 @@ extras_bf = ["bqstorage", "bigframes", "geopandas"] extras_spanner = ["spanner-graph-notebook"] extras_by_python = { - "3.7": extras_storage, - "3.8": extras_storage, "3.9": extras_bf, "3.10": extras_bf, # Use a middle version of Python to test when no extras are installed. @@ -42,8 +40,8 @@ "3.13": extras_bf, } templated_files = common.py_library( - unit_test_python_versions=["3.7", "3.8", "3.9", "3.11", "3.12", "3.13"], - system_test_python_versions=["3.8", "3.11", "3.12", "3.13"], + unit_test_python_versions=["3.9", "3.11", "3.12", "3.13"], + system_test_python_versions=["3.9", "3.11", "3.12", "3.13"], cov_level=100, unit_test_extras_by_python=extras_by_python, unit_test_external_dependencies=["google-cloud-testutils"], diff --git a/setup.py b/setup.py index e71803b..054a421 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ "ipython>=7.23.1", "ipykernel>=5.5.6", "packaging >= 20.0.0", - "pandas>=1.1.0", + "pandas>=1.2.0", "pyarrow >= 3.0.0", "pydata-google-auth >=1.5.0", "tqdm >= 4.7.4, <5.0.0", @@ -105,12 +105,11 @@ "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Operating System :: OS Independent", "Topic :: Internet", ], @@ -118,7 +117,7 @@ packages=packages, install_requires=dependencies, extras_require=extras, - python_requires=">=3.7", + python_requires=">=3.9", include_package_data=True, zip_safe=False, ) diff --git a/testing/constraints-3.7.txt b/testing/constraints-3.7.txt deleted file mode 100644 index 6b9ce5b..0000000 --- a/testing/constraints-3.7.txt +++ /dev/null @@ -1,17 +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==0.3.0 -google-cloud-bigquery==3.13.0 -google-cloud-bigquery-storage==2.6.0 -ipywidgets==7.7.1 -ipython==7.23.1 -ipykernel==5.5.6 -pandas==1.1.0 -pyarrow==3.0.0 -pydata-google-auth==1.5.0 -tqdm==4.7.4 \ No newline at end of file diff --git a/testing/constraints-3.8.txt b/testing/constraints-3.8.txt deleted file mode 100644 index a47a67b..0000000 --- a/testing/constraints-3.8.txt +++ /dev/null @@ -1,8 +0,0 @@ -# IMPORTANT: When Python 3.7 support is dropped, update these to -# match the minimums in setup.py. -# -# We try to test across major versions of our dependencies. -# This is the last ipython 7.x release -ipython==7.34.0 -# This is the last pandas 1.5.x release. -pandas==1.5.3 diff --git a/testing/constraints-3.9.txt b/testing/constraints-3.9.txt index 4e56081..d85a47c 100644 --- a/testing/constraints-3.9.txt +++ b/testing/constraints-3.9.txt @@ -1,8 +1,17 @@ -# IMPORTANT: When Python 3.8 support is dropped, update these to -# match the minimums in setup.py. +# 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. # -# We try to test across major versions of our dependencies. -# This is the last pandas 2.0.x release. -pandas==2.0.3 -bigframes==1.17.0 -geopandas==1.0.1 +# e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev", +# Then this file should have foo==1.14.0 +db-dtypes==0.3.0 +google-cloud-bigquery==3.13.0 +google-cloud-bigquery-storage==2.6.0 +ipywidgets==7.7.1 +ipython==7.23.1 +ipykernel==5.5.6 +pandas==1.2.0 +pyarrow==3.0.0 +pydata-google-auth==1.5.0 +tqdm==4.7.4 \ No newline at end of file From 191cb3d8f7a34d6d91a135030c5b3d8b2ded5f76 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 7 Jul 2025 17:10:43 +0000 Subject: [PATCH 02/16] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- CONTRIBUTING.rst | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 3c76c2f..40bdd5d 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -22,7 +22,7 @@ In order to add a feature: documentation. - The feature must work fully on the following CPython versions: - 3.7, 3.8, 3.9, 3.11, 3.12 and 3.13 on both UNIX and Windows. + 3.9, 3.11, 3.12 and 3.13 on both UNIX and Windows. - The feature must not add unnecessary dependencies (where "unnecessary" is of course subjective, but new dependencies should @@ -148,7 +148,7 @@ Running System Tests .. note:: - System tests are only configured to run under Python 3.8, 3.11, 3.12 and 3.13. + System tests are only configured to run under Python 3.9, 3.11, 3.12 and 3.13. For expediency, we do not run them in older versions of Python 3. This alone will not run the tests. You'll need to change some local @@ -221,15 +221,11 @@ Supported Python Versions We support: -- `Python 3.7`_ -- `Python 3.8`_ - `Python 3.9`_ - `Python 3.11`_ - `Python 3.12`_ - `Python 3.13`_ -.. _Python 3.7: https://docs.python.org/3.7/ -.. _Python 3.8: https://docs.python.org/3.8/ .. _Python 3.9: https://docs.python.org/3.9/ .. _Python 3.11: https://docs.python.org/3.11/ .. _Python 3.12: https://docs.python.org/3.12/ @@ -241,7 +237,7 @@ Supported versions can be found in our ``noxfile.py`` `config`_. .. _config: https://github.com/googleapis/python-bigquery-magics/blob/main/noxfile.py -We also explicitly decided to support Python 3 beginning with version 3.7. +We also explicitly decided to support Python 3 beginning with version 3.9. Reasons for this include: - Encouraging use of newest versions of Python 3 From 5cc9df384b7a811d6af674ae36d01501d28d2b7f Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 7 Jul 2025 17:11:11 +0000 Subject: [PATCH 03/16] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- CONTRIBUTING.rst | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 3c76c2f..40bdd5d 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -22,7 +22,7 @@ In order to add a feature: documentation. - The feature must work fully on the following CPython versions: - 3.7, 3.8, 3.9, 3.11, 3.12 and 3.13 on both UNIX and Windows. + 3.9, 3.11, 3.12 and 3.13 on both UNIX and Windows. - The feature must not add unnecessary dependencies (where "unnecessary" is of course subjective, but new dependencies should @@ -148,7 +148,7 @@ Running System Tests .. note:: - System tests are only configured to run under Python 3.8, 3.11, 3.12 and 3.13. + System tests are only configured to run under Python 3.9, 3.11, 3.12 and 3.13. For expediency, we do not run them in older versions of Python 3. This alone will not run the tests. You'll need to change some local @@ -221,15 +221,11 @@ Supported Python Versions We support: -- `Python 3.7`_ -- `Python 3.8`_ - `Python 3.9`_ - `Python 3.11`_ - `Python 3.12`_ - `Python 3.13`_ -.. _Python 3.7: https://docs.python.org/3.7/ -.. _Python 3.8: https://docs.python.org/3.8/ .. _Python 3.9: https://docs.python.org/3.9/ .. _Python 3.11: https://docs.python.org/3.11/ .. _Python 3.12: https://docs.python.org/3.12/ @@ -241,7 +237,7 @@ Supported versions can be found in our ``noxfile.py`` `config`_. .. _config: https://github.com/googleapis/python-bigquery-magics/blob/main/noxfile.py -We also explicitly decided to support Python 3 beginning with version 3.7. +We also explicitly decided to support Python 3 beginning with version 3.9. Reasons for this include: - Encouraging use of newest versions of Python 3 From 66f6c1b944293082ca391b223319694ead119d64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Swe=C3=B1a=20=28Swast=29?= Date: Mon, 7 Jul 2025 12:19:03 -0500 Subject: [PATCH 04/16] update owlbot lock --- .github/.OwlBot.lock.yaml | 2 +- .github/sync-repo-settings.yaml | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index c631e1f..0eec6ed 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest - digest: sha256:5581906b957284864632cde4e9c51d1cc66b0094990b27e689132fe5cd036046 + digest: sha256:4db568eb8ccb6b40f355a1c971876c072b3b160ebade5d913bd29e7976ff7191 # created: 2025-03-05 diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index a595182..53c7479 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -10,17 +10,16 @@ branchProtectionRules: - 'cla/google' - 'OwlBot Post Processor' - 'lint' - - 'Kokoro system-3.8' + - 'Kokoro system-3.9' - 'Kokoro system-3.11 (noextras)' - 'Kokoro system-3.13' - 'docs' - - 'unit (3.7)' - - 'unit (3.8)' + - 'unit (3.9)' - 'unit (3.12)' - 'unit (3.13)' - 'cover' - 'Samples - Lint' - - 'Samples - Python 3.8' + - 'Samples - Python 3.9' - 'Samples - Python 3.11' - 'Samples - Python 3.12' permissionRules: From 4128ad3e902cb39ea1b28eca5d54bbe186e4e358 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Swe=C3=B1a=20=28Swast=29?= Date: Mon, 7 Jul 2025 12:31:30 -0500 Subject: [PATCH 05/16] manuallly update github workflows --- .github/workflows/lint.yml | 2 +- .github/workflows/unittest.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4866193..1051da0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,7 +12,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: "3.8" + python-version: "3.10" - name: Install nox run: | python -m pip install --upgrade setuptools pip wheel diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index 9cf9f41..f774829 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - python: ['3.7', '3.8', '3.11', '3.12', '3.13'] + python: [ '3.9', '3.11', '3.12', '3.13'] steps: - name: Checkout uses: actions/checkout@v4 @@ -45,7 +45,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: "3.8" + python-version: "3.10" - name: Install coverage run: | python -m pip install --upgrade setuptools pip wheel From 6570b85c293805956a9e0fb797ac10e89bd8e8b2 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 7 Jul 2025 17:33:37 +0000 Subject: [PATCH 06/16] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1051da0..4866193 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,7 +12,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.8" - name: Install nox run: | python -m pip install --upgrade setuptools pip wheel From f31c6bb540dbecf96c3f914dc2d67c74f6b85af8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Swe=C3=B1a=20=28Swast=29?= Date: Mon, 7 Jul 2025 12:38:58 -0500 Subject: [PATCH 07/16] include unit test in owlbot templates --- owlbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owlbot.py b/owlbot.py index d84fd13..bdb0b91 100644 --- a/owlbot.py +++ b/owlbot.py @@ -50,6 +50,7 @@ "pandas": "https://pandas.pydata.org/pandas-docs/stable/", "pydata-google-auth": "https://pydata-google-auth.readthedocs.io/en/latest/", }, + default_python="3.10", ) s.move( templated_files, @@ -59,7 +60,6 @@ "docs/multiprocessing.rst", "noxfile.py", "README.rst", - ".github/workflows/unittest.yml", ], ) From 4ad8c37f53e0cd0d617c464b1e6238c5589d86ab Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 7 Jul 2025 17:40:51 +0000 Subject: [PATCH 08/16] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .github/workflows/unittest.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index f774829..420d1be 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - python: [ '3.9', '3.11', '3.12', '3.13'] + python: ['3.9', '3.11', '3.12', '3.13'] steps: - name: Checkout uses: actions/checkout@v4 @@ -45,7 +45,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.8" - name: Install coverage run: | python -m pip install --upgrade setuptools pip wheel From 180504c20229a50c1dab2a5f85071b614a2fd1a8 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 7 Jul 2025 17:42:24 +0000 Subject: [PATCH 09/16] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .github/workflows/unittest.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index f774829..420d1be 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - python: [ '3.9', '3.11', '3.12', '3.13'] + python: ['3.9', '3.11', '3.12', '3.13'] steps: - name: Checkout uses: actions/checkout@v4 @@ -45,7 +45,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.8" - name: Install coverage run: | python -m pip install --upgrade setuptools pip wheel From 7717c91d505110572bf1af1b6fdf39e82291fda5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Swe=C3=B1a=20=28Swast=29?= Date: Mon, 7 Jul 2025 12:45:36 -0500 Subject: [PATCH 10/16] Update owlbot.py --- owlbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owlbot.py b/owlbot.py index bdb0b91..a4bedf5 100644 --- a/owlbot.py +++ b/owlbot.py @@ -50,7 +50,7 @@ "pandas": "https://pandas.pydata.org/pandas-docs/stable/", "pydata-google-auth": "https://pydata-google-auth.readthedocs.io/en/latest/", }, - default_python="3.10", + default_python_version="3.10", ) s.move( templated_files, From c8f4846650e63717cab284e581ffac8e125ef4b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Swe=C3=B1a=20=28Swast=29?= Date: Mon, 7 Jul 2025 12:47:38 -0500 Subject: [PATCH 11/16] exclude bigframes from 3.9 tests of min verions --- owlbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owlbot.py b/owlbot.py index a4bedf5..54aa282 100644 --- a/owlbot.py +++ b/owlbot.py @@ -32,7 +32,7 @@ extras_bf = ["bqstorage", "bigframes", "geopandas"] extras_spanner = ["spanner-graph-notebook"] extras_by_python = { - "3.9": extras_bf, + "3.9": extras_storage, "3.10": extras_bf, # Use a middle version of Python to test when no extras are installed. "3.11": [], From 91989be4568555d1e7ec7c14c8f5cee60c9497d9 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 7 Jul 2025 17:47:42 +0000 Subject: [PATCH 12/16] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .github/workflows/lint.yml | 2 +- .github/workflows/unittest.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4866193..1051da0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,7 +12,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: "3.8" + python-version: "3.10" - name: Install nox run: | python -m pip install --upgrade setuptools pip wheel diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index 420d1be..2ff94d3 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -45,7 +45,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: "3.8" + python-version: "3.10" - name: Install coverage run: | python -m pip install --upgrade setuptools pip wheel From ca103e954cff1cceb17480d17d31378aeda78ace Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Swe=C3=B1a=20=28Swast=29?= Date: Mon, 7 Jul 2025 13:23:30 -0500 Subject: [PATCH 13/16] manually sync noxfile changes --- noxfile.py | 23 ++++------------------- testing/constraints-3.10.txt | 4 ++++ 2 files changed, 8 insertions(+), 19 deletions(-) diff --git a/noxfile.py b/noxfile.py index 73e96d5..9a60042 100644 --- a/noxfile.py +++ b/noxfile.py @@ -32,9 +32,9 @@ ISORT_VERSION = "isort==5.11.0" LINT_PATHS = ["docs", "bigquery_magics", "tests", "noxfile.py", "setup.py"] -DEFAULT_PYTHON_VERSION = "3.8" +DEFAULT_PYTHON_VERSION = "3.10" -UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.7", "3.8", "3.9", "3.11", "3.12", "3.13"] +UNIT_TEST_PYTHON_VERSIONS: List[str] = ["3.9", "3.11", "3.12", "3.13"] UNIT_TEST_STANDARD_DEPENDENCIES = [ "mock", "asyncmock", @@ -49,16 +49,9 @@ UNIT_TEST_DEPENDENCIES: List[str] = [] UNIT_TEST_EXTRAS: List[str] = [] UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = { - "3.7": [ - "bqstorage", - ], - "3.8": [ - "bqstorage", - ], + "3.9": [ "bqstorage", - "bigframes", - "geopandas", ], "3.10": [ "bqstorage", @@ -77,7 +70,7 @@ ], } -SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8", "3.11", "3.12", "3.13"] +SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.9", "3.11", "3.12", "3.13"] SYSTEM_TEST_STANDARD_DEPENDENCIES: List[str] = [ "mock", "pytest", @@ -88,16 +81,8 @@ SYSTEM_TEST_DEPENDENCIES: List[str] = [] SYSTEM_TEST_EXTRAS: List[str] = [] SYSTEM_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = { - "3.7": [ - "bqstorage", - ], - "3.8": [ - "bqstorage", - ], "3.9": [ "bqstorage", - "bigframes", - "geopandas", ], "3.10": [ "bqstorage", diff --git a/testing/constraints-3.10.txt b/testing/constraints-3.10.txt index 0f21d63..2424012 100644 --- a/testing/constraints-3.10.txt +++ b/testing/constraints-3.10.txt @@ -1,2 +1,6 @@ # IMPORTANT: When Python 3.9 support is dropped, update these to # match the minimums in setup.py. +# This is the last pandas 2.0.x release. +pandas==2.0.3 +bigframes==1.17.0 +geopandas==1.0.1 \ No newline at end of file From 4316930a07586b4f1f92f93073c3f3262038a31c Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 7 Jul 2025 18:25:26 +0000 Subject: [PATCH 14/16] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- noxfile.py | 1 - 1 file changed, 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 9a60042..d5497b1 100644 --- a/noxfile.py +++ b/noxfile.py @@ -49,7 +49,6 @@ UNIT_TEST_DEPENDENCIES: List[str] = [] UNIT_TEST_EXTRAS: List[str] = [] UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = { - "3.9": [ "bqstorage", ], From d8383ae896503b4f1273247b1220c3b03ba13a6c Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 7 Jul 2025 18:27:08 +0000 Subject: [PATCH 15/16] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20?= =?UTF-8?q?post-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- noxfile.py | 1 - 1 file changed, 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 9a60042..d5497b1 100644 --- a/noxfile.py +++ b/noxfile.py @@ -49,7 +49,6 @@ UNIT_TEST_DEPENDENCIES: List[str] = [] UNIT_TEST_EXTRAS: List[str] = [] UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = { - "3.9": [ "bqstorage", ], From 2d93db08e13964dccc17b05ef6e09607930415e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Swe=C3=B1a=20=28Swast=29?= Date: Mon, 7 Jul 2025 13:55:49 -0500 Subject: [PATCH 16/16] fix prerelease --- noxfile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index d5497b1..133f37f 100644 --- a/noxfile.py +++ b/noxfile.py @@ -479,7 +479,8 @@ def prerelease_deps(session, protobuf_implementation): session.install( "--pre", "--upgrade", - "https://github.com/cloudspannerecosystem/spanner-graph-notebook/archive/refs/heads/main.zip", + # TODO(https://github.com/googleapis/python-bigquery-magics/pull/126): Install this again when we relax the pin. + # "https://github.com/cloudspannerecosystem/spanner-graph-notebook/archive/refs/heads/main.zip", "https://github.com/googleapis/python-bigquery/archive/main.zip", "https://github.com/googleapis/python-bigquery-storage/archive/main.zip", )