Open-EO / Open-EO/openeo-python-client

warn about newer version of python client

Open
#296 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

collect feedback feature request nice-to-have usability
Dominant language
Python
Stars
217
Forks
56
Avg merge
1d 22h
Merged PRs (30d)
2

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The requested entry point is import openeo; start by reviewing the package's current import behavior and the issue discussion about hosted JupyterLab environments. Done means users with an outdated client are informed that a newer version is available, with guidance comparable to pip's warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
developer-experience
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.