Skip to content

fix: regenerate solr-synonyms-api poetry.lock with cloud-sql-connector 0.2.3#1992

Closed
panish16 wants to merge 2 commits into
bcgov:mainfrom
panish16:fix/regenerate-synonyms-lock
Closed

fix: regenerate solr-synonyms-api poetry.lock with cloud-sql-connector 0.2.3#1992
panish16 wants to merge 2 commits into
bcgov:mainfrom
panish16:fix/regenerate-synonyms-lock

Conversation

@panish16

Copy link
Copy Markdown
Contributor

Summary

The solr-synonyms-api lock was stuck at cloud-sql-connector 0.2.0 which predates setup_pg8000_close_event_listener (added in 0.2.3). Previous manual lock edits failed because they didn't account for all transitive dependency changes.

This lock was properly regenerated inside a python:3.12.2 Docker container using:

poetry update cloud-sql-connector namex

Verified locally that cloud_sql_connector.setup_pg8000_close_event_listener imports correctly with the new lock.

Test plan

  • Re-add setup_pg8000_close_event_listener to synonyms/__init__.py
  • Deploy to dev and confirm service starts without ImportError

…ctor 0.2.3

Previous lock was stuck at 0.2.0 which predates setup_pg8000_close_event_listener.
Regenerated inside python:3.12.2 container using poetry update cloud-sql-connector namex.
Removed in bcgov#1991 as emergency unblock while the lock was stale.
Now that poetry.lock is regenerated with cloud-sql-connector 0.2.3,
the import resolves correctly and the listener can be added back.
@panish16 panish16 closed this Jun 25, 2026
@sonarqubecloud

Copy link
Copy Markdown

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.

1 participant