Skip to content

CI Failure - Test Pyodide #8136

Closed
Closed

Description

@blink1073

The "Test Pyodide" build started failing today on multiple runs, including on main (https://github.com/scikit-image/scikit-image/actions/runs/25019242976). It appears to be due to pypa/pip#13915, which upgraded urllib3 and vendored its emscripten backend.

...
  File "/home/runner/work/scikit-image/scikit-image/.venv-pyodide/lib/python3.13/site-packages/pip/_vendor/requests/__init__.py", line 43, in <module>
    from pip._vendor import urllib3
  File "/home/runner/work/scikit-image/scikit-image/.venv-pyodide/lib/python3.13/site-packages/pip/_vendor/urllib3/__init__.py", line 209, in <module>
    from .contrib.emscripten import inject_into_urllib3  # noqa: 401
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/scikit-image/scikit-image/.venv-pyodide/lib/python3.13/site-packages/pip/_vendor/urllib3/contrib/emscripten/__init__.py", line 6, in <module>
    from .connection import EmscriptenHTTPConnection, EmscriptenHTTPSConnection
  File "/home/runner/work/scikit-image/scikit-image/.venv-pyodide/lib/python3.13/site-packages/pip/_vendor/urllib3/contrib/emscripten/connection.py", line 17, in <module>
    from .fetch import _RequestError, _TimeoutError, send_request, send_streaming_request
  File "/home/runner/work/scikit-image/scikit-image/.venv-pyodide/lib/python3.13/site-packages/pip/_vendor/urllib3/contrib/emscripten/fetch.py", line 45, in <module>
    import js  # type: ignore[import-not-found]
    ^^^^^^^^^
ModuleNotFoundError: No module named 'js'

Activity

  1. blink1073 commented on Apr 28, 2026

    @blink1073
    ContributorAuthor

    This is due to the fact that urllib3 automatically tries to enable emscripten support when sys.platform == "emscripten". We may be able to fix it by installing firefox as was done for urllib3 in CI as part of adding emscripten support.

  2. added
    🤖 type: Infrastructure
    on Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🤖 type: InfrastructureCI failure

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions