From 92f05ed04e49adfe0ad68bfa52e855baf8b17643 Mon Sep 17 00:00:00 2001 From: Sri Harsha CH <57220027+harshachinta@users.noreply.github.com> Date: Fri, 6 Sep 2024 12:47:24 +0530 Subject: [PATCH 1/2] Revert "chore(spanner): Issue#1143 - Update dependency (#1158)" (#1197) This reverts commit 44434aaa501c7097920140115074521c8ab87f63. --- noxfile.py | 7 +++---- owlbot.py | 6 +++--- setup.py | 3 ++- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/noxfile.py b/noxfile.py index 8f0452d4d2..3b656a758c 100644 --- a/noxfile.py +++ b/noxfile.py @@ -59,7 +59,6 @@ SYSTEM_TEST_DEPENDENCIES: List[str] = [] SYSTEM_TEST_EXTRAS: List[str] = [ "tracing", - "testing", ] SYSTEM_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {} @@ -166,7 +165,7 @@ def install_unittest_dependencies(session, *constraints): constraints_path = str( CURRENT_DIRECTORY / "testing" / f"constraints-{session.python}.txt" ) - session.install("-e", ".[tracing, testing]", "-c", constraints_path) + session.install("-e", ".[tracing]", "-c", constraints_path) # XXX: Dump installed versions to debug OT issue session.run("pip", "list") @@ -337,7 +336,7 @@ def cover(session): def docs(session): """Build the docs for this library.""" - session.install("-e", ".[tracing, testing]") + session.install("-e", ".[tracing]") session.install( # We need to pin to specific versions of the `sphinxcontrib-*` packages # which still support sphinx 4.x. @@ -372,7 +371,7 @@ def docs(session): def docfx(session): """Build the docfx yaml files for this library.""" - session.install("-e", ".[tracing, testing]") + session.install("-e", ".[tracing]") session.install( # We need to pin to specific versions of the `sphinxcontrib-*` packages # which still support sphinx 4.x. diff --git a/owlbot.py b/owlbot.py index b7f09f2f74..e9c12e593c 100644 --- a/owlbot.py +++ b/owlbot.py @@ -128,7 +128,7 @@ def get_staging_dirs( samples=True, cov_level=98, split_system_tests=True, - system_test_extras=["tracing", "testing"], + system_test_extras=["tracing"], ) s.move( templated_files, @@ -180,7 +180,7 @@ def place_before(path, text, *before_text, escape=None): constraints_path = str( CURRENT_DIRECTORY / "testing" / f"constraints-{session.python}.txt" ) - session.install("-e", ".[tracing, testing]", "-c", constraints_path) + session.install("-e", ".[tracing]", "-c", constraints_path) # XXX: Dump installed versions to debug OT issue session.run("pip", "list") @@ -229,7 +229,7 @@ def place_before(path, text, *before_text, escape=None): s.replace( "noxfile.py", r"""session.install\("-e", "."\)""", - """session.install("-e", ".[tracing, testing]")""", + """session.install("-e", ".[tracing]")""", ) # Apply manual changes from PR https://github.com/googleapis/python-spanner/pull/759 diff --git a/setup.py b/setup.py index 5df9c6d82e..98b1a61748 100644 --- a/setup.py +++ b/setup.py @@ -22,6 +22,7 @@ name = "google-cloud-spanner" + description = "Google Cloud Spanner API client library" version = {} @@ -42,6 +43,7 @@ "sqlparse >= 0.4.4", "proto-plus >= 1.22.2, <2.0.0dev; python_version>='3.11'", "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", + "grpc-interceptor >= 0.15.4", ] extras = { "tracing": [ @@ -50,7 +52,6 @@ "opentelemetry-instrumentation >= 0.20b0, < 0.23dev", ], "libcst": "libcst >= 0.2.5", - "testing": "grpc-interceptor >= 0.15.4", } url = "https://github.com/googleapis/python-spanner" From a941adb987ec6e2d1a1583a5aa1254908292e354 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 6 Sep 2024 15:57:54 +0530 Subject: [PATCH 2/2] chore(main): release 3.49.1 (#1198) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- .release-please-manifest.json | 2 +- CHANGELOG.md | 7 +++++++ google/cloud/spanner_admin_database_v1/gapic_version.py | 2 +- google/cloud/spanner_admin_instance_v1/gapic_version.py | 2 +- google/cloud/spanner_v1/gapic_version.py | 2 +- .../snippet_metadata_google.spanner.admin.database.v1.json | 2 +- .../snippet_metadata_google.spanner.admin.instance.v1.json | 2 +- .../snippet_metadata_google.spanner.v1.json | 2 +- 8 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b1de15d9a3..9c5ec5d8b2 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "3.49.0" + ".": "3.49.1" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 05af3ad3d0..a8231cba5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ [1]: https://pypi.org/project/google-cloud-spanner/#history +## [3.49.1](https://github.com/googleapis/python-spanner/compare/v3.49.0...v3.49.1) (2024-09-06) + + +### Bug Fixes + +* Revert "chore(spanner): Issue[#1143](https://github.com/googleapis/python-spanner/issues/1143) - Update dependency" ([92f05ed](https://github.com/googleapis/python-spanner/commit/92f05ed04e49adfe0ad68bfa52e855baf8b17643)) + ## [3.49.0](https://github.com/googleapis/python-spanner/compare/v3.48.0...v3.49.0) (2024-08-27) diff --git a/google/cloud/spanner_admin_database_v1/gapic_version.py b/google/cloud/spanner_admin_database_v1/gapic_version.py index 66fbf6e926..74f23bf757 100644 --- a/google/cloud/spanner_admin_database_v1/gapic_version.py +++ b/google/cloud/spanner_admin_database_v1/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "3.49.0" # {x-release-please-version} +__version__ = "3.49.1" # {x-release-please-version} diff --git a/google/cloud/spanner_admin_instance_v1/gapic_version.py b/google/cloud/spanner_admin_instance_v1/gapic_version.py index 66fbf6e926..74f23bf757 100644 --- a/google/cloud/spanner_admin_instance_v1/gapic_version.py +++ b/google/cloud/spanner_admin_instance_v1/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "3.49.0" # {x-release-please-version} +__version__ = "3.49.1" # {x-release-please-version} diff --git a/google/cloud/spanner_v1/gapic_version.py b/google/cloud/spanner_v1/gapic_version.py index 66fbf6e926..74f23bf757 100644 --- a/google/cloud/spanner_v1/gapic_version.py +++ b/google/cloud/spanner_v1/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "3.49.0" # {x-release-please-version} +__version__ = "3.49.1" # {x-release-please-version} diff --git a/samples/generated_samples/snippet_metadata_google.spanner.admin.database.v1.json b/samples/generated_samples/snippet_metadata_google.spanner.admin.database.v1.json index 94d4ebb351..3edc41f73a 100644 --- a/samples/generated_samples/snippet_metadata_google.spanner.admin.database.v1.json +++ b/samples/generated_samples/snippet_metadata_google.spanner.admin.database.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-spanner-admin-database", - "version": "3.49.0" + "version": "3.49.1" }, "snippets": [ { diff --git a/samples/generated_samples/snippet_metadata_google.spanner.admin.instance.v1.json b/samples/generated_samples/snippet_metadata_google.spanner.admin.instance.v1.json index 2805d839f7..62e2a31c2e 100644 --- a/samples/generated_samples/snippet_metadata_google.spanner.admin.instance.v1.json +++ b/samples/generated_samples/snippet_metadata_google.spanner.admin.instance.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-spanner-admin-instance", - "version": "3.49.0" + "version": "3.49.1" }, "snippets": [ { diff --git a/samples/generated_samples/snippet_metadata_google.spanner.v1.json b/samples/generated_samples/snippet_metadata_google.spanner.v1.json index f3058f4e63..746d27b01a 100644 --- a/samples/generated_samples/snippet_metadata_google.spanner.v1.json +++ b/samples/generated_samples/snippet_metadata_google.spanner.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-spanner", - "version": "3.49.0" + "version": "3.49.1" }, "snippets": [ {
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: