1
0

10 Commits

Author SHA256 Message Date
f715839f3b Accepting request 1327656 from devel:languages:python:google
OBS-URL: https://build.opensuse.org/request/show/1327656
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-cloud-spanner?expand=0&rev=7
2026-01-17 13:54:52 +00:00
900eae5243 - Update to 3.62.0
* add uuid support (#1310)
  * handle errors during stream restart in snapshot (#1471)
  * resolve pre-release dependency failures and sqlparse recursion (#1472)
  * transaction_tag should be set on BeginTransactionRequest (#1463)
- from version 3.61.0
  * support mTLS certificates when available (#1467)
- from version 3.60.0
  * Update description for the BatchCreateSessionsRequest and Session
  * Update description for the IsolationLevel
  * make built-in metrics enabled by default (#1459)
  * Add Spanner location API (#1457)
  * Add Send and Ack mutations for Queues
  * Add QueryAdvisorResult for query plan
  * add cloud.region, request_tag and transaction_tag in span attributes (#1449)
  * Exposing AutoscalingConfig in InstancePartition
  * enable OpenTelemetry metrics and tracing by default (#1410)
  * add support for experimental host (#1452)
  * Provide Spanner Option to disable metrics (#1460)
  * Deprecate credentials_file argument
  * configure keepAlive time for gRPC TCP connections (#1448)
- from version 3.59.0
  * **spanner:** Add lazy decode to partitioned query (#1411)
  * **spanner:** Resolve TypeError in metrics resource detection (#1446)
  * Add snippet for Repeatable Read configuration at client and transaction (#1326)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:google/python-google-cloud-spanner?expand=0&rev=18
2026-01-16 12:55:57 +00:00
72844224c1 Accepting request 1313824 from devel:languages:python:google
OBS-URL: https://build.opensuse.org/request/show/1313824
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-cloud-spanner?expand=0&rev=6
2025-10-28 13:45:49 +00:00
cc8a7edc3b Accepting request 1313812 from home:glaubitz:branches:devel:languages:python:google
- Replace bash scriptlet to remove mock usage from source code

OBS-URL: https://build.opensuse.org/request/show/1313812
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:google/python-google-cloud-spanner?expand=0&rev=16
2025-10-27 11:25:19 +00:00
da9ec18dc8 Accepting request 1312327 from home:glaubitz:branches:devel:languages:python:google
- Update to 3.58.0
  * **spanner:** Support setting read lock mode (#1404)
  * Remove Python 3.7 and 3.8 as supported runtimes (#1395)
- from version 3.57.0
  * Support configuring logger in dbapi kwargs (#1400)
- from version 3.56.0
  * Add support for multiplexed sessions - read/write (#1389)
  * Add support for multiplexed sessions (#1383)
  * Default enable multiplex session for all operations unless
    explicitly set to false (#1394)
  * **spanner:** Add new change_stream.proto (#1382)
  * Skip gRPC trailers for StreamingRead & ExecuteStreamingSql (#1385)
- from version 3.55.0
  * Add a `last` field in the `PartialResultSet` (d532d57)
  * Add support for multiplexed sessions (#1381)
  * Add throughput_mode to UpdateDatabaseDdlRequest to be used by
    Spanner Migration Tool.
    See https://github.com/GoogleCloudPlatform/spanner-migration-tool (d532d57)
  * Support fine-grained permissions database roles in connect (#1338)
  * E2E tracing metadata append issue (#1357)
  * Pass through kwargs in dbapi connect (#1368)
  * Remove setup.cfg configuration for creating universal wheels (#1324)
  * A comment for field `chunked_value` in message
    `.google.spanner.v1.PartialResultSet` is changed (d532d57)
  * A comment for field `precommit_token` in message
    `.google.spanner.v1.PartialResultSet` is changed (d532d57)
  * A comment for field `precommit_token` in message
    `.google.spanner.v1.ResultSet` is changed (d532d57)
  * A comment for field `query_plan` in message
    `.google.spanner.v1.ResultSetStats` is changed (d532d57)

OBS-URL: https://build.opensuse.org/request/show/1312327
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:google/python-google-cloud-spanner?expand=0&rev=15
2025-10-20 11:01:34 +00:00
51b56308df Accepting request 1273311 from devel:languages:python:google
OBS-URL: https://build.opensuse.org/request/show/1273311
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-cloud-spanner?expand=0&rev=5
2025-04-30 18:23:55 +00:00
5e0a162a1f - Add missing test dependencies to BuildRequires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:google/python-google-cloud-spanner?expand=0&rev=13
2025-04-29 06:40:42 +00:00
546f3cd2d8 - Update to 3.53.0
* Add AddSplitPoints API
  * Add Attempt, Operation and GFE Metrics (#1302)
  * Add REST Interceptors which support reading metadata
  * Add support for opt-in debug logging
  * Add support for reading selective GAPIC generation methods from service YAML
  * Add the last statement option to ExecuteSqlRequest and ExecuteBatchDmlRequest
  * Add UUID in Spanner TypeCode enum
  * End to end tracing (#1315)
  * Exposing FreeInstanceAvailability in InstanceConfig
  * Exposing FreeInstanceMetadata in Instance configuration
    (to define the metadata related to FREE instance type)
  * Exposing InstanceType in Instance configuration
    (to define PROVISIONED or FREE spanner instance)
  * Exposing QuorumType in InstanceConfig
  * Exposing storage_limit_per_processing_unit in InstanceConfig
  * Snapshot isolation (#1318)
  * **spanner:** A new enum `IsolationLevel` is added (#1224)
  * Allow Protobuf 6.x (#1320)
  * Cleanup after metric integration test (#1322)
  * **deps:** Require grpc-google-iam-v1 >= 0.14.0
  * Fix typing issue with gRPC metadata when key ends in -bin
  * Add option for last_statement (#1313)
  * A comment for enum `DefaultBackupScheduleType` is changed
  * A comment for enum value `AUTOMATIC` in enum `DefaultBackupScheduleType` is changed
  * A comment for enum value `GOOGLE_MANAGED` in enum `Type` is changed
  * A comment for enum value `NONE` in enum `DefaultBackupScheduleType` is changed
  * A comment for enum value `USER_MANAGED` in enum `Type` is changed
  * A comment for field `base_config` in message
    `.google.spanner.admin.instance.v1.InstanceConfig` is changed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:google/python-google-cloud-spanner?expand=0&rev=12
2025-04-28 11:31:25 +00:00
0ec7129efb Accepting request 1224884 from devel:languages:python:google
OBS-URL: https://build.opensuse.org/request/show/1224884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-cloud-spanner?expand=0&rev=4
2024-11-18 19:02:38 +00:00
fe14d49cef - Update to 3.50.1
* Add BatchWrite API
  * spanner: Add autoscaling config to the instance proto
  * spanner: Add directed_read_option in spanner.proto
  * Add max_commit_delay API
  * Exposing Spanner client in dbapi connection
  * Add support of float32 type
  * Add support for PG.OID in parameterized queries
  * spanner: Adding EXPECTED_FULFILLMENT_PERIOD to the indicate instance creation times
  * Add support for Cloud Spanner Scheduled Backups
  * spanner: Add support for Cloud Spanner Default Backup Schedules
  * many more changes, see upstream CHANGELOG.md

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:google/python-google-cloud-spanner?expand=0&rev=10
2024-11-18 13:49:58 +00:00
4 changed files with 248 additions and 22 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:616b07c86cdae6c78bad27b8ab39d8ce7a273511f2b91fe260f170d926653c2e
size 441712

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a25bdbfda84bc7a819f04e45473187d8670711fd5ec827cf442e3664661d1d23
size 722967

View File

@@ -1,3 +1,227 @@
-------------------------------------------------------------------
Fri Jan 16 09:21:00 UTC 2026 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.62.0
* add uuid support (#1310)
* handle errors during stream restart in snapshot (#1471)
* resolve pre-release dependency failures and sqlparse recursion (#1472)
* transaction_tag should be set on BeginTransactionRequest (#1463)
- from version 3.61.0
* support mTLS certificates when available (#1467)
- from version 3.60.0
* Update description for the BatchCreateSessionsRequest and Session
* Update description for the IsolationLevel
* make built-in metrics enabled by default (#1459)
* Add Spanner location API (#1457)
* Add Send and Ack mutations for Queues
* Add QueryAdvisorResult for query plan
* add cloud.region, request_tag and transaction_tag in span attributes (#1449)
* Exposing AutoscalingConfig in InstancePartition
* enable OpenTelemetry metrics and tracing by default (#1410)
* add support for experimental host (#1452)
* Provide Spanner Option to disable metrics (#1460)
* Deprecate credentials_file argument
* configure keepAlive time for gRPC TCP connections (#1448)
- from version 3.59.0
* **spanner:** Add lazy decode to partitioned query (#1411)
* **spanner:** Resolve TypeError in metrics resource detection (#1446)
* Add snippet for Repeatable Read configuration at client and transaction (#1326)
-------------------------------------------------------------------
Mon Oct 27 10:05:03 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Replace bash scriptlet to remove mock usage from source code
-------------------------------------------------------------------
Mon Oct 20 08:26:31 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.58.0
* **spanner:** Support setting read lock mode (#1404)
* Remove Python 3.7 and 3.8 as supported runtimes (#1395)
- from version 3.57.0
* Support configuring logger in dbapi kwargs (#1400)
- from version 3.56.0
* Add support for multiplexed sessions - read/write (#1389)
* Add support for multiplexed sessions (#1383)
* Default enable multiplex session for all operations unless
explicitly set to false (#1394)
* **spanner:** Add new change_stream.proto (#1382)
* Skip gRPC trailers for StreamingRead & ExecuteStreamingSql (#1385)
- from version 3.55.0
* Add a `last` field in the `PartialResultSet` (d532d57)
* Add support for multiplexed sessions (#1381)
* Add throughput_mode to UpdateDatabaseDdlRequest to be used by
Spanner Migration Tool.
See https://github.com/GoogleCloudPlatform/spanner-migration-tool (d532d57)
* Support fine-grained permissions database roles in connect (#1338)
* E2E tracing metadata append issue (#1357)
* Pass through kwargs in dbapi connect (#1368)
* Remove setup.cfg configuration for creating universal wheels (#1324)
* A comment for field `chunked_value` in message
`.google.spanner.v1.PartialResultSet` is changed (d532d57)
* A comment for field `precommit_token` in message
`.google.spanner.v1.PartialResultSet` is changed (d532d57)
* A comment for field `precommit_token` in message
`.google.spanner.v1.ResultSet` is changed (d532d57)
* A comment for field `query_plan` in message
`.google.spanner.v1.ResultSetStats` is changed (d532d57)
* A comment for field `row_count_lower_bound` in message
`.google.spanner.v1.ResultSetStats` is changed (d532d57)
* A comment for field `row_type` in message
`.google.spanner.v1.ResultSetMetadata` is changed (d532d57)
* A comment for field `rows` in message
`.google.spanner.v1.ResultSet` is changed (d532d57)
* A comment for field `stats` in message
`.google.spanner.v1.PartialResultSet` is changed (d532d57)
* A comment for field `stats` in message
`.google.spanner.v1.ResultSet` is changed (d532d57)
* A comment for field `values` in message
`.google.spanner.v1.PartialResultSet` is changed (d532d57)
* A comment for message `ResultSetMetadata` is changed (d532d57)
* A comment for message `ResultSetStats` is changed (d532d57)
* Fix markdown formatting in transactions page (#1377)
- from version 3.54.0
* Add interval type support (#1340)
* Add sample for pre-split feature (#1333)
* Add SQL statement for begin transaction isolation level (#1331)
* Support transaction isolation level in dbapi (#1327)
* Improve client-side regex statement parser (#1328)
-------------------------------------------------------------------
Mon Apr 28 13:02:48 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Add missing test dependencies to BuildRequires
-------------------------------------------------------------------
Sat Apr 26 08:45:28 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.53.0
* Add AddSplitPoints API
* Add Attempt, Operation and GFE Metrics (#1302)
* Add REST Interceptors which support reading metadata
* Add support for opt-in debug logging
* Add support for reading selective GAPIC generation methods from service YAML
* Add the last statement option to ExecuteSqlRequest and ExecuteBatchDmlRequest
* Add UUID in Spanner TypeCode enum
* End to end tracing (#1315)
* Exposing FreeInstanceAvailability in InstanceConfig
* Exposing FreeInstanceMetadata in Instance configuration
(to define the metadata related to FREE instance type)
* Exposing InstanceType in Instance configuration
(to define PROVISIONED or FREE spanner instance)
* Exposing QuorumType in InstanceConfig
* Exposing storage_limit_per_processing_unit in InstanceConfig
* Snapshot isolation (#1318)
* **spanner:** A new enum `IsolationLevel` is added (#1224)
* Allow Protobuf 6.x (#1320)
* Cleanup after metric integration test (#1322)
* **deps:** Require grpc-google-iam-v1 >= 0.14.0
* Fix typing issue with gRPC metadata when key ends in -bin
* Add option for last_statement (#1313)
* A comment for enum `DefaultBackupScheduleType` is changed
* A comment for enum value `AUTOMATIC` in enum `DefaultBackupScheduleType` is changed
* A comment for enum value `GOOGLE_MANAGED` in enum `Type` is changed
* A comment for enum value `NONE` in enum `DefaultBackupScheduleType` is changed
* A comment for enum value `USER_MANAGED` in enum `Type` is changed
* A comment for field `base_config` in message
`.google.spanner.admin.instance.v1.InstanceConfig` is changed
* A comment for field `default_backup_schedule_type` in message
`.google.spanner.admin.instance.v1.Instance`
* A comment for field `filter` in message
`.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest`
is changed
* A comment for field `filter` in message
`.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest`
is changed
* A comment for field `instance_config` in message
`.google.spanner.admin.instance.v1.CreateInstanceConfigRequest`
is changed
* A comment for field `instance_partition_deadline` in message
`.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest`
is changed
* A comment for field `location` in message
`.google.spanner.admin.instance.v1.ReplicaInfo` is changed
* A comment for field `node_count` in message
`.google.spanner.admin.instance.v1.Instance` is changed
* A comment for field `node_count` in message
`.google.spanner.admin.instance.v1.InstancePartition` is changed
* A comment for field `operations` in message
`.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse`
is changed
* A comment for field `operations` in message
`.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse`
is changed
* A comment for field `optional_replicas` in message
`.google.spanner.admin.instance.v1.InstanceConfig` is changed
* A comment for field `parent` in message
`.google.spanner.admin.instance.v1.ListInstancePartitionsRequest` is changed
* A comment for field `processing_units` in message
`.google.spanner.admin.instance.v1.Instance` is changed
* A comment for field `processing_units` in message
`.google.spanner.admin.instance.v1.InstancePartition` is changed
* A comment for field `referencing_backups` in message
`.google.spanner.admin.instance.v1.InstancePartition` is changed
* A comment for field `replicas` in message
`.google.spanner.admin.instance.v1.InstanceConfig` is changed
* A comment for field `storage_utilization_percent` in message
`.google.spanner.admin.instance.v1.AutoscalingConfig` is changed
* A comment for field `unreachable` in message
`.google.spanner.admin.instance.v1.ListInstancePartitionsResponse` is changed
* A comment for message `CreateInstanceConfigRequest` is changed
* A comment for message `DeleteInstanceConfigRequest` is changed
* A comment for message `UpdateInstanceConfigRequest` is changed
* A comment for method `CreateInstance` in service `InstanceAdmin` is changed
* A comment for method `CreateInstanceConfig` in service `InstanceAdmin` is changed
* A comment for method `CreateInstancePartition` in service `InstanceAdmin` is changed
* A comment for method `ListInstanceConfigOperations` in service `InstanceAdmin` is changed
* A comment for method `ListInstanceConfigs` in service `InstanceAdmin` is changed
* A comment for method `ListInstancePartitionOperations` in service `InstanceAdmin` is changed
* A comment for method `MoveInstance` in service `InstanceAdmin` is changed
* A comment for method `UpdateInstance` in service `InstanceAdmin` is changed
* A comment for method `UpdateInstanceConfig` in service `InstanceAdmin` is changed
* A comment for method `UpdateInstancePartition` in service `InstanceAdmin` is changed
* Fix typo timzeone -> timezone
- from version 3.52.0
* Add additional opentelemetry span events for session pool
* Add GCP standard otel attributes for python client (#1308)
* Add updated span events + trace more methods (#1259)
* MetricsTracer implementation (#1291)
* Support GRAPH and pipe syntax in dbapi (#1285)
* Support transaction and request tags in dbapi (#1262)
* **x-goog-spanner-request-id:** Introduce AtomicCounter (#1275)
* Retry UNAVAILABLE errors for streaming RPCs (#1278)
* **tracing:** Ensure nesting of Transaction.begin under commit
+ fix suggestions from feature review (#1287)
* **tracing:** Only set span.status=OK if UNSET (#1248)
* Update retry strategy for mutation calls to handle aborted transactions (#1279)
- from version 3.51.0
* Add connection variable for ignoring transaction warnings (#1249)
* **spanner:** Implement custom tracer_provider injection for opentelemetry traces (#1229)
* Support float32 parameters in dbapi (#1245)
* Allow setting connection.read_only to same value (#1247)
* Allow setting staleness to same value in tx (#1253)
* Dbapi raised AttributeError with [] as arguments (#1257)
* Optimize ResultSet decoding (#1244)
* Remove repeated GetSession calls for FixedSizePool (#1252)
* **samples:** Add samples for Cloud Spanner Default Backup Schedules (#1238)
- Update Suggests from setup.py
-------------------------------------------------------------------
Mon Nov 18 13:07:49 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Update to 3.50.1
* Add BatchWrite API
* spanner: Add autoscaling config to the instance proto
* spanner: Add directed_read_option in spanner.proto
* Add max_commit_delay API
* Exposing Spanner client in dbapi connection
* Add support of float32 type
* Add support for PG.OID in parameterized queries
* spanner: Adding EXPECTED_FULFILLMENT_PERIOD to the indicate instance creation times
* Add support for Cloud Spanner Scheduled Backups
* spanner: Add support for Cloud Spanner Default Backup Schedules
* many more changes, see upstream CHANGELOG.md
-------------------------------------------------------------------
Wed Jan 10 10:05:24 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-google-cloud-spanner
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,39 +27,44 @@
%{?sle15_python_module_pythons}
Name: python-google-cloud-spanner%{psuffix}
Version: 3.40.1
Version: 3.62.0
Release: 0
Summary: Google Cloud Spanner API client library
License: Apache-2.0
URL: https://github.com/googleapis/python-spanner
Source: https://files.pythonhosted.org/packages/source/g/google-cloud-spanner/google-cloud-spanner-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/g/google_cloud_spanner/google_cloud_spanner-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION test requirements
%if %{with test}
BuildRequires: %{python_module google-api-core >= 1.34.0}
BuildRequires: %{python_module google-cloud-core >= 1.4.1}
BuildRequires: %{python_module google-cloud-monitoring >= 2.16.0}
BuildRequires: %{python_module google-cloud-spanner = %{version}}
BuildRequires: %{python_module grpc-google-iam-v1 >= 0.12.4}
BuildRequires: %{python_module proto-plus >= 1.22.0}
BuildRequires: %{python_module protobuf >= 3.19.5}
BuildRequires: %{python_module mmh3 >= 4.1.0}
BuildRequires: %{python_module opentelemetry-api >= 1.22.0}
BuildRequires: %{python_module opentelemetry-resourcedetector-gcp >= 1.8.0a0}
BuildRequires: %{python_module opentelemetry-sdk >= 1.22.0}
BuildRequires: %{python_module opentelemetry-semantic-conventions >= 0.43b0}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module sqlparse >= 0.4.4}
%endif
# /SECTION
BuildRequires: fdupes
Requires: python-google-api-core >= 1.34.0
Requires: python-google-cloud-core >= 1.4.1
Requires: python-google-cloud-core >= 1.4.4
Requires: python-grpc-google-iam-v1 >= 0.12.4
Requires: python-grpc-interceptor >= 0.15.4
Requires: python-proto-plus >= 1.22.0
Requires: python-protobuf >= 3.19.5
Requires: python-protobuf >= 3.20.2
Requires: python-sqlparse >= 0.4.4
Suggests: python-google-cloud-monitoring >= 2.16.0
Suggests: python-mmh3 >= 4.1.0
Suggests: python-libcst >= 0.2.5
Suggests: python-opentelemetry-api >= 1.1.0
Suggests: python-opentelemetry-sdk >= 1.1.0
Suggests: python-opentelemetry-api >= 1.22.0
Suggests: python-opentelemetry-sdk >= 1.22.0
Suggests: python-opentelemetry-semantic-conventions >= 0.43b0
Suggests: python-opentelemetry-resourcedetector-gcp >= 1.8.0a0
Suggests: python-opentelemetry-instrumentation >= 0.20b0
BuildArch: noarch
%python_subpackages
@@ -68,13 +73,11 @@ BuildArch: noarch
Google Cloud Spanner API client library
%prep
%autosetup -p1 -n google-cloud-spanner-%{version}
%autosetup -p1 -n google_cloud_spanner-%{version}
# don't use python-mock
for i in $(find tests -name "*.py")
do
sed -i 's/^import mock/from unittest import mock/g' $i
done
find . -name "*.py" -exec sed -i "s/^import mock/from unittest import mock/g" {} \;
find . -name "*.py" -exec sed -i "s/^from mock/from unittest.mock/g" {} \;
%build
%pyproject_wheel
@@ -105,7 +108,6 @@ export GOOGLE_CLOUD_PROJECT="PROJECT"
%doc README.rst
%license LICENSE
%pycache_only %{python_sitelib}/google/cloud/__pycache__
%{python_sitelib}/google_cloud_spanner-%{version}-*-nspkg.pth
%dir %{python_sitelib}/google
%dir %{python_sitelib}/google/cloud
%{python_sitelib}/google/cloud/spanner*