From 91301bfd3b0d2e57230539d2c4bc1004f0515961 Mon Sep 17 00:00:00 2001 From: chalmer lowe Date: Wed, 6 May 2026 11:28:06 -0400 Subject: [PATCH 1/3] feat(bigframes): update Nox sessions to remove old versions --- packages/bigframes/noxfile.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/bigframes/noxfile.py b/packages/bigframes/noxfile.py index 788471e0587d..5dba688d3c4a 100644 --- a/packages/bigframes/noxfile.py +++ b/packages/bigframes/noxfile.py @@ -60,7 +60,7 @@ DEFAULT_PYTHON_VERSION = "3.14" -ALL_PYTHON = ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] +ALL_PYTHON = ["3.10", "3.11", "3.12", "3.13", "3.14"] UNIT_TEST_STANDARD_DEPENDENCIES = [ "mock", PYTEST_VERSION, @@ -274,8 +274,6 @@ def run_unit(session, install_test_extra): @nox.session(python=ALL_PYTHON) @nox.parametrize("test_extra", [True, False]) def unit(session, test_extra): - if session.python in ("3.7", "3.8", "3.9"): - session.skip("Python 3.9 and below are not supported") if test_extra: run_unit(session, install_test_extra=test_extra) else: @@ -378,9 +376,6 @@ def run_system( @nox.session(python="3.12") def system(session: nox.sessions.Session): """Run the system test suite.""" - if session.python in ("3.7", "3.8", "3.9"): - session.skip("Python 3.9 and below are not supported") - run_system( session=session, prefix_name="system", From 54d6ca3653823179b4f3a4fe69cb7865b2f1b264 Mon Sep 17 00:00:00 2001 From: chalmer lowe Date: Wed, 6 May 2026 11:28:09 -0400 Subject: [PATCH 2/3] docs(bigframes): update CONTRIBUTING documentation --- packages/bigframes/CONTRIBUTING.rst | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/packages/bigframes/CONTRIBUTING.rst b/packages/bigframes/CONTRIBUTING.rst index b16b51ee1dab..ba8400eb866c 100644 --- a/packages/bigframes/CONTRIBUTING.rst +++ b/packages/bigframes/CONTRIBUTING.rst @@ -232,11 +232,11 @@ configure them just like the System Tests. # Run all tests in a folder $ cd samples/snippets - $ nox -s py-3.8 + $ nox -s py-3.10 # Run a single sample test $ cd samples/snippets - $ nox -s py-3.8 -- -k + $ nox -s py-3.10 -- -k ******************************************** Note About ``README`` as it pertains to PyPI @@ -276,17 +276,7 @@ Supported versions can be found in our ``noxfile.py`` `config`_. .. _config: https://github.com/googleapis/google-cloud-python/blob/main/packages/bigframes/noxfile.py -We also explicitly decided to support Python 3 beginning with version 3.10. -Reasons for this include: -- Encouraging use of newest versions of Python 3 -- Taking the lead of `prominent`_ open-source `projects`_ -- `Unicode literal support`_ which allows for a cleaner codebase that - works in both Python 2 and Python 3 - -.. _prominent: https://docs.djangoproject.com/en/1.9/faq/install/#what-python-version-can-i-use-with-django -.. _projects: http://flask.pocoo.org/docs/0.10/python3/ -.. _Unicode literal support: https://www.python.org/dev/peps/pep-0414/ ********** Versioning From 7683bfe54215e7eee2c5b1a8bc3e558014b6f5c6 Mon Sep 17 00:00:00 2001 From: chalmer lowe Date: Wed, 6 May 2026 11:28:10 -0400 Subject: [PATCH 3/3] test(bigframes): remove dead code in test_pandas.py --- packages/bigframes/tests/unit/test_pandas.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/bigframes/tests/unit/test_pandas.py b/packages/bigframes/tests/unit/test_pandas.py index a79d7a059bb9..7afb0b5dfdb3 100644 --- a/packages/bigframes/tests/unit/test_pandas.py +++ b/packages/bigframes/tests/unit/test_pandas.py @@ -54,11 +54,6 @@ def all_session_methods(): [(method_name,) for method_name in all_session_methods()], ) def test_method_matches_session(method_name: str): - if sys.version_info < (3, 10): - pytest.skip( - "Need Python 3.10 to reconcile deferred annotations." - ) # pragma: no cover - session_method = getattr(bigframes.session.Session, method_name) session_doc = inspect.getdoc(session_method) assert session_doc is not None, "docstrings are required"