mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 06:58:56 +00:00
order_pyodide_wheel_shared_objects: explain why
This commit is contained in:
@@ -2,7 +2,17 @@
|
|||||||
# /// script
|
# /// script
|
||||||
# ///
|
# ///
|
||||||
# This file was generated with the assistance of an AI coding tool.
|
# This file was generated with the assistance of an AI coding tool.
|
||||||
"""Order Pyodide wheel shared objects so wasm side modules load safely."""
|
"""Order Pyodide wheel shared objects so wasm side modules load safely.
|
||||||
|
|
||||||
|
Pyodide's package loader loads a wheel's bundled ``.so`` files in the order
|
||||||
|
they appear in the wheel's zip.
|
||||||
|
If a ``.so`` that depends on symbols from another ``.so`` is loaded first,
|
||||||
|
loading fails with errors like
|
||||||
|
- "Failed to load dynamic library"
|
||||||
|
- "Dynamic linking error: cannot resolve symbol"
|
||||||
|
|
||||||
|
This is a known issue upstream - https://github.com/pyodide/pyodide/issues/6020.
|
||||||
|
"""
|
||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user