Conversation
jmchilton
force-pushed
the
package-installed-galaxy-gravity
branch
from
September 14, 2026 14:03
8fac32f to
a9a48ca
Compare
This was referenced Sep 14, 2026
Member
Author
jmchilton
force-pushed
the
package-installed-galaxy-gravity
branch
from
September 25, 2026 18:08
a9a48ca to
ca2becf
Compare
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.
Run package-installed Galaxy through Gravity
This supersedes #1690 and #1691 with a narrower implementation of the package-installed Galaxy idea.
Motivation
#1690 explored running Galaxy directly inside Planemo's Python process. The discussion there, particularly this review comment, made a good case that Planemo should not own a second Galaxy process-management implementation.
#1691 moved the package-installed approach to Gravity, but retained history and interface surface from the broader experiment. This PR rebuilds that approach cleanly on current
master.What this PR does
installed_galaxyengine forplanemo serve,run, andtest.installed_galaxypackage extra, currently bounded to Galaxy 26.1 and Gravity 1.2.GalaxyTooldefinitions, native Galaxy workflows, Tool Shed dependency installation, and the existingpostgres_singularitydatabase mode.Install the optional runtime with:
pip install 'planemo[installed_galaxy]'Then select it explicitly, for example:
planemo test --engine installed_galaxy path/to/tool.xmlDeliberate differences from #1690
This does not expose the
embedded_galaxyengine, an in-process/non-Gravity entry point, or knobs for choosing between embedded and Gravity lifecycle implementations.installed_galaxyhas one meaning: use the packaged Galaxy runtime and let Gravity manage its services. Existing Galaxy checkout and Docker engine defaults are unchanged.The original
embed_galaxyandgravity-installedbranches remain available for comparison, while #1690 and #1691 are closed in favor of this consolidated implementation.Validation
tox -e lint: passed.tox -e mypy: passed.The deterministic released-package tests run in CI. The real Tool Shed case remains an opt-in integration test so Tool Shed availability does not gate every pull request.