All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fixed bug that prevented package installation from
file:
path in Node.js environment. #155
micropip.install
now works with simple http indexes that use relative links when referencing wheels. #150
micropip.install(index_urls=[...])
parameter now supports the special value"PYPI"
to refer thehttp://pypi.org/simple/
index instead of having to type the full url.
-
micropip.install and micropip.uninstall now accepts
verbosity=None
which does not overwrite a default log level. #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
- micropip.install can now locate shared libraries in
<pkg>.libs
directory. This is consistent with the behavior of pyodide.loadpackage. #97
-
When custom index URLs are set by
micropip.set_index_urls
or bymicropip.install(index_urls=...)
, micropip will now query packages from the custom index first, and then from pyodide lockfile. #83 -
Made micropip.freeze correctly list dependencies of manually installed packages. #79
- Added
verbose
parameter to micropip.install and micropip.uninstall #60 - Added
index_urls
parameter to micropip.install to support installing from custom package indexes. #74 - Added
micropip.set_index_urls
to support installing from custom package indexes. #74 - Added support for Simple API (PEP 503 / PEP 691) #75
- Fixed
micropip.add_mock_package
to work with Pyodide>=0.23.0 #66
- The default index URL is changed to https://pypi.org/simple #75
- Added
micropip.uninstall
to uninstall packages #55
- When there is an invalid version on PyPi (defined as unparsable
by
packaging.version.Version
) that version is now skipped. Otherwise a single invalid version would make the package uninstallable, following removal ofLegacyVersion
in packaging#407.
- micropip now depends on packaging>=0.23.0 #49
- Support for adding mock packages, for use where something is a dependency and you don't need it, or you need only a limited subset of the package. This is done using
micropip.add_mock_package
,micropip.remove_mock_package
andmicropip.list_mock_packages
. Packages installed like this will be skipped by dependency resolution when you later install real packages. #26
- When multiple compatible builds for a package exist, the best
build is now installed, as determined by the order of tags in
packaging.tags.sys_tags
. For example, if a package has two pure Python wheels, one taggedpy30
and another taggedpy35
, thepy35
wheel will now always get installed. #34 micropip.install
now supports installing packages by URLs with query parameters #33
Initial standalone release. For earlier release notes, see the Pyodide project changelog.