Skip to content

chore(deps): update connectors#298

Merged
vishwarajanand merged 6 commits intomainfrom
update-connectors
Apr 28, 2025
Merged

chore(deps): update connectors#298
vishwarajanand merged 6 commits intomainfrom
update-connectors

Conversation

@vishwarajanand
Copy link
Contributor

@vishwarajanand vishwarajanand commented Apr 23, 2025

The new version of connectors are leading to test failures, ref tests in #297.

This PR pins the issue to connector's latest version so that other packages can be unblocked from version updates.

Tests hinting the issue is related to connectors (AND not session dispose)

  1. In the first commit of PR, the session dispose is NOT commented out. This leads to failures like RuntimeError: Session is closed in several tests during test run. Ref GCB log

  2. In the second iteration of this PR, the session dispose is commented out ensuring sessions are not disposed/closed at all. This leads to RuntimeError: Session is closed failures in several tests. Ref GCB log

Update

The errors seem like coming from an additional connector close, which is now removed in dd79dae and 599cc54

@product-auto-label product-auto-label bot added the api: cloudsql-postgres Issues related to the googleapis/langchain-google-cloud-sql-pg-python API. label Apr 23, 2025
@vishwarajanand vishwarajanand added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Apr 23, 2025
@vishwarajanand vishwarajanand marked this pull request as ready for review April 23, 2025 19:33
@vishwarajanand vishwarajanand requested review from a team April 23, 2025 19:33
@vishwarajanand vishwarajanand removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Apr 24, 2025
@vishwarajanand vishwarajanand merged commit 809893e into main Apr 28, 2025
11 checks passed
@vishwarajanand vishwarajanand deleted the update-connectors branch April 28, 2025 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: cloudsql-postgres Issues related to the googleapis/langchain-google-cloud-sql-pg-python API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants