GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: require Python 3.10+ by parthea · Pull Request #17245 · googleapis/google-cloud-python

Conversation

@parthea

@parthea parthea commented May 25, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

chore: enable generation / release for bigtable

Fixes b/510022189, b/507893758, b/507889482, b/503326310

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

gemini-code-assist[bot] reacted with eyes emoji
All reactions
  • 👀 1 reaction
@parthea
chore: enable google-cloud-bigtable generation/release
c7205cf
@parthea parthea self-assigned this May 25, 2026
gemini-code-assist[bot]
gemini-code-assist Bot reviewed May 25, 2026
View reviewed changes

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the google-cloud-bigtable library, bumping the minimum supported Python version to 3.10 and updating core dependencies. It introduces internal session-related types, adds an Edition field to the Instance type, and enhances AutomatedBackupPolicy with location-based settings. The PR also includes significant cleanup of repository metadata, fixes to asynchronous sample code, and updates to the documentation and copyright headers. I have no feedback to provide.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
parthea added 13 commits May 25, 2026 16:25
@parthea
re-run generation
9da7120
@parthea
re-run generation
c4ea611
@parthea
re-run generation
463bf75
@parthea
re-run generation
f643d1b
@parthea
switch to ruff
29bb257
@parthea
fix compatibility with google-auth
d600e13
@parthea
bump google-crc32c and grpc-google-iam-v1
3597af0
@parthea
fix compatibility with older google-auth
750af2b
@parthea
lint
7dd7095
@parthea
fix test
f77301a
@parthea
remove references to Python 3.7,3.8,3.9
efd8e8a
@parthea
run nox -s generate_sync
e5d81e7
@parthea
lint
5b446e5
@parthea
parthea marked this pull request as ready for review May 26, 2026 14:21
@parthea
parthea requested review from a team as code owners May 26, 2026 14:21
@parthea parthea assigned chalmerlowe and unassigned parthea May 26, 2026
@parthea parthea changed the title chore: enable google-cloud-bigtable generation/release fix: require Python 3.10+ May 26, 2026
@chalmerlowe

chalmerlowe commented May 26, 2026

Copy link
Copy Markdown
Contributor

This file has a lingering reference to 3.8 that is unnecessary:

google-cloud-python/packages/google-cloud-bigtable/google/cloud/bigtable/data/_cross_sync/cross_sync.py

Line 205 in b85ff03

if task_name and sys.version_info >= (3, 8):

Other than that, this looks very clean of all references to 3.7, 3.8, 3.9. Lingering references appear to be standard boilerplate that should be there.

parthea reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chalmerlowe
chalmerlowe approved these changes May 26, 2026
View reviewed changes

@chalmerlowe chalmerlowe left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like to request that one last unnecessary reference to version 3.8 be removed.

Other than that, approved.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

parthea reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
parthea added 2 commits May 26, 2026 14:46
@parthea
remove reference to 3.8
98964c4
@parthea
lint
6aebb71
@parthea

parthea commented May 26, 2026

Copy link
Copy Markdown
Contributor Author

New failures

FAILED tests/unit/data/_async/test_client.py::TestBigtableDataClientAsync::test__start_background_channel_refresh_sync - RuntimeError: There is no current event loop in thread 'MainThread'.
FAILED tests/unit/data/_async/test_client.py::TestBigtableDataClientAsync::test_client_ctor_sync - Failed: DID NOT WARN. No warnings of type (<class 'RuntimeWarning'>,) were emitted.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chalmerlowe chalmerlowe added this to the generate via 1.32.0 milestone May 27, 2026
@chalmerlowe chalmerlowe added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 27, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 27, 2026
@chalmerlowe

chalmerlowe commented May 27, 2026

Copy link
Copy Markdown
Contributor

Gonna close temporarily to trigger a re-evaluation of merge against main to see if recent code updates help resolve failing tests.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chalmerlowe chalmerlowe closed this May 27, 2026
@chalmerlowe chalmerlowe reopened this May 27, 2026
@chalmerlowe

chalmerlowe commented May 27, 2026

Copy link
Copy Markdown
Contributor

@parthea

Due to our settings, this PR is not automagically comparing against main.

main now has a number of changes including changes that should resolve the pytest-asyncio issue based on PR #17260

You should be able to confirm by:

  1. Merging the latest main into your branch manually.
  2. Bump the grpcio lower bounds in the following files (e.g. likely through bigtable-integration.yaml):
    • setup.py: Change "grpcio >= 1.44.0" to "grpcio >= 1.59.0".
    • testing/constraints-3.10.txt: Change grpcio==1.44.0 to grpcio==1.59.0.
  3. Re-run the client generation.

That should ensure that your branch has the get_running_loop() pytest autouse fixture to ensure correct behaviour regardless of whether the CI/CD is using pytest-asyncio with Python runtimes 3.10 through 3.14.

If you have any troubles, please let me know.

parthea reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@parthea

parthea commented May 27, 2026

Copy link
Copy Markdown
Contributor Author

Wait for googleapis/librarian#6171

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

parthea added 2 commits May 27, 2026 17:22
@parthea
run generation
a0595fc
@parthea
Merge branch 'main' into enable-bigtable-generation-release
c4b6ae5
@parthea parthea mentioned this pull request May 27, 2026
tests: resolve failure related to unpacking dictionary for protobuf messages #17273
Merged
parthea added a commit that referenced this pull request May 27, 2026
@parthea
tests: resolve failure related to unpacking dictionary for protobuf m…
58df2da
…essages (#17273)

This PR resolves the following failure in
#17245 ([build
log](https://github.com/googleapis/google-cloud-python/actions/runs/26527262176/job/78134171625?pr=17245))

```
==================================== ERRORS ====================================
_ ERROR collecting tests/unit/gapic/bigtable_admin_v2/test_bigtable_instance_admin.py _
tests/unit/gapic/bigtable_admin_v2/test_bigtable_instance_admin.py:7259: in <module>
    iam_policy_pb2.GetIamPolicyRequest({}),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   TypeError: _AddInitMethod.<locals>.init() takes 1 positional argument but 2 were given
_ ERROR collecting tests/unit/gapic/bigtable_admin_v2/test_bigtable_table_admin.py _
tests/unit/gapic/bigtable_admin_v2/test_bigtable_table_admin.py:11222: in <module>
    iam_policy_pb2.GetIamPolicyRequest({}),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   TypeError: _AddInitMethod.<locals>.init() takes 1 positional argument but 2 were given
```


To resolve the issue, this PR adds `**` to unpack fields as keyword
arguments, maintaining compatibility with both proto-plus and pure
protobuf messages.
parthea added 4 commits May 28, 2026 15:50
@parthea
re-run generation
277117c
@parthea
re-run generation
0e07f52
@parthea
Apply fix from #17260
8e3f211
@parthea
Run nox -s generate_sync
2f9f733
ohmayr
ohmayr approved these changes May 28, 2026
View reviewed changes
@parthea
parthea enabled auto-merge (squash) May 28, 2026 16:49
@parthea
parthea merged commit 200b0d3 into main May 28, 2026
30 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@parthea
parthea deleted the enable-bigtable-generation-release branch May 28, 2026 17:03
@release-please release-please Bot mentioned this pull request Jun 17, 2026
chore(main): release google-cloud-bigtable 2.39.0 #17497
Merged
parthea pushed a commit that referenced this pull request Jun 22, 2026
@release-please
chore(main): release google-cloud-bigtable 2.39.0 (#17497)
f6937b3
🤖 I have created a release *beep* *boop*
---


##
[2.39.0](google-cloud-bigtable-v2.38.0...google-cloud-bigtable-v2.39.0)
(2026-06-22)


### Features

* added client side metric instrumentation to read_rows and mutate_rows
([#16758](#16758))
([4005e66](4005e66))
* **bigtable:** add client side metric instrumentation to basic rpcs
([#16712](#16712))
([636af26](636af26))
* **bigtable:** add view_parameters support to execute_query
([#17382](#17382))
([2695aad](2695aad))
* support row_range in sample_row_keys method
([#17330](#17330))
([384724c](384724c)),
closes
[#17329](#17329)
* update API sources and regenerate
([#17431](#17431))
([2e75c78](2e75c78))
* update googleapis and regenerate
([33ba3af](33ba3af))


### Bug Fixes

* **bigtable:** ensure deadline is respected for read_rows_sharded
([#17352](#17352))
([6cc890b](6cc890b))
* require Python 3.10+
([#17245](#17245))
([200b0d3](200b0d3))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
chalmerlowe pushed a commit that referenced this pull request Jun 25, 2026
@release-please @chalmerlowe
chore(main): release google-cloud-bigtable 2.39.0 (#17497)
d39095b
🤖 I have created a release *beep* *boop*
---


##
[2.39.0](google-cloud-bigtable-v2.38.0...google-cloud-bigtable-v2.39.0)
(2026-06-22)


### Features

* added client side metric instrumentation to read_rows and mutate_rows
([#16758](#16758))
([4005e66](4005e66))
* **bigtable:** add client side metric instrumentation to basic rpcs
([#16712](#16712))
([636af26](636af26))
* **bigtable:** add view_parameters support to execute_query
([#17382](#17382))
([2695aad](2695aad))
* support row_range in sample_row_keys method
([#17330](#17330))
([384724c](384724c)),
closes
[#17329](#17329)
* update API sources and regenerate
([#17431](#17431))
([2e75c78](2e75c78))
* update googleapis and regenerate
([33ba3af](33ba3af))


### Bug Fixes

* **bigtable:** ensure deadline is respected for read_rows_sharded
([#17352](#17352))
([6cc890b](6cc890b))
* require Python 3.10+
([#17245](#17245))
([200b0d3](200b0d3))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@release-please release-please Bot mentioned this pull request Jul 15, 2026
chore(main): release google-cloud-bigtable 0.1.0 #17719
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chalmerlowe chalmerlowe chalmerlowe approved these changes
@ohmayr ohmayr ohmayr approved these changes
+1 more reviewer
@gemini-code-assist gemini-code-assist[bot] gemini-code-assist[bot] left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@chalmerlowe chalmerlowe

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@parthea @chalmerlowe @ohmayr @yoshi-kokoro
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.