Micropip

Latest version: v0.9.0

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

Scan your dependencies

Page 1 of 3

0.9.0

Fixed

- Fix a bug that prevented non-standard relative urls to be treated as such
(the ones that starts with `../` or `./`)
[174](https://github.com/pyodide/micropip/pull/174)

- Fixed an error when calling `micropip.install` with `deps=False` is set.
[187](https://github.com/pyodide/micropip/pull/187)

Added

- `micropip` now vendors `pypa/packaging` for better reliability.
[178](https://github.com/pyodide/micropip/pull/178)
- `micropip.install` adds optional `constraints`, similar to `pip install -c`,
which refine the version or direct URLs of requested packages and their
dependencies. This includes built-in packages, which are now installed after
any requested or constrained external packages.
[181](https://github.com/pyodide/micropip/pull/181)
- `micropip.set_constraints` sets default constraints for later
calls to `micropip.install` that do not specify constraints.
[181](https://github.com/pyodide/micropip/pull/181)

0.8.0

Added

- Added support for PEP-658.
[139](https://github.com/pyodide/micropip/pull/139)

0.7.2

Fixed

- Fix a bug that prevented some wasm32 wheel to be recognized as compatible with pyodide
[159](https://github.com/pyodide/micropip/pull/159)

0.7.1

Fixed

- Fixed bug that prevented package installation from `file:` path in Node.js environment.
[155](https://github.com/pyodide/micropip/pull/155)

0.7.0

Fixed

- `micropip.install` now works with simple http indexes that use relative
links when referencing wheels. [150](https://github.com/pyodide/micropip/pull/150)

Added

- `micropip.install(index_urls=[...])` parameter now supports the special value
`"PYPI"` to refer the `http://pypi.org/simple/` index instead of having to
type the full url.

0.6.1

Fixed

- micropip.install and micropip.uninstall now accepts `verbosity=None`
which does not overwrite a default log level.
[132](https://github.com/pyodide/micropip/pull/132)

- When multiple index urls are given, micropip.install will now correctly
fallback to the next index url when one index url fails to find a package.
[129](https://github.com/pyodide/micropip/pull/129)

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.