Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.10"
python-version: "3.14"
- name: Install nox
run: |
python -m pip install --upgrade setuptools pip wheel
Expand All @@ -24,11 +24,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.10"
python-version: "3.14"
- name: Install nox
run: |
python -m pip install --upgrade setuptools pip wheel
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.13"
python-version: "3.14"
- name: Install nox
run: |
python -m pip install --upgrade setuptools pip wheel
Expand Down
6 changes: 3 additions & 3 deletions samples/snippets/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pytest==8.3.3
mock==5.1.0
google-cloud-bigquery==3.27.0
pytest==9.0.2
mock==5.2.0
google-cloud-bigquery==3.40.1
Comment on lines +1 to +3

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This file can be improved for better dependency management.

  1. Avoid Duplication: To avoid duplicating dependencies, requirements-test.txt can include requirements.txt using the -r flag. This removes the need to list google-cloud-bigquery here as it's already in requirements.txt.
  2. Remove Redundant mock: The mock library is part of Python's standard library as unittest.mock since Python 3.3. As your tests run on Python 3.8+, this dependency is redundant and can be removed.

I suggest simplifying this file as follows:

-r requirements.txt

pytest==9.0.2

6 changes: 3 additions & 3 deletions samples/snippets/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
google-cloud-bigquery==3.27.0
google-cloud-documentai==3.0.1
google-cloud-storage==2.18.2
google-cloud-bigquery==3.40.1
google-cloud-documentai==3.10.0
google-cloud-storage==3.9.0
google-cloud-documentai-toolbox==0.14.1a0
Loading