Micropip

Latest version: v0.9.0

Safety actively analyzes 723152 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.6.0

Fixed

- micropip.install can now locate shared libraries in `<pkg>.libs` directory.
This is consistent with the behavior of pyodide.loadpackage.
[97](https://github.com/pyodide/micropip/pull/97)

0.5.0

Changed

- When custom index URLs are set by `micropip.set_index_urls` or by `micropip.install(index_urls=...)`,
micropip will now query packages from the custom index first,
and then from pyodide lockfile.
[83](https://github.com/pyodide/micropip/pull/83)

- Made micropip.freeze correctly list dependencies of manually installed packages.
[79](https://github.com/pyodide/micropip/pull/79)

0.4.0

Added

- Added `verbose` parameter to micropip.install and micropip.uninstall
[60](https://github.com/pyodide/micropip/pull/60)
- Added `index_urls` parameter to micropip.install to support installing
from custom package indexes.
[74](https://github.com/pyodide/micropip/pull/74)
- Added `micropip.set_index_urls` to support installing from custom package
indexes.
[74](https://github.com/pyodide/micropip/pull/74)
- Added support for Simple API (PEP 503 / PEP 691)
[75](https://github.com/pyodide/micropip/pull/75)
Fixed

- Fixed `micropip.add_mock_package` to work with Pyodide>=0.23.0
[66](https://github.com/pyodide/micropip/pull/66)

Changed

- The default index URL is changed to https://pypi.org/simple
[75](https://github.com/pyodide/micropip/pull/75)

0.3.0

Added

- Added `micropip.uninstall` to uninstall packages
[55](https://github.com/pyodide/micropip/pull/55)

0.2.2

Fixed

- When there is an invalid version on PyPi (defined as unparsable
by [`packaging.version.Version`](https://packaging.pypa.io/en/stable/version.html))
that version is now skipped. Otherwise a single invalid version would
make the package uninstallable, following removal of `LegacyVersion` in
[packaging407](https://github.com/pypa/packaging/pull/407).

Fixed

0.2.1

Changed

- micropip now depends on packaging>=0.23.0
[49](https://github.com/pyodide/micropip/pull/49)

Page 2 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.