chore: bump wherobots-python-dbapi pin to >=0.28.0 and version to 1.7.0 - #59
Merged
Conversation
PR #57 made region/runtime optional and accept str|enum on the operator side, but the dbapi floor was intentionally left at >=0.26.1 so the PR's CI could resolve before dbapi v0.28.0 was published. v0.28.0 is now on PyPI (released today) and includes the matching client-side change: strings (BYOC regions included) pass through, and an omitted value lets the API apply the org's configured default. This commit raises the floor so we actually depend on the new behavior, refreshes the lock to resolve to 0.28.0, and bumps the package version to 1.7.0 (minor — additive: existing callers passing Region enums still work; existing callers omitting region/runtime now follow the org default instead of the previous hardcoded aws-us-west-2/tiny).
sfishel18
approved these changes
May 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
wherobots-python-dbapifloor inpyproject.tomlfrom>=0.26.1to>=0.28.0.airflow-providers-wherobotsversion from1.6.1to1.7.0(release vehicle for feat: accept str|enum region/runtime, omit when unset for org default #57).uv.lockso the package actually resolves to dbapi0.28.0.Why now
PR #57 widened
region/runtimetostr | enum | NoneonWherobotsRunOperator/WherobotsSqlOperatorand stopped injecting hardcodedaws-us-west-2/tinydefaults, but left the dbapi floor at>=0.26.1so the PR's CI could resolve before dbapi v0.28.0 was published. v0.28.0 is now on PyPI and includes the matching client-side change — strings (BYOC included) pass through to the API as-is, and omitted values let the API apply the org's configured default.Without this bump, an installer of
airflow-providers-wherobots>=1.6.1could still resolve to the old enum-only dbapi 0.26.1 / 0.27.0 and crash on raw BYOC region strings viaRegion(value).Compatibility
Region.X/Runtime.Xenums continue to work — their.valueis used at the request boundary.region/runtimewill now follow the org's configured default instead of the previous hardcodedaws-us-west-2/tiny. If you depended on the old hardcoded values, pass them explicitly.Test plan
tests/unit_tests/operators/test_helpers.py::TestWarnForDefaultRegionpasses (3/3) and region/runtime-focused operator tests pass (9 collected).WherobotsRestAPIHook.create_runwith no region →aws-eu-west-1(org default); raw BYOC stringaws-us-east-1-djrm9bs9uf→ passthrough;Regionenum →.valueresolved.pypi-publish.yamlsucceeds andpip index versions airflow-providers-wherobotsshows1.7.0.