Skip to content

Record what the Python floor work taught - #1462

Merged
neuromechanist merged 1 commit into
devfrom
docs/memory-pyodide-ceiling
Sep 21, 2026
Merged

neuromechanist merged 1 commit into
devfrom
docs/memory-pyodide-ceiling

Conversation

@neuromechanist

Copy link
Copy Markdown
Contributor

Two .memory/ entries from sccn/eegprep#399, both traps that cost real time today.

Pyodide is a ceiling, not a floor. For a package
that has to run in the browser, requires-python and every dependency floor cap at what the Pyodide
release ships, because Pyodide bundles its own build of every compiled package and micropip has no
WebAssembly fallback. This inverts how a floor normally reads and is invisible from the code, which
is how threadpoolctl>=3.6.0 reached epic/324-pyodide-browser against a distribution shipping
3.5.0.

Carries the version table verified against pyodide-lock.json for 0.29.5, the note that markers
evaluate with sys_platform == "emscripten", and the warning that
tools/check_pyodide_base_resolution.py on the epic branch cannot be trusted for this because it
matches package names and never compares versions (sccn/eegprep#400).

MATLAB engine caps CI Python version. Adding
3.13 to eegprep's matrix went red at the engine install with MATLAB Engine for Python supports Python version 3.9, 3.10, 3.11, and 3.12. uv sync had already succeeded; nothing about eegprep
was wrong. The obvious reading is that the new Python broke the package, and chasing that reading
wastes the whole investigation. Includes the gh api .../actions/jobs/<id> trick for step-level
conclusions while a run is still in progress and --log refuses.

Both dated and sourced, per the directory's own rules.

Two entries, both from sccn/eegprep#399.

The Pyodide ceiling: for a browser-bound package, requires-python and
every dependency floor cap at what the Pyodide release ships, because
micropip has no WebAssembly build to fall back to. This inverts how a
floor normally reads and is invisible from the code, which is how
threadpoolctl>=3.6.0 reached the epic branch against a distribution
shipping 3.5.0. Carries the verified 0.29.5 version table and the
warning that the epic branch's own gate compares names, not versions.

The MATLAB engine ceiling: each MATLAB release covers a fixed set of
Python versions, so adding 3.13 to the matrix went red on MathWorks'
engine install while uv sync had already succeeded. The obvious reading
is that the new Python broke the package, and that reading is wrong.
@github-actions

Copy link
Copy Markdown

📦 Package Preview

Your package is ready to test!

bun install -g nemar-cli@PR1462

Version: 0.10.5-PR1462.f038d93
Commit: f038d93


🤖 Updated on each push.

@neuromechanist
neuromechanist merged commit 251f486 into dev Sep 21, 2026
12 checks passed
@neuromechanist
neuromechanist deleted the docs/memory-pyodide-ceiling branch September 21, 2026 06:11

This branch was previously deployed

1 inactive deployment
npm — f038d938 Deployed Sep 21, 2026 by neuromechanist via publish #2760
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.

1 participant