Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if current version is the latest version #157

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

HarmvZ
Copy link
Member

@HarmvZ HarmvZ commented Jul 29, 2024

Closes #152

Checks the version and produces a warning on import when a newer version is available on pypi.

Copy link
Member

@jmsmkn jmsmkn left a comment

Choose a reason for hiding this comment

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

I was wondering if we should have an API endpoint for this in addition to this? That way we can block versions that are no longer supported and force an upgrade.

@HarmvZ
Copy link
Member Author

HarmvZ commented Aug 1, 2024

That's a good idea. So an endpoint on gc that returns the lowest supported version which will make gcapi raise an error if its version is lower?

@jmsmkn
Copy link
Member

jmsmkn commented Aug 1, 2024

Indeed!

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.

Detect when client is out of date
2 participants