From 4cc5cc3301b781fcf412aca60f2fd3480ff7749d Mon Sep 17 00:00:00 2001 From: Chris Rackauckas Date: Sat, 13 Jun 2026 04:51:56 -0400 Subject: [PATCH] Fix downgrade CI config: pin sublibrary julia-version to numeric floor The Downgrade Sublibraries caller passed julia-version "lts", which is forwarded verbatim to julia-downgrade-compat's resolver as `resolve.jl --julia=lts`. That resolver only accepts a numeric registry-compat spec and fails with `Invalid compat version spec: --julia=lts`. Pinning to the numeric sublibrary floor "1.10" (the same runtime lts already resolved to) fixes resolution. Config-only. Co-Authored-By: Chris Rackauckas Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/DowngradeSublibraries.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/DowngradeSublibraries.yml b/.github/workflows/DowngradeSublibraries.yml index 33f9c61cc..c41e04373 100644 --- a/.github/workflows/DowngradeSublibraries.yml +++ b/.github/workflows/DowngradeSublibraries.yml @@ -18,7 +18,10 @@ jobs: uses: "SciML/.github/.github/workflows/sublibrary-downgrade.yml@v1" secrets: "inherit" with: - julia-version: "lts" + # The sublibrary downgrade resolver passes julia-version straight to + # `resolve.jl --julia=`, which requires a numeric registry-compat spec and + # rejects the "lts" channel alias. Pin to the numeric sublibrary floor. + julia-version: "1.10" # SymbolicAnalysis skipped: 0.3.x doesn't support Symbolics 7 (required by # ModelingToolkit 11). Stdlibs and in-repo sublibraries are auto-populated by # the centralized workflow.