Add "minimal" simple_python bundle (pandas baseline) - #3
Merged
Conversation
pandas is nat.python's own baseline -- pandas2df() cannot work without it, yet no bundle installed it explicitly (basic/full/extra only pulled it in transitively via cloud-volume/CAVEclient). Add a "minimal" bundle that installs just pandas (numpy comes as its dependency) and make it the shared first step of basic/full/extra, so any consumer that needs only the pandas interop layer has a lightweight, explicit install path.
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.
Summary
Adds a
"minimal"bundle tosimple_python()that installs just pandas (numpy comes in as its dependency).pandas is nat.python's own baseline —
pandas2df()cannot work without it — yet no bundle installed it explicitly."basic"/"full"/"extra"only pulled pandas in transitively via cloud-volume / CAVEclient. That left consumers who need only the pandas interop layer (e.g. seatabler) with no lightweight, explicit install path, and it meant aseatable_api-only install would fail at the firstimport("pandas").Changes
"minimal"pyinstalloption: installspandas(brings numpy).minimal/basic/full/extranow share an explicit pandas baseline step, so"basic"no longer relies on pandas arriving transitively.RETICULATE_PYTHON(miniconda = FALSE).@details,@param,@examples) andsimple_python.Rdupdated.Motivation
Downstream (seatabler) will provision Python via
simple_python("minimal", pkgs = "seatable_api"), so CI exercises the same user-facing install path rather than a bespokepipline.🤖 Generated with Claude Code