From 9ebac00b8c9a4686c9fb318e339b1fc19bbe5750 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 25 Jun 2025 11:44:17 +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 | 4 ++-- samples/snippets/requirements.txt | 10 +++++----- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2833fe98..f1a43e7a 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 1051da0b..9a059820 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.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 417ef037..2c7482f8 100644 --- a/samples/snippets/requirements-test.txt +++ b/samples/snippets/requirements-test.txt @@ -1,2 +1,2 @@ -google-cloud-testutils==1.6.0 -pytest==8.3.5 +google-cloud-testutils==1.6.4 +pytest==8.4.1 diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index ca1e1d0c..74d3b9cb 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -1,5 +1,5 @@ -google-cloud-bigquery-storage==2.29.1 -google-cloud-bigquery==3.30.0 -pandas-gbq==0.28.0 -pandas==2.2.3 -pyarrow==19.0.1 +google-cloud-bigquery-storage==2.32.0 +google-cloud-bigquery==3.34.0 +pandas-gbq==0.29.1 +pandas==2.3.0 +pyarrow==20.0.0 From 1d9dbe7eb5e4c736dff9eed098a30a0c831d2910 Mon Sep 17 00:00:00 2001 From: chalmer lowe Date: Wed, 25 Jun 2025 17:06:23 +0000 Subject: [PATCH 2/5] updates some configs in owlbot, noxfile, and ymls to ensure that the correct version of python is used --- .github/workflows/docs.yml | 4 ++-- .github/workflows/lint.yml | 2 +- noxfile.py | 6 +++--- owlbot.py | 7 ++++++- renovate.json | 2 +- 5 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f1a43e7a..2833fe98 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 9a059820..1051da0b 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 e246b05d..a2210541 100644 --- a/noxfile.py +++ b/noxfile.py @@ -33,7 +33,7 @@ LINT_PATHS = ["docs", "pandas_gbq", "tests", "noxfile.py", "setup.py"] DEFAULT_PYTHON_VERSION = "3.10" - +LINT_PYTHON_VERSION = "3.10" UNIT_TEST_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12", "3.13"] UNIT_TEST_STANDARD_DEPENDENCIES = [ @@ -109,7 +109,7 @@ def wrapper(*args, **kwargs): nox.options.error_on_missing_interpreters = True -@nox.session(python=DEFAULT_PYTHON_VERSION) +@nox.session(python=LINT_PYTHON_VERSION) @_calculate_duration def lint(session): """Run linters. @@ -158,7 +158,7 @@ def format(session): ) -@nox.session(python=DEFAULT_PYTHON_VERSION) +@nox.session(python=LINT_PYTHON_VERSION) @_calculate_duration def lint_setup_py(session): """Verify that setup.py is valid (including RST check).""" diff --git a/owlbot.py b/owlbot.py index 1d5d912f..cde35a98 100644 --- a/owlbot.py +++ b/owlbot.py @@ -57,11 +57,16 @@ "docs/multiprocessing.rst", "noxfile.py", "README.rst", - ".github/workflows/docs.yml", + ".github/workflows/docs.yml", # to avoid overwriting python version + ".github/workflows/lint.yml", # to avoid overwriting python version ".github/sync-repo-settings.yaml", # exclude this file as we have an alternate prerelease.cfg ".kokoro/presubmit/prerelease-deps.cfg", ".kokoro/presubmit/presubmit.cfg", + "renovate.json", # to avoid overwriting the ignorePaths list additions: + # ".github/workflows/docs.yml AND lint.yml" specifically + # the version of python referenced in each of those files. + # Currently renovate bot wants to change 3.10 to 3.13. ], ) diff --git a/renovate.json b/renovate.json index c7875c46..9d9a6d0b 100644 --- a/renovate.json +++ b/renovate.json @@ -5,7 +5,7 @@ ":preserveSemverRanges", ":disableDependencyDashboard" ], - "ignorePaths": [".pre-commit-config.yaml", ".kokoro/requirements.txt", "setup.py", ".github/workflows/unittest.yml"], + "ignorePaths": [".pre-commit-config.yaml", ".kokoro/requirements.txt", "setup.py", ".github/workflows/unittest.yml", ".github/workflows/docs.yml", ".github/workflows/lint.yml"], "pip_requirements": { "fileMatch": ["requirements-test.txt", "samples/[\\S/]*constraints.txt", "samples/[\\S/]*constraints-test.txt"] } From 530cc69bf86fc64c4d1bd9b5e2840eed0dc7725f Mon Sep 17 00:00:00 2001 From: Chalmer Lowe Date: Fri, 27 Jun 2025 11:27:43 -0400 Subject: [PATCH 3/5] Update noxfile.py --- noxfile.py | 1 - 1 file changed, 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index a2210541..af94e118 100644 --- a/noxfile.py +++ b/noxfile.py @@ -33,7 +33,6 @@ LINT_PATHS = ["docs", "pandas_gbq", "tests", "noxfile.py", "setup.py"] DEFAULT_PYTHON_VERSION = "3.10" -LINT_PYTHON_VERSION = "3.10" UNIT_TEST_PYTHON_VERSIONS = ["3.9", "3.10", "3.11", "3.12", "3.13"] UNIT_TEST_STANDARD_DEPENDENCIES = [ From 6ab995b9fa3da89d28bf000ccf50646df2e9fcf2 Mon Sep 17 00:00:00 2001 From: Chalmer Lowe Date: Fri, 27 Jun 2025 11:27:51 -0400 Subject: [PATCH 4/5] Update noxfile.py --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index af94e118..4c4de1ae 100644 --- a/noxfile.py +++ b/noxfile.py @@ -108,7 +108,7 @@ def wrapper(*args, **kwargs): nox.options.error_on_missing_interpreters = True -@nox.session(python=LINT_PYTHON_VERSION) +@nox.session(python=DEFAULT_PYTHON_VERSION) @_calculate_duration def lint(session): """Run linters. From 0b5bb92ed79e78d83e3680b2a84388f522a8f924 Mon Sep 17 00:00:00 2001 From: Chalmer Lowe Date: Fri, 27 Jun 2025 11:27:57 -0400 Subject: [PATCH 5/5] Update noxfile.py --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 4c4de1ae..46ed3007 100644 --- a/noxfile.py +++ b/noxfile.py @@ -157,7 +157,7 @@ def format(session): ) -@nox.session(python=LINT_PYTHON_VERSION) +@nox.session(python=DEFAULT_PYTHON_VERSION) @_calculate_duration def lint_setup_py(session): """Verify that setup.py is valid (including RST check)."""