chore: update librarian to v0.14.1-0.20260522151051-433d9e6211ad#17235
chore: update librarian to v0.14.1-0.20260522151051-433d9e6211ad#17235suztomo wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Code Review
This pull request bumps the minimum supported Python version to 3.10 across multiple packages and optimizes noxfile.py by batching dependency installations. It also introduces new Iceberg-related types in google-cloud-biglake, removes unused imports in google-cloud-chronicle, and updates regex matching in google-cloud-datacatalog-lineage tests. Feedback highlights that the Python version bump requires project metadata updates and a minor version increase to reflect the breaking change. Additionally, a missing re import was identified in the noxfile.py logic, and a contradiction between the docstring and implementation was noted for the TableIdentifier.namespace field.
| Python. | ||
|
|
||
| Python >= 3.9, including 3.14 | ||
| Python >= 3.10, including 3.14 |
There was a problem hiding this comment.
The minimum supported Python version is being bumped to 3.10. Please ensure that the project metadata in setup.py (or pyproject.toml) and the Trove classifiers are also updated to reflect this change. Additionally, when dropping support for specific Python versions, prefer a minor version bump over a patch version bump; this maintains the ability to provide patches for the previous minor version for users still requiring the older environment. If this change appears in documentation examples, ensure the current stable Python version is used rather than the minimum supported version.
References
- When a release introduces breaking changes in environment requirements, such as dropping support for specific Python versions or major dependency versions (e.g., protobuf), prefer a minor version bump over a patch version bump.
- When updating Python versions in documentation examples, such as nox commands in CONTRIBUTING.rst, use the current stable release version rather than the minimum supported version to ensure examples are relevant and functional for the majority of developers.
| parsed_deps = { | ||
| dep: re.match(r"^([a-zA-Z0-9_-]+)", dep).group(1) for dep in prerel_deps | ||
| } |
There was a problem hiding this comment.
The re module is used here but does not appear to be imported in this file. This will cause a NameError at runtime. Additionally, re.match(...).group(1) will raise an AttributeError if no match is found. Consider handling the case where no match is found, although the current list of dependencies is safe.
| parsed_deps = { | |
| dep: re.match(r"^([a-zA-Z0-9_-]+)", dep).group(1) for dep in prerel_deps | |
| } | |
| import re | |
| parsed_deps = { | |
| dep: re.match(r"^([a-zA-Z0-9_-]+)", dep).group(1) for dep in prerel_deps | |
| } |
| namespace: MutableSequence[str] = proto.RepeatedField( | ||
| proto.STRING, | ||
| number=1, | ||
| ) |
There was a problem hiding this comment.
parthea
left a comment
There was a problem hiding this comment.
LGTM, but holding off on formal approval until tests pass
|
The CI is still running. This is strange:
|
The "cover" step is waiting for unit steps https://github.com/googleapis/google-cloud-python/actions/runs/26290889161/workflow#L119. |
This is WAI. The google-cloud-python/.github/workflows/unittest.yml Lines 117 to 120 in 3397d1b |
|
Kokoro Systeem Tests failed: http://sponge/84955894-76bd-4caf-aaa9-c3a83f25ef96 : I clicked rebuild. |
|
#17239 should fix |
This PR is needed to resolve the failing `unit-3.11` presubmit in #17235 which is due to a new DeprecationWarning from `opentelemetry-api`. See [build log](https://github.com/googleapis/google-cloud-python/actions/runs/26299236667/job/77419821319?pr=17235). This PR filters the deprecation warning in `opentelemetry-api` until a fix is available. See the linked issue for more information.
1b63411 to
e170016
Compare
Using Librarian revision 433d9e6211ade41965f4be8b8fe8ca33c1d820ee.