Repository navigation
packages: Install Package and search offer omip for OmniPython packages - #221
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On MicroPython, Install Package in the editor and the browser interface now asks whether to install with omip or mip, omip first, and then for the name. Choosing omip calls the same omip_install the command line uses, so an OmniPython package comes with what it needs from micropython-lib. A hidden mpftp: omip Install Package command sits beside the mip and circup ones. CircuitPython still goes straight to circup.
Package search gains the OmniPython index (lib.omnipython.org) as a fifth source, listed after micropython-lib. Its results install with
mpftp omip NAME. The OmniPython and PyDevices indexes share 28 package names, always with different versions (OmniPython carries the newer pre-releases), so both copies are listed and each installs its own way. The search hints, the CLI help, the install guide and the board-tools skill name the new index, and the roadmap bullet is gone.Tests: the package search tests (27, two new, with a fixture cut from the live OmniPython index) fail on main and pass here; the web UI tests (14, two new for what Install Package offers) and lint pass; the extension compiles, lints and passes its 10 tests. The web bundle is rebuilt. No board was used; the omip_install call itself is unchanged.