Skip to content

feat(error-reporting): drop support for Python 3.7, 3.8, and 3.9#17200

Draft
chalmerlowe wants to merge 4 commits into
mainfrom
fix-error-reporting-FTL-1.32.0
Draft

feat(error-reporting): drop support for Python 3.7, 3.8, and 3.9#17200
chalmerlowe wants to merge 4 commits into
mainfrom
fix-error-reporting-FTL-1.32.0

Conversation

@chalmerlowe
Copy link
Copy Markdown
Contributor

@chalmerlowe chalmerlowe commented May 20, 2026

Note

Waiting on changes to synthtools and librarian before regenerating files in this update.

This PR updates google-cloud-error-reporting to establish Python 3.10 as the minimum supported version.

Changes

  • Configuration: Updated setup.py, noxfile.py, CONTRIBUTING.rst, and README.rst to remove references to Python 3.7, 3.8, and 3.9.
  • Environment & Build: Standardised protobuf==4.25.8 and bumped lower-bounds for dependencies in constraints.
  • Cleanup: Removed obsolete pytest.ini warning filters.

Fixes internal issue: http://b/482126936 🦕

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a 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 minimum supported Python version to 3.10 for the google-cloud-error-reporting package. The changes involve updating version requirements in README and CONTRIBUTING files, removing obsolete warning filters for Python 3.7-3.9 in pytest.ini, and adding google-cloud-logging to the testing constraints. The reviewer suggested including the documentation's README path in the automated replacement configuration to ensure consistency during future automated updates.

@chalmerlowe chalmerlowe marked this pull request as ready for review May 20, 2026 11:41
@chalmerlowe chalmerlowe requested a review from a team as a code owner May 20, 2026 11:41
@@ -0,0 +1,48 @@
# Copyright 2026 Google LLC
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Removed new error-reporting-integration.yaml file.

Updated synthtool README template to reference 3.10: googleapis/synthtool#2178
Updated librarian to point at new synthtool commit: googleapis/librarian#6111

grpcio==1.44.0
proto-plus==1.22.3
protobuf==4.25.8
google-cloud-logging==3.9.0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated post-processing.

Updates post processing to account for dropping support for Python 3.7, 3.8, 3.9 and the impacts that has on using 3.10 for lower bounds testing.

### Changes
* Resolved Build & Environment Issues: Bumped google-cloud-logging constraints to versions providing native Python 3.10 wheels and avoiding pkg_resources failures.
* Refactored EOL Checks: Standardised the warning logic using sys.version_info < (3, 10) directly.
* Aligned Protobuf: Standardised protobuf==4.25.8 to align with the GAPIC templates and the rest of the library families.
* Updated Global Post-Processing: Standardised constraints inject rules in `integrate-isolated-handwritten-code.yaml` to ensure constraints are automatically updated during future generation cycles.
@chalmerlowe chalmerlowe force-pushed the fix-error-reporting-FTL-1.32.0 branch from 6253114 to 6c6e8ed Compare May 21, 2026 09:48
@chalmerlowe chalmerlowe marked this pull request as draft May 21, 2026 11:22
Regenerates google-cloud-error-reporting package using gapic-generator v1.32.0 and automates the EOL update.

- Adds automated post-processing rules to clean up pytest.ini and CONTRIBUTING.rst

- Bumps and stabilizes google-cloud-logging constraints in constraints files to ensure stable environment

- Standardizes and automates README formatting natively via updated synthtool templates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants