Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4571dff

Browse files
chore: [Many APIs] Update gapic-generator-python to v1.22.1 (#13522)
BEGIN_COMMIT_OVERRIDEchore: Update gapic-generator-python to v1.22.1fix(deps): Require grpc-google-iam-v1>=0.14.0END_COMMIT_OVERRIDE- [ ] Regenerate this pull request now.fix(deps): Require grpc-google-iam-v1>=0.14.0PiperOrigin-RevId: 726142856Source-Link:googleapis/googleapis@25989cbSource-Link:googleapis/googleapis-gen@677041bCopy-Tag:eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFsbG95ZGIvLk93bEJvdC55YW1sIiwiaCI6IjY3NzA0MWI5MWNlZjE1OThjYzU1NzI3ZDU5YTI4MDRiMTk4YTViYmYifQ==Copy-Tag:eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFwaWdlZS1yZWdpc3RyeS8uT3dsQm90LnlhbWwiLCJoIjoiNjc3MDQxYjkxY2VmMTU5OGNjNTU3MjdkNTlhMjgwNGIxOThhNWJiZiJ9Copy-Tag:eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFwcGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjc3MDQxYjkxY2VmMTU5OGNjNTU3MjdkNTlhMjgwNGIxOThhNWJiZiJ9Copy-Tag:eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFydGlmYWN0LXJlZ2lzdHJ5Ly5Pd2xCb3QueWFtbCIsImgiOiI2NzcwNDFiOTFjZWYxNTk4Y2M1NTcyN2Q1OWEyODA0YjE5OGE1YmJmIn0=Copy-Tag:eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFzc2V0Ly5Pd2xCb3QueWFtbCIsImgiOiI2NzcwNDFiOTFjZWYxNTk4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ja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbmZpZy8uT3dsQm90LnlhbWwiLCJoIjoiNjc3MDQxYjkxY2VmMTU5OGNjNTU3MjdkNTlhMjgwNGIxOThhNWJiZiJ9Copy-Tag:eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbnRhY3QtY2VudGVyLWluc2lnaHRzLy5Pd2xCb3QueWFtbCIsImgiOiI2NzcwNDFiOTFjZWYxNTk4Y2M1NTcyN2Q1OWEyODA0YjE5OGE1YmJmIn0=---------Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent30b675e commit4571dff

File tree

125 files changed

+599
-137
lines changed

Some content is hidden

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

125 files changed

+599
-137
lines changed

‎packages/google-cloud-alloydb/README.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ In order to use this library, you first need to go through the following steps:
2626
1. `Select or create a Cloud Platform project.`_
2727
2. `Enable billing for your project.`_
2828
3. `Enable the AlloyDB.`_
29-
4. `Setup Authentication.`_
29+
4. `Set up Authentication.`_
3030

3131
.. _Select or create a Cloud Platform project.:https://console.cloud.google.com/project
3232
.. _Enable billing for your project.:https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
3333
.. _Enable the AlloyDB.:https://cloud.google.com/alloydb/
34-
.._Setup Authentication.:https://googleapis.dev/python/google-api-core/latest/auth.html
34+
.._Set up Authentication.:https://googleapis.dev/python/google-api-core/latest/auth.html
3535

3636
Installation
3737
~~~~~~~~~~~~

‎packages/google-cloud-alloydb/google/cloud/alloydb/gapic_version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__="0.4.2"# {x-release-please-version}
16+
__version__="0.0.0"# {x-release-please-version}

‎packages/google-cloud-alloydb/google/cloud/alloydb_v1/gapic_version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__="0.4.2"# {x-release-please-version}
16+
__version__="0.0.0"# {x-release-please-version}

‎packages/google-cloud-alloydb/google/cloud/alloydb_v1alpha/gapic_version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__="0.4.2"# {x-release-please-version}
16+
__version__="0.0.0"# {x-release-please-version}

‎packages/google-cloud-alloydb/google/cloud/alloydb_v1beta/gapic_version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__="0.4.2"# {x-release-please-version}
16+
__version__="0.0.0"# {x-release-please-version}

‎packages/google-cloud-alloydb/noxfile.py‎

Lines changed: 79 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,20 +382,29 @@ def docfx(session):
382382
["python","upb","cpp"],
383383
)
384384
defprerelease_deps(session,protobuf_implementation):
385-
"""Run all tests with prerelease versions of dependencies installed."""
385+
"""
386+
Run all tests with pre-release versions of dependencies installed
387+
rather than the standard non pre-release versions.
388+
Pre-releases versions can be installed using
389+
`pip install --pre <package>`.
390+
"""
386391

387392
ifprotobuf_implementation=="cpp"andsession.pythonin ("3.11","3.12","3.13"):
388393
session.skip("cpp implementation is not supported in python 3.11+")
389394

390395
# Install all dependencies
391-
session.install("-e",".[all, tests, tracing]")
396+
session.install("-e",".")
397+
392398
unit_deps_all=UNIT_TEST_STANDARD_DEPENDENCIES+UNIT_TEST_EXTERNAL_DEPENDENCIES
399+
# Install dependencies for the unit test environment
393400
session.install(*unit_deps_all)
401+
394402
system_deps_all= (
395403
SYSTEM_TEST_STANDARD_DEPENDENCIES
396404
+SYSTEM_TEST_EXTERNAL_DEPENDENCIES
397405
+SYSTEM_TEST_EXTRAS
398406
)
407+
# Install dependencies for the system test environment
399408
session.install(*system_deps_all)
400409

401410
# Because we test minimum dependency versions on the minimum Python
@@ -417,6 +426,7 @@ def prerelease_deps(session, protobuf_implementation):
417426
)
418427
]
419428

429+
# Install dependencies specified in `testing/constraints-X.txt`.
420430
session.install(*constraints_deps)
421431

422432
prerel_deps= [
@@ -458,3 +468,70 @@ def prerelease_deps(session, protobuf_implementation):
458468
"PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION":protobuf_implementation,
459469
},
460470
)
471+
472+
473+
@nox.session(python="3.13")
474+
@nox.parametrize(
475+
"protobuf_implementation",
476+
["python","upb"],
477+
)
478+
defcore_deps_from_source(session,protobuf_implementation):
479+
"""Run all tests with local versions of core dependencies installed,
480+
rather than pulling core dependencies from PyPI.
481+
"""
482+
483+
# Install all dependencies
484+
session.install(".")
485+
486+
# Install dependencies for the unit test environment
487+
unit_deps_all=UNIT_TEST_STANDARD_DEPENDENCIES+UNIT_TEST_EXTERNAL_DEPENDENCIES
488+
session.install(*unit_deps_all)
489+
490+
# Install dependencies for the system test environment
491+
system_deps_all= (
492+
SYSTEM_TEST_STANDARD_DEPENDENCIES
493+
+SYSTEM_TEST_EXTERNAL_DEPENDENCIES
494+
+SYSTEM_TEST_EXTRAS
495+
)
496+
session.install(*system_deps_all)
497+
498+
# Because we test minimum dependency versions on the minimum Python
499+
# version, the first version we test with in the unit tests sessions has a
500+
# constraints file containing all dependencies and extras that should be installed.
501+
withopen(
502+
CURRENT_DIRECTORY
503+
/"testing"
504+
/f"constraints-{UNIT_TEST_PYTHON_VERSIONS[0]}.txt",
505+
encoding="utf-8",
506+
)asconstraints_file:
507+
constraints_text=constraints_file.read()
508+
509+
# Ignore leading whitespace and comment lines.
510+
constraints_deps= [
511+
match.group(1)
512+
formatchinre.finditer(
513+
r"^\s*(\S+)(?===\S+)",constraints_text,flags=re.MULTILINE
514+
)
515+
]
516+
517+
# Install dependencies specified in `testing/constraints-X.txt`.
518+
session.install(*constraints_deps)
519+
520+
core_dependencies_from_source= [
521+
"google-api-core @ git+https://github.com/googleapis/python-api-core.git",
522+
"google-auth @ git+https://github.com/googleapis/google-auth-library-python.git",
523+
f"{CURRENT_DIRECTORY}/../googleapis-common-protos",
524+
f"{CURRENT_DIRECTORY}/../grpc-google-iam-v1",
525+
"proto-plus @ git+https://github.com/googleapis/proto-plus-python.git",
526+
]
527+
528+
fordepincore_dependencies_from_source:
529+
session.install(dep,"--ignore-installed","--no-deps")
530+
531+
session.run(
532+
"py.test",
533+
"tests/unit",
534+
env={
535+
"PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION":protobuf_implementation,
536+
},
537+
)

‎packages/google-cloud-alloydb/samples/generated_samples/snippet_metadata_google.cloud.alloydb.v1.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language":"PYTHON",
1010
"name":"google-cloud-alloydb",
11-
"version":"0.4.2"
11+
"version":"0.1.0"
1212
},
1313
"snippets": [
1414
{

‎packages/google-cloud-alloydb/samples/generated_samples/snippet_metadata_google.cloud.alloydb.v1alpha.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language":"PYTHON",
1010
"name":"google-cloud-alloydb",
11-
"version":"0.4.2"
11+
"version":"0.1.0"
1212
},
1313
"snippets": [
1414
{

‎packages/google-cloud-alloydb/samples/generated_samples/snippet_metadata_google.cloud.alloydb.v1beta.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language":"PYTHON",
1010
"name":"google-cloud-alloydb",
11-
"version":"0.4.2"
11+
"version":"0.1.0"
1212
},
1313
"snippets": [
1414
{

‎packages/google-cloud-alloydb/setup.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"proto-plus >= 1.22.3, <2.0.0dev",
4747
"proto-plus >= 1.25.0, <2.0.0dev; python_version >= '3.13'",
4848
"protobuf>=3.20.2,<6.0.0dev,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
49-
"grpc-google-iam-v1 >= 0.12.4, <1.0.0dev",
49+
"grpc-google-iam-v1 >= 0.14.0, <1.0.0dev",
5050
]
5151
extras= {}
5252
url="https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-alloydb"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp