Skip to content

Conversation

JamesGuthrie
Copy link
Member

No description provided.

@JamesGuthrie JamesGuthrie requested a review from a team as a code owner May 7, 2025 11:23
@JamesGuthrie JamesGuthrie temporarily deployed to internal-contributors May 7, 2025 11:23 — with GitHub Actions Inactive
@JamesGuthrie JamesGuthrie force-pushed the jg/warn-on-outdated-pgai branch from f1f751c to 8c18a70 Compare May 7, 2025 11:41
@JamesGuthrie JamesGuthrie temporarily deployed to internal-contributors May 7, 2025 11:41 — with GitHub Actions Inactive
@JamesGuthrie JamesGuthrie force-pushed the jg/warn-on-outdated-pgai branch from 8c18a70 to b1b75af Compare May 7, 2025 11:51
@JamesGuthrie JamesGuthrie temporarily deployed to internal-contributors May 7, 2025 11:51 — with GitHub Actions Inactive
Comment on lines +54 to +59
if semver.Version.parse(__version__) > semver.Version.parse(
version.pgai_lib_version
):
logger.warning(
f"The pgai installation in your database is outdated and can be upgraded. Installed version: {version.pgai_lib_version}, latest version: {__version__}." # noqa
)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this check be somewhere more central in the library? This would be a valuable check to run in the text-to-sql code too.

@JamesGuthrie JamesGuthrie merged commit ea16719 into main May 7, 2025
14 checks passed
@JamesGuthrie JamesGuthrie deleted the jg/warn-on-outdated-pgai branch May 7, 2025 12:12
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