Skip to content

Replace loadDynlibsFromPackage and get_dynlibs with install API #235

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

ryanking13
Copy link
Member

This PR adopts install function (pyodide/pyodide#4914), which is a stable API for installing packages that Pyodide runtime provides.

It replaces other compatibility functions such as loadDynlibsFromPackage and get_dynlibs, and removes duplicate codes.

) -> None:
pass
from micropip.metadata import wheel_dist_info_dir
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this go below the docstring?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right. Thanks for the catch.

@ryanking13 ryanking13 requested a review from hoodmane May 28, 2025 10:09
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants