Add python-3.12.10-scientific-slim runenv variant#59
Merged
PaulNewling merged 2 commits intomainfrom Apr 23, 2026
Merged
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a lightweight python-3.12.10-scientific-slim run environment variant (~100 MB) bundling polars-lts-cpu, numpy, scipy, and pyarrow. Feedback suggests adding pandas for enhanced utility and aligning the config.json schema with the base environment for consistency.
Bundles only polars-lts-cpu==1.33.1, numpy==2.2.6, scipy==1.15.3, and pyarrow==21.0.0 for blocks with tabular/scientific Python stacks that do not need the full ML toolchain (TensorFlow, torch, transformers, etc.) shipped by the base 3.12.10 runenv. Intended first consumer: platforma-open/titeseq-analysis, whose CI currently exhausts the ubuntu-latest runner disk while extracting the base runenv's 800 MB TensorFlow wheel. Bundled size drops from ~2.5 GB to ~100 MB, leaving ample headroom for that block's multi-block integration test.
7071642 to
bff45ce
Compare
blackcat
approved these changes
Apr 23, 2026
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
python-3.12.10-scientific-slimrunenv variant bundlingpolars-lts-cpu==1.33.1,numpy==2.2.6,scipy==1.15.3, andpyarrow==21.0.0.pnpm-workspace.yamland thecataloguepackage's entrypoints/deps.patchon the new variant,minoron the catalogue package (new entrypoint added).Motivation
platforma-open/titeseq-analysisCI currently fails from disk exhaustion onubuntu-latestwhile extracting the ~800 MB TensorFlow wheel shipped by the base3.12.10runenv (~2.5 GBtotal across 36 ML packages). That block does pure Hill-equation fitting against MiXCR output — it does not use TF, torch, cudf, transformers, etc. This slim variant ships ~100 MB of wheels that match titeseq's existingsoftware/src/requirements.txtpins exactly, so runtime pip can resolve them under the hardcoded--no-index --find-links={runenv}/packages/flags ininstall-deps.tpl.tengo.Variant layout
Notes
paratope-clustering,cell-type-annotation,differential-expression— each shares the same runenv and will hit the same wall once they add real integration tests).