feat(plugin_builder): default to editable installs#1346
Draft
mofojed wants to merge 1 commit intodeephaven:mainfrom
Draft
feat(plugin_builder): default to editable installs#1346mofojed wants to merge 1 commit intodeephaven:mainfrom
mofojed wants to merge 1 commit intodeephaven:mainfrom
Conversation
Switch tools/plugin_builder.py to install plugins with `pip install -e` by default so Python source edits take effect without rebuilding wheels. Add a --wheel flag to opt back into the legacy build-wheel + install flow. - New run_install_editable() runs `pip install -e "<plugin>[all]"` per plugin, with --force-reinstall --no-deps when --reinstall is passed (useful for refreshing JS bundles or re-linking entry points). - handle_args branches on --wheel: default skips run_build and uses the editable installer; --wheel keeps the existing wheel path unchanged. - --build without --wheel prints a one-line note that it is ignored. - Bump setuptools requirement to >=64 for PEP 660 editable installs of the find_namespace: packages used by every plugin. - Update the build-plugin skill docs to describe the new default and the --wheel opt-out.
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.
Switch tools/plugin_builder.py to install plugins with
pip install -eby default so Python source edits take effect without rebuilding wheels.
Add a --wheel flag to opt back into the legacy build-wheel + install flow.
pip install -e "<plugin>[all]"perplugin, with --force-reinstall --no-deps when --reinstall is passed
(useful for refreshing JS bundles or re-linking entry points).
editable installer; --wheel keeps the existing wheel path unchanged.
the find_namespace: packages used by every plugin.
--wheel opt-out.