Skip to content

Commit ba51825

Browse files
build: update actions/checkout and actions/setup-python (#1040)
* build: update actions/checkout and actions/setup-python Source-Link: googleapis/synthtool@3551acd Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:230f7fe8a0d2ed81a519cfc15c6bb11c5b46b9fb449b8b1219b3771bcb520ad2 * build: update warning filters --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent eef82a3 commit ba51825

5 files changed

Lines changed: 14 additions & 21 deletions

File tree

packages/google-cloud-pubsub/.github/.OwlBot.lock.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
16-
digest: sha256:2f155882785883336b4468d5218db737bb1d10c9cea7cb62219ad16fe248c03c
17-
# created: 2023-11-29T14:54:29.548172703Z
16+
digest: sha256:230f7fe8a0d2ed81a519cfc15c6bb11c5b46b9fb449b8b1219b3771bcb520ad2
17+
# created: 2023-12-09T15:16:25.430769578Z

packages/google-cloud-pubsub/.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v4
1212
- name: Setup Python
13-
uses: actions/setup-python@v4
13+
uses: actions/setup-python@v5
1414
with:
1515
python-version: "3.9"
1616
- name: Install nox
@@ -24,9 +24,9 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@v4
2828
- name: Setup Python
29-
uses: actions/setup-python@v4
29+
uses: actions/setup-python@v5
3030
with:
3131
python-version: "3.10"
3232
- name: Install nox

packages/google-cloud-pubsub/.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v4
1212
- name: Setup Python
13-
uses: actions/setup-python@v4
13+
uses: actions/setup-python@v5
1414
with:
1515
python-version: "3.8"
1616
- name: Install nox

packages/google-cloud-pubsub/.github/workflows/unittest.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515
- name: Setup Python
16-
uses: actions/setup-python@v4
16+
uses: actions/setup-python@v5
1717
with:
1818
python-version: ${{ matrix.python }}
1919
- name: Install nox
@@ -37,9 +37,9 @@ jobs:
3737
- unit
3838
steps:
3939
- name: Checkout
40-
uses: actions/checkout@v3
40+
uses: actions/checkout@v4
4141
- name: Setup Python
42-
uses: actions/setup-python@v4
42+
uses: actions/setup-python@v5
4343
with:
4444
python-version: "3.8"
4545
- name: Install coverage

packages/google-cloud-pubsub/pytest.ini

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,7 @@ filterwarnings =
44
error
55
# Remove once https://github.com/protocolbuffers/protobuf/issues/12186 is fixed
66
ignore:.*custom tp_new.*in Python 3.14:DeprecationWarning
7-
# Remove once https://github.com/googleapis/python-api-common-protos/pull/191 is merged
8-
ignore:.*pkg_resources.declare_namespace:DeprecationWarning
9-
ignore:.*pkg_resources is deprecated as an API:DeprecationWarning
10-
# Remove once release PR https://github.com/googleapis/proto-plus-python/pull/391 is merged
11-
ignore:datetime.datetime.utcfromtimestamp\(\) is deprecated:DeprecationWarning:proto.datetime_helpers
12-
# Remove once release PR https://github.com/googleapis/python-api-core/pull/555 is merged
13-
ignore:datetime.datetime.utcnow\(\) is deprecated:DeprecationWarning:google.api_core.datetime_helpers
147
# Remove once https://github.com/grpc/grpc/issues/35086 is fixed
158
ignore:There is no current event loop:DeprecationWarning:grpc.aio._channel
16-
# Remove once a version of grpcio newer than 1.59.3 is released to PyPI
17-
ignore:datetime.datetime.utcnow\(\) is deprecated:DeprecationWarning:grpc._channel
9+
# Remove after support for Python 3.7 is dropped
10+
ignore:After January 1, 2024, new releases of this library will drop support for Python 3.7:DeprecationWarning

0 commit comments

Comments
 (0)