downgrade/sublibrary-downgrade: add apt-packages + container inputs#89
Merged
ChrisRackauckas merged 1 commit intoJun 13, 2026
Conversation
…provision Python/R-stack downgrade legs) Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
What
Adds two optional inputs —
apt-packagesandcontainer— to the reusable downgrade workflows (downgrade.ymlandsublibrary-downgrade.yml), mirroring the inputstests.ymlalready exposes on master.Right now the downgrade legs of Python/R-stack packages cannot install their system dependencies: neither
downgrade.ymlnorsublibrary-downgrade.ymlexposeapt-packagesorcontainer, so a caller has no way to provision e.g. scipy or an R install on the downgrade job the way it already can on itstests.ymljob. This closes that gap.Changes (mirroring
tests.yml)For each workflow:
apt-packagesinput (string, default""): "Space-separated apt packages to install before building/testing (Linux only)."containerinput (string, default""): "Docker container image to run the job in, e.g. for Python-stack packages (empty string = no container)".container: ${{ inputs.container }}on the job that runs build/test (thedowngradejob indowngrade.yml; the matrixtestjob insublibrary-downgrade.yml).Install system packagesstep, gated onif: "${{ inputs.apt-packages != '' && runner.os == 'Linux' }}", placed beforejulia-actions/julia-buildpkg(after thejulia-downgrade-compatstep), matching the exact step text/placement intests.yml.downgrade.ymlandsublibrary-downgrade.ymlinput tables, mirroring thetests.ymlwording.The empty-string default for
containeris the same no-container patterntests.ymlalready uses on master, so it is accepted.actionlintis clean on both edited workflow files.Follow-up callers
Once this merges and
v1is retagged, these downgrade legs can be wired up caller-side:apt-packages/containerto provide scipy on its downgrade job.Scope
Only the two workflow files plus the README rows; no other changes.
NOTE: v1 must be retagged after merge for @v1 callers to pick this up. Ignore until reviewed by @ChrisRackauckas.