Re-enable openeo >=0.50 (geopandas runtime dep) in Pyodide

Open
#72 1 comment 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@danielfdsilva is already working on this.

Since May 19, 2026.

Assessment

This issue has not been assessed yet.

Description

bug

Context

In #71 we pinned openeo<0.50 as a quick fix for #70. openeo 0.50.0 promoted geopandas from an optional/test extra to a hard runtime dependency:

```
'geopandas>=0.14; python_version >= "3.9"',
'geopandas',
```

micropip cannot currently resolve geopandas (and its native GDAL/fiona/pyogrio chain) in the Pyodide build we use, so installing openeo 0.50+ breaks the editor's Python env initialization.

Goal

Remove the openeo<0.50 pin in `app/contexts/pyodide-context.tsx` and run on the latest openeo release.

Options to investigate

  1. Wait for / pull a Pyodide release with geopandas + pyogrio. Track Pyodide's package index — geopandas has been available in past releases via the built-in package list (loaded with pyodide.loadPackage('geopandas') rather than micropip). We may need to:
    • Bump the pyodide npm version.
    • Pre-load geopandas via loadPackage before micropip.install('openeo') so micropip sees it as already satisfied.
  2. Use `micropip.install(..., deps=False)` or a custom resolver to skip geopandas if openeo doesn't actually need it at runtime for the code paths we exercise (worth confirming upstream — it may have been added for a niche helper).
  3. Open an upstream issue/PR on Open-EO/openeo-python-client to make geopandas an optional extra again (e.g. `openeo[geopandas]`), since it pulls in a heavy native stack that isn't friendly to browser/Pyodide environments.
  4. Vendor a minimal shim that satisfies the geopandas import surface openeo touches, if (2) turns out to be feasible but fragile.

Acceptance criteria

  • micropip.install('openeo') (unpinned) succeeds in our Pyodide setup.
  • Editor loads and runs existing sample scenes without regression.
  • Pin removed from `app/contexts/pyodide-context.tsx` along with the explanatory comment.

Related

Dominant language
TypeScript
Stars
11
Forks
0
Avg merge
2d 11h
Merged PRs (30d)
7

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

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.

More from developmentseed/openeo-studio

All issues in developmentseed/openeo-studio

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.