You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expect the Spanner go.sum to be comparable in size to other packages in this repo, about 200 lines of related dependencies.
Actual behavior
The Spanner go.sum is 1600 lines versus ~200 lines for other packages. It includes multiple versions of every other sub-package in this repo, sqlite, and a host of other entries.
Client
Spanner
Code and Dependencies
Expected behavior
I expect the Spanner go.sum to be comparable in size to other packages in this repo, about 200 lines of related dependencies.
Actual behavior
The Spanner go.sum is 1600 lines versus ~200 lines for other packages. It includes multiple versions of every other sub-package in this repo, sqlite, and a host of other entries.
Additional context
Likely caused by cyclic imports, similar to golang/protobuf#1204.
cloud.google.com/go/spanner
depends ongoogle.golang.org/genproto
.google.golang.org/genproto
dependscloud.google.com/go/spanner
The cycle causes the minimal version selection algorithm to pull in all (most?) tagged versions. For example, https://github.com/googleapis/google-cloud-go/blob/main/spanner/go.sum#L124C1-L135C92:
The text was updated successfully, but these errors were encountered: