pyemscripten wheel is unimportable: the Python layer imports async-only classes unconditionally

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
57/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
python, wasm
Domain
backend

Research direction

Start by running the supplied Pyodide and Node reproducer against the published pyemscripten wheel, then inspect the Python-layer imports involved in import zarrista. Trace which async-only classes are imported unconditionally and verify that the resulting wheel can be installed and imported successfully in Pyodide.

Written by the indexing model from the issue text.

Description

Just stumbled upon this and wanted to quickly report 🙏

import zarrista fails on Pyodide with the published zarrista-0.1.0-cp314-cp314-pyemscripten_2026_0_wasm32.whl.

Reproducer

Pyodide 314.0.4, Node 26, zarrista 0.1.0:

import { loadPyodide } from "pyodide";

const pyodide = await loadPyodide({ packages: ["micropip"] });
await pyodide.runPythonAsync(`
import micropip
# see the footnote: zarr-metadata 0.5.0 wants typing-extensions>=4.16, Pyodide ships 4.15.0
await micropip.install(["typing-extensions>=4.16"], reinstall=True)
await micropip.install(["zarrista"])
import zarrista
`);

zarr-metadata 0.5.0 requires typing-extensions>=4.16, while Pyodide 314 ships 4.15.0, so micropip refuses to install zarrista at all.

Dominant language
Python
Stars
52
Forks
3
Avg merge
36m
Merged PRs (30d)
5

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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/zarrista

All issues in developmentseed/zarrista

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.