Skip to content

Commit eec1c04

Browse files
committed
Merge remote-tracking branch 'upstream/main' into b501171054-hparam
2 parents 72859ae + cf12ffd commit eec1c04

20 files changed

Lines changed: 391 additions & 94 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Copyright 2026 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
description: Fix duplicate links in google-cloud-maintenance-api
15+
url: https://github.com/googleapis/librarian/issues/5668
16+
replacements:
17+
- paths: [
18+
packages/google-cloud-maintenance-api/README.rst
19+
]
20+
before: '`Maintenance`'
21+
after: '`Cloud Maintenance`'
22+
count: 1
23+
- paths: [
24+
packages/google-cloud-maintenance-api/README.rst
25+
]
26+
before: '_Maintenance:'
27+
after: '_Cloud Maintenance:'
28+
count: 1
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# Copyright 2026 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
description: Remove inappropriate product documentation lines in googleapis-common-protos readme
15+
url: https://github.com/googleapis/librarian/issues/5670
16+
replacements:
17+
- paths: [
18+
packages/googleapis-common-protos/README.rst
19+
]
20+
before: "`Google APIs Common Protos`_: Lets you define and config your API service.\n\n"
21+
after: ""
22+
count: 1
23+
- paths: [
24+
packages/googleapis-common-protos/README.rst
25+
]
26+
before: "- `Product Documentation`_\n"
27+
after: ""
28+
count: 1
29+
- paths: [
30+
packages/googleapis-common-protos/README.rst
31+
]
32+
before: ".. _Google APIs Common Protos: \n"
33+
after: ""
34+
count: 1
35+
- paths: [
36+
packages/googleapis-common-protos/README.rst
37+
]
38+
before: ".. _Product Documentation: \n"
39+
after: ""
40+
count: 1
41+
- paths: [
42+
packages/googleapis-common-protos/README.rst
43+
]
44+
before: |
45+
3. `Enable the Google APIs Common Protos.`_
46+
4. `Set up Authentication.`_
47+
after: |
48+
3. `Set up Authentication.`_
49+
count: 1
50+
- paths: [
51+
packages/googleapis-common-protos/README.rst
52+
]
53+
before: ".. _Enable the Google APIs Common Protos.: \n"
54+
after: ""
55+
count: 1
56+
- paths: [
57+
packages/googleapis-common-protos/README.rst
58+
]
59+
before: |
60+
- Read the `Google APIs Common Protos Product documentation`_ to learn
61+
more about the product and see How-to Guides.
62+
after: ""
63+
count: 1
64+
- paths: [
65+
packages/googleapis-common-protos/README.rst
66+
]
67+
before: ".. _Google APIs Common Protos Product documentation: \n"
68+
after: ""
69+
count: 1

README.rst

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -283,12 +283,6 @@ Libraries
283283
-
284284
-
285285
- `Client Library Issues <https://github.com/googleapis/google-cloud-python/issues>`_
286-
* - `Compute Engine <https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-compute-v1beta>`_
287-
- stable
288-
- |PyPI-google-cloud-compute-v1beta|
289-
- `API Issues <https://issuetracker.google.com/issues?q=componentid:187134>`_
290-
- `File an API Issue <https://issuetracker.google.com/issues/new?component=187134&template=0>`_
291-
- `Client Library Issues <https://github.com/googleapis/google-cloud-python/issues>`_
292286
* - `Compute Engine <https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-compute>`_
293287
- stable
294288
- |PyPI-google-cloud-compute|
@@ -457,12 +451,6 @@ Libraries
457451
- `API Issues <https://issuetracker.google.com/savedsearches/559761>`_
458452
- `File an API Issue <https://issuetracker.google.com/issues/new?component=187161>`_
459453
- `Client Library Issues <https://github.com/googleapis/google-cloud-python/issues>`_
460-
* - `Identity and Access Management <https://github.com/googleapis/google-cloud-python/tree/main/packages/grpc-google-iam-v1>`_
461-
- stable
462-
- |PyPI-grpc-google-iam-v1|
463-
- `API Issues <https://issuetracker.google.com/savedsearches/559761>`_
464-
- `File an API Issue <https://issuetracker.google.com/issues/new?component=187161>`_
465-
- `Client Library Issues <https://github.com/googleapis/google-cloud-python/issues>`_
466454
* - `Identity-Aware Proxy <https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-iap>`_
467455
- stable
468456
- |PyPI-google-cloud-iap|
@@ -697,6 +685,12 @@ Libraries
697685
-
698686
-
699687
- `Client Library Issues <https://github.com/googleapis/google-cloud-python/issues>`_
688+
* - `SQLAlchemy dialect for BigQuery <https://github.com/googleapis/google-cloud-python/tree/main/packages/sqlalchemy-bigquery>`_
689+
- stable
690+
- |PyPI-sqlalchemy-bigquery|
691+
-
692+
-
693+
- `Client Library Issues <https://github.com/googleapis/google-cloud-python/issues>`_
700694
* - `Scheduler <https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-scheduler>`_
701695
- stable
702696
- |PyPI-google-cloud-scheduler|
@@ -1177,6 +1171,12 @@ Libraries
11771171
- `API Issues <https://issuetracker.google.com/issues?q=componentid:1396141>`_
11781172
- `File an API Issue <https://issuetracker.google.com/issues/new?component=1396141>`_
11791173
- `Client Library Issues <https://github.com/googleapis/google-cloud-python/issues>`_
1174+
* - `Compute Engine <https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-compute-v1beta>`_
1175+
- preview
1176+
- |PyPI-google-cloud-compute-v1beta|
1177+
- `API Issues <https://issuetracker.google.com/issues?q=componentid:187134>`_
1178+
- `File an API Issue <https://issuetracker.google.com/issues/new?component=187134&template=0>`_
1179+
- `Client Library Issues <https://github.com/googleapis/google-cloud-python/issues>`_
11801180
* - `Confidential Computing API <https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-confidentialcomputing>`_
11811181
- preview
11821182
- |PyPI-google-cloud-confidentialcomputing|
@@ -1357,6 +1357,12 @@ Libraries
13571357
- `API Issues <https://issuetracker.google.com/issues?q=componentid:188871>`_
13581358
- `File an API Issue <https://issuetracker.google.com/issues/new?component=188871&template=788907>`_
13591359
- `Client Library Issues <https://github.com/googleapis/google-cloud-python/issues>`_
1360+
* - `Identity and Access Management <https://github.com/googleapis/google-cloud-python/tree/main/packages/grpc-google-iam-v1>`_
1361+
- preview
1362+
- |PyPI-grpc-google-iam-v1|
1363+
- `API Issues <https://issuetracker.google.com/savedsearches/559761>`_
1364+
- `File an API Issue <https://issuetracker.google.com/issues/new?component=187161>`_
1365+
- `Client Library Issues <https://github.com/googleapis/google-cloud-python/issues>`_
13601366
* - `Infrastructure Manager API <https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-config>`_
13611367
- preview
13621368
- |PyPI-google-cloud-config|
@@ -1615,12 +1621,6 @@ Libraries
16151621
- `API Issues <https://issuetracker.google.com/savedsearches/559663>`_
16161622
- `File an API Issue <https://issuetracker.google.com/issues/new?component=187078>`_
16171623
- `Client Library Issues <https://github.com/googleapis/google-cloud-python/issues>`_
1618-
* - `SQLAlchemy dialect for BigQuery <https://github.com/googleapis/google-cloud-python/tree/main/packages/sqlalchemy-bigquery>`_
1619-
- preview
1620-
- |PyPI-sqlalchemy-bigquery|
1621-
-
1622-
-
1623-
- `Client Library Issues <https://github.com/googleapis/google-cloud-python/issues>`_
16241624
* - `SaaS Runtime API <https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-saasplatform-saasservicemgmt>`_
16251625
- preview
16261626
- |PyPI-google-cloud-saasplatform-saasservicemgmt|
@@ -1812,8 +1812,6 @@ Libraries
18121812
:target: https://pypi.org/project/google-cloud-common
18131813
.. |PyPI-google-cloud-orchestration-airflow| image:: https://img.shields.io/pypi/v/google-cloud-orchestration-airflow.svg
18141814
:target: https://pypi.org/project/google-cloud-orchestration-airflow
1815-
.. |PyPI-google-cloud-compute-v1beta| image:: https://img.shields.io/pypi/v/google-cloud-compute-v1beta.svg
1816-
:target: https://pypi.org/project/google-cloud-compute-v1beta
18171815
.. |PyPI-google-cloud-compute| image:: https://img.shields.io/pypi/v/google-cloud-compute.svg
18181816
:target: https://pypi.org/project/google-cloud-compute
18191817
.. |PyPI-google-cloud-contact-center-insights| image:: https://img.shields.io/pypi/v/google-cloud-contact-center-insights.svg
@@ -1870,8 +1868,6 @@ Libraries
18701868
:target: https://pypi.org/project/google-cloud-ids
18711869
.. |PyPI-google-cloud-iam| image:: https://img.shields.io/pypi/v/google-cloud-iam.svg
18721870
:target: https://pypi.org/project/google-cloud-iam
1873-
.. |PyPI-grpc-google-iam-v1| image:: https://img.shields.io/pypi/v/grpc-google-iam-v1.svg
1874-
:target: https://pypi.org/project/grpc-google-iam-v1
18751871
.. |PyPI-google-cloud-iap| image:: https://img.shields.io/pypi/v/google-cloud-iap.svg
18761872
:target: https://pypi.org/project/google-cloud-iap
18771873
.. |PyPI-google-cloud-kms| image:: https://img.shields.io/pypi/v/google-cloud-kms.svg
@@ -1950,6 +1946,8 @@ Libraries
19501946
:target: https://pypi.org/project/google-resumable-media
19511947
.. |PyPI-google-cloud-retail| image:: https://img.shields.io/pypi/v/google-cloud-retail.svg
19521948
:target: https://pypi.org/project/google-cloud-retail
1949+
.. |PyPI-sqlalchemy-bigquery| image:: https://img.shields.io/pypi/v/sqlalchemy-bigquery.svg
1950+
:target: https://pypi.org/project/sqlalchemy-bigquery
19531951
.. |PyPI-google-cloud-scheduler| image:: https://img.shields.io/pypi/v/google-cloud-scheduler.svg
19541952
:target: https://pypi.org/project/google-cloud-scheduler
19551953
.. |PyPI-google-cloud-secret-manager| image:: https://img.shields.io/pypi/v/google-cloud-secret-manager.svg
@@ -2110,6 +2108,8 @@ Libraries
21102108
:target: https://pypi.org/project/google-cloud-hypercomputecluster
21112109
.. |PyPI-google-cloud-commerce-consumer-procurement| image:: https://img.shields.io/pypi/v/google-cloud-commerce-consumer-procurement.svg
21122110
:target: https://pypi.org/project/google-cloud-commerce-consumer-procurement
2111+
.. |PyPI-google-cloud-compute-v1beta| image:: https://img.shields.io/pypi/v/google-cloud-compute-v1beta.svg
2112+
:target: https://pypi.org/project/google-cloud-compute-v1beta
21132113
.. |PyPI-google-cloud-confidentialcomputing| image:: https://img.shields.io/pypi/v/google-cloud-confidentialcomputing.svg
21142114
:target: https://pypi.org/project/google-cloud-confidentialcomputing
21152115
.. |PyPI-google-cloud-configdelivery| image:: https://img.shields.io/pypi/v/google-cloud-configdelivery.svg
@@ -2170,6 +2170,8 @@ Libraries
21702170
:target: https://pypi.org/project/google-geo-type
21712171
.. |PyPI-google-maps-geocode| image:: https://img.shields.io/pypi/v/google-maps-geocode.svg
21722172
:target: https://pypi.org/project/google-maps-geocode
2173+
.. |PyPI-grpc-google-iam-v1| image:: https://img.shields.io/pypi/v/grpc-google-iam-v1.svg
2174+
:target: https://pypi.org/project/grpc-google-iam-v1
21732175
.. |PyPI-google-cloud-config| image:: https://img.shields.io/pypi/v/google-cloud-config.svg
21742176
:target: https://pypi.org/project/google-cloud-config
21752177
.. |PyPI-google-cloud-kms-inventory| image:: https://img.shields.io/pypi/v/google-cloud-kms-inventory.svg
@@ -2256,8 +2258,6 @@ Libraries
22562258
:target: https://pypi.org/project/google-cloud-run
22572259
.. |PyPI-google-cloud-runtimeconfig| image:: https://img.shields.io/pypi/v/google-cloud-runtimeconfig.svg
22582260
:target: https://pypi.org/project/google-cloud-runtimeconfig
2259-
.. |PyPI-sqlalchemy-bigquery| image:: https://img.shields.io/pypi/v/sqlalchemy-bigquery.svg
2260-
:target: https://pypi.org/project/sqlalchemy-bigquery
22612261
.. |PyPI-google-cloud-saasplatform-saasservicemgmt| image:: https://img.shields.io/pypi/v/google-cloud-saasplatform-saasservicemgmt.svg
22622262
:target: https://pypi.org/project/google-cloud-saasplatform-saasservicemgmt
22632263
.. |PyPI-google-cloud-securesourcemanager| image:: https://img.shields.io/pypi/v/google-cloud-securesourcemanager.svg

librarian.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,7 +1619,6 @@ libraries:
16191619
- path: google/cloud/maintenance/api/v1beta
16201620
description_override: The Maintenance API provides a centralized view of planned disruptive maintenance events across supported Google Cloud products. It offers users visibility into upcoming, ongoing, and completed maintenance, along with controls to manage certain maintenance activities, such as mainteance windows, rescheduling, and on-demand updates.
16211621
python:
1622-
name_pretty_override: Maintenance API
16231622
default_version: v1
16241623
- name: google-cloud-managed-identities
16251624
version: 1.15.0
@@ -2958,7 +2957,6 @@ libraries:
29582957
- google/logging/type
29592958
- google/rpc/context
29602959
name_pretty_override: Google APIs Common Protos
2961-
product_documentation_override: https://github.com/googleapis/googleapis/tree/master/google
29622960
client_documentation_override: https://github.com/googleapis/google-cloud-python/tree/main/packages/googleapis-common-protos
29632961
default_version: apiVersion
29642962
- name: grafeas

packages/bigframes/bigframes/bigquery/_operations/ml.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
import bigframes.dataframe as dataframe
2727
import bigframes.ml.base
2828
import bigframes.session
29+
import bigframes.core.col as col
2930
from bigframes.bigquery._operations import utils
3031

3132

packages/bigframes/noxfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
PYTEST_VERSION,
6262
"pytest-cov",
6363
"pytest-timeout",
64+
"pluggy",
6465
]
6566
UNIT_TEST_EXTERNAL_DEPENDENCIES: List[str] = []
6667
UNIT_TEST_DEPENDENCIES: List[str] = []

packages/db-dtypes/noxfile.py

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -485,13 +485,49 @@ def docfx(session):
485485

486486

487487
@nox.session(python=DEFAULT_PYTHON_VERSION)
488-
def core_deps_from_source(session):
488+
@nox.parametrize(
489+
"protobuf_implementation",
490+
["python", "upb"],
491+
)
492+
def core_deps_from_source(session, protobuf_implementation):
489493
"""Run all tests with core dependencies installed from source
490494
rather than pulling the dependencies from PyPI.
491495
"""
492-
# TODO(https://github.com/googleapis/google-cloud-python/issues/16014):
493-
# Add core deps from source tests
494-
session.skip("Core deps from source tests are not yet supported")
496+
constraints_path = str(
497+
CURRENT_DIRECTORY / "testing" / f"constraints-{session.python}.txt"
498+
)
499+
install_unittest_dependencies(session, "-c", constraints_path)
500+
501+
core_dependencies_from_source = [
502+
"googleapis-common-protos @ git+https://github.com/googleapis/google-cloud-python#egg=googleapis-common-protos&subdirectory=packages/googleapis-common-protos",
503+
"google-api-core @ git+https://github.com/googleapis/google-cloud-python#egg=google-api-core&subdirectory=packages/google-api-core",
504+
"google-auth @ git+https://github.com/googleapis/google-cloud-python#egg=google-auth&subdirectory=packages/google-auth",
505+
"grpc-google-iam-v1 @ git+https://github.com/googleapis/google-cloud-python#egg=grpc-google-iam-v1&subdirectory=packages/grpc-google-iam-v1",
506+
"proto-plus @ git+https://github.com/googleapis/google-cloud-python#egg=proto-plus&subdirectory=packages/proto-plus",
507+
]
508+
509+
for dep in core_dependencies_from_source:
510+
session.install(dep, "--no-deps", "--ignore-installed")
511+
print(f"Installed {dep}")
512+
513+
tests_path = os.path.join("tests", "unit")
514+
session.run(
515+
"py.test",
516+
"--quiet",
517+
"-W default::FutureWarning",
518+
f"--junitxml=unit_{session.python}_sponge_log.xml",
519+
"--cov=db_dtypes",
520+
"--cov=tests/unit",
521+
"--cov-append",
522+
"--cov-config=.coveragerc",
523+
"--cov-report=",
524+
"--cov-fail-under=0",
525+
tests_path,
526+
*session.posargs,
527+
env={
528+
"PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION": protobuf_implementation,
529+
},
530+
)
495531

496532

497533
@nox.session(python=DEFAULT_PYTHON_VERSION)

packages/google-cloud-documentai-toolbox/noxfile.py

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,43 @@ def mypy(session):
509509

510510

511511
@nox.session(python=DEFAULT_PYTHON_VERSION)
512-
def core_deps_from_source(session):
513-
# TODO(https://github.com/googleapis/google-cloud-python/issues/16014):
514-
# Enable this test once this bug is fixed.
515-
session.skip("Temporarily skip core_deps_from_source. See issue 16014")
512+
@nox.parametrize(
513+
"protobuf_implementation",
514+
["python", "upb"],
515+
)
516+
def core_deps_from_source(session, protobuf_implementation):
517+
"""Run all tests with core dependencies installed from source"""
518+
constraints_path = str(
519+
CURRENT_DIRECTORY / "testing" / f"constraints-{session.python}.txt"
520+
)
521+
install_unittest_dependencies(session, "-c", constraints_path)
522+
523+
core_dependencies_from_source = [
524+
"googleapis-common-protos @ git+https://github.com/googleapis/google-cloud-python#egg=googleapis-common-protos&subdirectory=packages/googleapis-common-protos",
525+
"google-api-core @ git+https://github.com/googleapis/google-cloud-python#egg=google-api-core&subdirectory=packages/google-api-core",
526+
"google-auth @ git+https://github.com/googleapis/google-cloud-python#egg=google-auth&subdirectory=packages/google-auth",
527+
"grpc-google-iam-v1 @ git+https://github.com/googleapis/google-cloud-python#egg=grpc-google-iam-v1&subdirectory=packages/grpc-google-iam-v1",
528+
"proto-plus @ git+https://github.com/googleapis/google-cloud-python#egg=proto-plus&subdirectory=packages/proto-plus",
529+
]
530+
531+
for dep in core_dependencies_from_source:
532+
session.install(dep, "--no-deps", "--ignore-installed")
533+
print(f"Installed {dep}")
534+
535+
tests_path = os.path.join("tests", "unit")
536+
session.run(
537+
"py.test",
538+
"--quiet",
539+
f"--junitxml=unit_{session.python}_sponge_log.xml",
540+
"--cov=google",
541+
"--cov=tests/unit",
542+
"--cov-append",
543+
"--cov-config=.coveragerc",
544+
"--cov-report=",
545+
"--cov-fail-under=0",
546+
tests_path,
547+
*session.posargs,
548+
env={
549+
"PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION": protobuf_implementation,
550+
},
551+
)

packages/google-cloud-maintenance-api/.repo-metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"language": "python",
1010
"library_type": "GAPIC_AUTO",
1111
"name": "google-cloud-maintenance-api",
12-
"name_pretty": "Maintenance API",
12+
"name_pretty": "Maintenance",
1313
"product_documentation": "https://cloud.google.com/unified-maintenance/",
1414
"release_level": "preview",
1515
"repo": "googleapis/google-cloud-python"

0 commit comments

Comments
 (0)