Add a just update-outfiles helper script - #1321
Draft
dlqqq wants to merge 1 commit into
Draft
Conversation
dlqqq
force-pushed
the
add-just-update-outfiles
branch
3 times, most recently
from
August 28, 2026 21:08
ef7b1c8 to
4d4b09e
Compare
dlqqq
force-pushed
the
add-just-update-outfiles
branch
from
August 28, 2026 21:43
4d4b09e to
8de4a6b
Compare
just update-outfiles helper script
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.
Motivation
Regenerating a version's
.env.outlockfiles today means running the fullsrc/main.py build, which builds the entire image (CPU and GPU) just to end up callingmicromamba env export --expliciton the base env. That is far more than is needed to refresh a lock after editing an.env.in(e.g. bumping a dependency or pinning a channel), and it isn't discoverable.Summary
Adds a top-level
justfileand addsjustto the devenvironment.yml. A lockfile is just the fully-resolved base conda environment, so the recipe reproduces exactly that: it solves the{cpu,gpu}.env.in(pluspinned_env.in, and the CUDAarg_based_env.infor GPU) in the matchingmambaorg/micromambabase image and records it withmicromamba env export --explicit. No full image build, and no GPU hardware — GPU packages resolve against theCONDA_OVERRIDE_CUDAvirtual package.Recipes:
just update-cpu-outfile <version>just update-gpu-outfile <version>just update-outfiles <version>(both)You can verify it against an unchanged
.env.in: regenerating should leave the committed.env.outunchanged apart from packages that legitimately have newer builds on conda-forge.