You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This sometimes comes up in discussions on hosted jupyterlab contexts with outdated openeo (python package): is it possible to inform the user that a newer version of the client is available?
One possible solution inspired by how pip, which shows a warning when it detects a newer version is abailbale:
$ pip install ...
WARNING: You are using pip version 20.1.1; however, version 22.0.4 is available.
You should consider upgrading via the '..../bin/python3.7 -m pip install --upgrade pip' command.
we could do something comparable when the user does import openeo
The text was updated successfully, but these errors were encountered:
Hi @soxofaan, I've tried to create a PR to address this issue. It actually check if the current version is the same as the one available online, not if is >=.
quick note: with #176 the conda package is now also distributed through conda, which makes this "version warning" feature a bit more complex: you don't want to push users to pip install if the package was originally installed with conda. I'm not sure if it is possible to properly detect the installation context and emit the correct warning
This sometimes comes up in discussions on hosted jupyterlab contexts with outdated
openeo
(python package): is it possible to inform the user that a newer version of the client is available?One possible solution inspired by how
pip
, which shows a warning when it detects a newer version is abailbale:we could do something comparable when the user does
import openeo
The text was updated successfully, but these errors were encountered: