Skip to content
This repository was archived by the owner on Mar 2, 2026. It is now read-only.

Commit 54e87d2

Browse files
Merge branch 'main' into unicode_test
2 parents 203b111 + bb482e9 commit 54e87d2

147 files changed

Lines changed: 32268 additions & 15185 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/.OwlBot.lock.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 Google LLC
1+
# Copyright 2025 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -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:e8dcfd7cbfd8beac3a3ff8d3f3185287ea0625d859168cc80faccfc9a7a00455
17-
# created: 2024-09-16T21:04:09.091105552Z
16+
digest: sha256:25de45b58e52021d3a24a6273964371a97a4efeefe6ad3845a64e697c63b6447
17+
# created: 2025-04-14T14:34:43.260858345Z

.github/release-trigger.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
enabled: true
2+
multiScmName: python-firestore

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Setup Python
1313
uses: actions/setup-python@v5
1414
with:
15-
python-version: "3.9"
15+
python-version: "3.10"
1616
- name: Install nox
1717
run: |
1818
python -m pip install --upgrade setuptools pip wheel

.github/workflows/unittest.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@ on:
55
name: unittest
66
jobs:
77
unit:
8-
runs-on: ubuntu-latest
8+
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2303): use `ubuntu-latest` once this bug is fixed.
9+
# Use ubuntu-22.04 until Python 3.7 is removed from the test matrix
10+
# https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
11+
runs-on: ubuntu-22.04
912
strategy:
1013
matrix:
11-
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
14+
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
1215
steps:
1316
- name: Checkout
1417
uses: actions/checkout@v4

.kokoro/build.sh

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@
1515

1616
set -eo pipefail
1717

18+
CURRENT_DIR=$(dirname "${BASH_SOURCE[0]}")
19+
1820
if [[ -z "${PROJECT_ROOT:-}" ]]; then
19-
PROJECT_ROOT="github/python-firestore"
21+
PROJECT_ROOT=$(realpath "${CURRENT_DIR}/..")
2022
fi
2123

22-
cd "${PROJECT_ROOT}"
24+
pushd "${PROJECT_ROOT}"
2325

2426
# Disable buffering, so that the logs stream through.
2527
export PYTHONUNBUFFERED=1
@@ -31,10 +33,16 @@ env | grep KOKORO
3133
export FIRESTORE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/firebase-credentials.json
3234

3335
# Setup service account credentials.
34-
export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-account.json
36+
if [[ -f "${KOKORO_GFILE_DIR}/service-account.json" ]]
37+
then
38+
export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-account.json
39+
fi
3540

3641
# Setup project id.
37-
export PROJECT_ID=$(cat "${KOKORO_GFILE_DIR}/project-id.json")
42+
if [[ -f "${KOKORO_GFILE_DIR}/project-id.json" ]]
43+
then
44+
export PROJECT_ID=$(cat "${KOKORO_GFILE_DIR}/project-id.json")
45+
fi
3846

3947
# If this is a continuous build, send the test log to the FlakyBot.
4048
# See https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot.
@@ -49,7 +57,7 @@ fi
4957
# If NOX_SESSION is set, it only runs the specified session,
5058
# otherwise run all the sessions.
5159
if [[ -n "${NOX_SESSION:-}" ]]; then
52-
python3 -m nox -s ${NOX_SESSION:-}
60+
python3 -m nox -s ${NOX_SESSION:-}
5361
else
54-
python3 -m nox
62+
python3 -m nox
5563
fi

.kokoro/docker/docs/Dockerfile

Lines changed: 0 additions & 89 deletions
This file was deleted.

.kokoro/docker/docs/fetch_gpg_keys.sh

Lines changed: 0 additions & 45 deletions
This file was deleted.

.kokoro/docker/docs/requirements.in

Lines changed: 0 additions & 1 deletion
This file was deleted.

.kokoro/docker/docs/requirements.txt

Lines changed: 0 additions & 42 deletions
This file was deleted.

.kokoro/docs/common.cfg

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)