Skip to content

Commit a1f035d

Browse files
authored
Merge branch 'main' into feat/sqlalchemy-spanner-contributing
2 parents 8c26694 + 97668d8 commit a1f035d

3,047 files changed

Lines changed: 442099 additions & 440952 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/CODEOWNERS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
# Catch all. @googleapis/cloud-sdk-python-team is notified on every change for packages not owned by other teams.
2929
* @googleapis/cloud-sdk-python-team
3030

31-
/packages/bigframes/ @googleapis/bigquery-team @googleapis/bigquery-dataframe-team
3231
/packages/bigquery-magics/ @googleapis/bigquery-team @googleapis/bigquery-dataframe-team
3332
/packages/db-dtypes/ @googleapis/bigquery-team @googleapis/bigquery-dataframe-team
3433
/packages/django-google-spanner/ @googleapis/spanner-team

.github/workflows/bigframes-docs-deploy.yaml

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

.github/workflows/bigtable-conformance.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
permissions:
22
contents: read
33

4+
concurrency:
5+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
6+
cancel-in-progress: true
7+
48
on:
59
pull_request:
610
paths:

.github/workflows/django-spanner-django5.2_tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
permissions:
22
contents: read
33

4+
concurrency:
5+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
6+
cancel-in-progress: true
7+
48
on:
59
pull_request:
610
paths:

.github/workflows/docs.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
on:
2+
push:
3+
branches:
4+
- main
25
pull_request:
36
branches:
47
- main
@@ -35,13 +38,14 @@ jobs:
3538
- name: Run docs
3639
env:
3740
BUILD_TYPE: presubmit
38-
TARGET_BRANCH: ${{ github.base_ref || github.event.merge_group.base_ref }}
41+
TARGET_BRANCH: ${{ github.base_ref || github.event.merge_group.base_ref || github.ref_name }}
3942
TEST_TYPE: docs
4043
# TODO(https://github.com/googleapis/google-cloud-python/issues/13775): Specify `PY_VERSION` rather than relying on the default python version of the nox session.
4144
PY_VERSION: "unused"
4245
run: |
4346
ci/run_conditional_tests.sh
4447
docfx:
48+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
4549
runs-on: ubuntu-latest
4650
steps:
4751
- name: Checkout
@@ -63,7 +67,7 @@ jobs:
6367
- name: Run docfx
6468
env:
6569
BUILD_TYPE: presubmit
66-
TARGET_BRANCH: ${{ github.base_ref || github.event.merge_group.base_ref }}
70+
TARGET_BRANCH: ${{ github.base_ref || github.event.merge_group.base_ref || github.ref_name }}
6771
TEST_TYPE: docfx
6872
# TODO(https://github.com/googleapis/google-cloud-python/issues/13775): Specify `PY_VERSION` rather than relying on the default python version of the nox session.
6973
PY_VERSION: "unused"

.github/workflows/import-profiler.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ on:
1212
permissions:
1313
contents: read
1414

15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
17+
cancel-in-progress: true
18+
1519
jobs:
1620
initialize:
1721
runs-on: ubuntu-latest
@@ -23,11 +27,9 @@ jobs:
2327
steps:
2428
- name: Checkout
2529
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
26-
# Use a fetch-depth of 2 to avoid error `fatal: origin/main...HEAD: no merge base`
27-
# See https://github.com/googleapis/google-cloud-python/issues/12013
28-
# and https://github.com/actions/checkout#checkout-head.
2930
with:
30-
fetch-depth: 2
31+
fetch-depth: 0
32+
filter: blob:none
3133
persist-credentials: false
3234
- name: Check for unit_test:all_packages label
3335
id: check-label
@@ -50,7 +52,7 @@ jobs:
5052
MAX_SHARDS: ${{ env.MAX_SHARDS }}
5153
run: |
5254
if [ -n "$TARGET_BRANCH" ]; then
53-
git fetch origin "$TARGET_BRANCH" --depth=1 || true
55+
git fetch --no-tags --quiet origin "$TARGET_BRANCH" || true
5456
fi
5557
python3 ci/get_package_shards.py
5658
@@ -68,7 +70,7 @@ jobs:
6870
- name: Checkout
6971
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
7072
with:
71-
fetch-depth: 0 # Fetch git history to find changed packages / baseline
73+
fetch-depth: 2
7274
persist-credentials: false
7375
- name: Setup Python
7476
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6

.github/workflows/lint.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ name: lint
1212
permissions:
1313
contents: read
1414

15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
17+
cancel-in-progress: true
18+
1519
env:
1620
NOX_REUSE_EXISTING_VIRTUALENVS: "true"
1721
NOX_ENVDIR: "/tmp/shared_nox_envs"
@@ -31,11 +35,9 @@ jobs:
3135
steps:
3236
- name: Checkout
3337
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
34-
# Use a fetch-depth of 2 to avoid error `fatal: origin/main...HEAD: no merge base`
35-
# See https://github.com/googleapis/google-cloud-python/issues/12013
36-
# and https://github.com/actions/checkout#checkout-head.
3738
with:
38-
fetch-depth: 2
39+
fetch-depth: 0
40+
filter: blob:none
3941
persist-credentials: false
4042
- name: Check for unit_test:all_packages label
4143
id: check-label
@@ -57,7 +59,7 @@ jobs:
5759
TEST_ALL_PACKAGES: ${{ steps.check-label.outputs.is_full_run }}
5860
run: |
5961
if [ -n "$TARGET_BRANCH" ]; then
60-
git fetch origin "$TARGET_BRANCH" --deepen=200 || true
62+
git fetch --no-tags --quiet origin "$TARGET_BRANCH" || true
6163
fi
6264
python3 ci/get_package_shards.py
6365

.github/workflows/unittest.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ name: unittest
1212
permissions:
1313
contents: read
1414

15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
17+
cancel-in-progress: true
18+
1519
env:
1620
PACKAGE_DIRS: packages preview-packages
1721
NOX_REUSE_EXISTING_VIRTUALENVS: "true"
@@ -36,7 +40,6 @@ jobs:
3640
# Each weight is roughly 1 minute of expected execution time
3741
# Default for unset packages is 1
3842
PACKAGE_WEIGHTS: |
39-
bigframes: 6
4043
google-ai-generativelanguage: 4
4144
google-auth: 5
4245
google-cloud-compute: 12
@@ -50,7 +53,8 @@ jobs:
5053
- name: Checkout
5154
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
5255
with:
53-
fetch-depth: 2
56+
fetch-depth: 0
57+
filter: blob:none
5458
persist-credentials: false
5559
- name: Check for unit_test:all_packages label
5660
id: check-label
@@ -74,7 +78,7 @@ jobs:
7478
PACKAGE_WEIGHTS: ${{ env.PACKAGE_WEIGHTS }}
7579
run: |
7680
if [ -n "$TARGET_BRANCH" ]; then
77-
git fetch origin "$TARGET_BRANCH" --depth=1 || true
81+
git fetch --no-tags --quiet origin "$TARGET_BRANCH" || true
7882
fi
7983
python3 ci/get_package_shards.py
8084

.kokoro/continuous/benchmark-bigframes.cfg

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

.kokoro/continuous/continuous-bigframes.cfg

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

0 commit comments

Comments
 (0)