From 868564e6bfd4fc417f107e71933ea88905f93f8f Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Fri, 13 Jun 2025 06:05:36 +0000 Subject: [PATCH 1/5] chore(deps): update all dependencies --- .github/workflows/docs.yml | 4 ++-- .github/workflows/lint.yml | 2 +- samples/snippets/requirements-test.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2833fe9..f1a43e7 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -12,7 +12,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.13" - name: Install nox run: | python -m pip install --upgrade setuptools pip wheel @@ -28,7 +28,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.13" - name: Install nox run: | python -m pip install --upgrade setuptools pip wheel diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4866193..9a05982 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.13" - name: Install nox run: | python -m pip install --upgrade setuptools pip wheel diff --git a/samples/snippets/requirements-test.txt b/samples/snippets/requirements-test.txt index 2c78728..69d461f 100644 --- a/samples/snippets/requirements-test.txt +++ b/samples/snippets/requirements-test.txt @@ -1 +1 @@ -pytest==8.3.5 +pytest==8.4.0 From b849c3d1397a4a49ad0eb5301aab1c3b53c60ced Mon Sep 17 00:00:00 2001 From: chalmer lowe Date: Fri, 13 Jun 2025 11:01:32 +0000 Subject: [PATCH 2/5] updates to prevent changes to docs and lint.ymls --- .github/workflows/docs.yml | 4 ++-- .github/workflows/lint.yml | 2 +- noxfile.py | 2 +- owlbot.py | 12 +++++++++++- 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f1a43e7..2833fe9 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -12,7 +12,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: "3.13" + python-version: "3.10" - name: Install nox run: | python -m pip install --upgrade setuptools pip wheel @@ -28,7 +28,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: "3.13" + python-version: "3.10" - name: Install nox run: | python -m pip install --upgrade setuptools pip wheel diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9a05982..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.13" + python-version: "3.10" - name: Install nox run: | python -m pip install --upgrade setuptools pip wheel diff --git a/noxfile.py b/noxfile.py index a2444ac..effa058 100644 --- a/noxfile.py +++ b/noxfile.py @@ -89,7 +89,7 @@ # TODO: the linting process still uses python 3.8. # As soon as that gets upgraded, we should be able to revert this session # to using the DEFAULT_PYTHON_VERSION. -@nox.session(python="3.8") +@nox.session(python=DEFAULT_PYTHON_VERSION) def lint(session): """Run linters. diff --git a/owlbot.py b/owlbot.py index 04664d8..93572a0 100644 --- a/owlbot.py +++ b/owlbot.py @@ -34,7 +34,17 @@ "pandas": "https://pandas.pydata.org/pandas-docs/stable/" }, ) -s.move(templated_files, excludes=["docs/multiprocessing.rst", "README.rst", ".github/workflows/unittest.yml", "noxfile.py"]) +s.move( + templated_files, + excludes=[ + "docs/multiprocessing.rst", + "README.rst", + ".github/workflows/unittest.yml", + ".github/workflows/docs.yml", # to avoid overwriting python version + ".github/workflows/lint.yml", # to avoid overwriting python version + "noxfile.py", + ] +) # ---------------------------------------------------------------------------- # Fixup files From a0e8bd8e642bbbd1e6b6e96c812ef86f64491c9a Mon Sep 17 00:00:00 2001 From: chalmer lowe Date: Fri, 13 Jun 2025 11:14:18 +0000 Subject: [PATCH 3/5] updates lint python version to 3.10 --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index effa058..83a5317 100644 --- a/noxfile.py +++ b/noxfile.py @@ -89,7 +89,7 @@ # TODO: the linting process still uses python 3.8. # As soon as that gets upgraded, we should be able to revert this session # to using the DEFAULT_PYTHON_VERSION. -@nox.session(python=DEFAULT_PYTHON_VERSION) +@nox.session(python="3.10") def lint(session): """Run linters. From 76924e2af71ca6f4a3f456dd6ecd23c6cd14819c Mon Sep 17 00:00:00 2001 From: chalmer lowe Date: Fri, 13 Jun 2025 11:19:50 +0000 Subject: [PATCH 4/5] remove comments, update lint python version --- noxfile.py | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/noxfile.py b/noxfile.py index 83a5317..2d2cc6c 100644 --- a/noxfile.py +++ b/noxfile.py @@ -33,6 +33,7 @@ LINT_PATHS = ["docs", "db_dtypes", "tests", "noxfile.py", "setup.py"] DEFAULT_PYTHON_VERSION = "3.9" +LINT_PYTHON_VERSION = "3.10" UNIT_TEST_PYTHON_VERSIONS: List[str] = [ "3.9", @@ -85,11 +86,7 @@ # Error if a python version is missing nox.options.error_on_missing_interpreters = True - -# TODO: the linting process still uses python 3.8. -# As soon as that gets upgraded, we should be able to revert this session -# to using the DEFAULT_PYTHON_VERSION. -@nox.session(python="3.10") +@nox.session(python=LINT_PYTHON_VERSION) def lint(session): """Run linters. @@ -141,11 +138,7 @@ def format(session): *LINT_PATHS, ) - -# TODO: the linting process still uses python 3.8. -# As soon as that gets upgraded, we should be able to revert this session -# to using the DEFAULT_PYTHON_VERSION. -@nox.session(python="3.8") +@nox.session(python=LINT_PYTHON_VERSION) def lint_setup_py(session): """Verify that setup.py is valid (including RST check).""" session.install("docutils", "pygments") From 8ec803ec52658be543e78420092da19c912c6b0d Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Fri, 13 Jun 2025 11:21:51 +0000 Subject: [PATCH 5/5] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/noxfile.py b/noxfile.py index 2d2cc6c..125d4f1 100644 --- a/noxfile.py +++ b/noxfile.py @@ -86,6 +86,7 @@ # Error if a python version is missing nox.options.error_on_missing_interpreters = True + @nox.session(python=LINT_PYTHON_VERSION) def lint(session): """Run linters. @@ -138,6 +139,7 @@ def format(session): *LINT_PATHS, ) + @nox.session(python=LINT_PYTHON_VERSION) def lint_setup_py(session): """Verify that setup.py is valid (including RST check)."""