Skip to content

[CI][Python] Pyodide import error #50774

Description

@kou

Describe the bug, including details regarding any error messages, version, and platform.

This is a follow-up task of #50650 .

test-conda-python-emscripten isn't failed without #50650 . So #50650 must have a problem for Pyodide build. (#50640 changes static linking related configurations.)

With #50650, test-conda-python-emscripten failed as an import error:

https://github.com/ursacomputing/crossbow/actions/runs/30689621441/job/91341898998#step:6:6456

    from pyarrow.lib import (BuildInfo, CppBuildInfo, RuntimeInfo, set_timezone_db_path,
ImportError: dynamic module does not define module export function (PyInit_lib)

    at new_error (/pyodide/pyodide.asm.js:10:9965)
    at wasm://wasm/0267d6e2:wasm-function[302]:0x16dbeb
    at wasm://wasm/0267d6e2:wasm-function[489]:0x177339
    at _PyEM_TrampolineCall_JS (/pyodide/pyodide.asm.js:10:125866)
    at wasm://wasm/0267d6e2:wasm-function[1134]:0x1c2db7
    at wasm://wasm/0267d6e2:wasm-function[3602]:0x2c7b17
    at wasm://wasm/0267d6e2:wasm-function[2167]:0x20a78c
    at wasm://wasm/0267d6e2:wasm-function[1142]:0x1c34a4
    at wasm://wasm/0267d6e2:wasm-function[1145]:0x1c37b3
    at wasm://wasm/0267d6e2:wasm-function[1146]:0x1c3831
    at wasm://wasm/0267d6e2:wasm-function[3408]:0x29e865
    at wasm://wasm/0267d6e2:wasm-function[3409]:0x2a4e5c
    at wasm://wasm/0267d6e2:wasm-function[1148]:0x1c3971
    at wasm://wasm/0267d6e2:wasm-function[1143]:0x1c35da {
  type: 'ImportError',
  __error_address: 86986528
}

I think that some symbols are missing but it's not reported in the error message. So I defer this as a follow-up task.

Could someone help this?

Component(s)

Continuous Integration, Python

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions