downgrade: auto-skip [sources] deps + resolve julia-version alias to numeric#88
Merged
ChrisRackauckas merged 1 commit intoJun 13, 2026
Conversation
…-compat (fix '--julia=lts' invalid spec) 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.
Summary
This branch carries two related fixes to the reusable downgrade workflows. The first (
[sources]auto-skip) already landed onmastervia #87; this PR adds the second (alias→numeric) on the same branch, so the effective diff here is the alias fix.1. Auto-skip
[sources]deps (already merged via #87)Deps declared in a project's
[sources]table are satisfied in-tree by a path/url checkout, not the registry.julia-downgrade-compatrewriting their[compat]to=<floor>yields "Unsatisfiable requirements ... no versions left" on monorepo/path-dep downgrades. Bothdowngrade.ymlandsublibrary-downgrade.ymlnow parse each project's[sources]keys and union them into the effective skip list.2. Resolve
julia-versionalias to numeric for julia-downgrade-compat (this commit)sublibrary-downgrade.ymlforwarded the channel ALIASjulia-version(e.g.lts) straight intojulia-actions/julia-downgrade-compat@v2'sjulia_version:input. The action passes that to its resolver as--julia=lts, which is rejected:Fix: after
julia-actions/setup-julia@v3installs Julia, capture the actual installedmajor.minorintoJULIA_MMand passjulia_version: ${{ env.JULIA_MM }}to the downgrade-compat step. Solts/1/preresolve to the installed numeric (e.g.1.10), a valid compat spec.downgrade.yml(single-package) does NOT forwardjulia_version:to julia-downgrade-compat — it lets the action infer from installed Julia (already numeric) — so it was left unchanged.Validation
actionlintpasses on both workflow files (exit 0).python3 -c "import yaml; yaml.safe_load(...)".NOTE: v1 must be retagged after merge for callers to pick this up. Ignore until reviewed by @ChrisRackauckas.