From f0fd59e282f62b343dba7ae0ffe8b8c20612c254 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 29 Jul 2025 14:08:54 -0400 Subject: [PATCH 1/2] Add downgrade CI for all sublibraries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This adds a comprehensive downgrade CI workflow that tests compatibility for the main package and all 10 sublibraries in the lib/ directory: Main package: . Sublibraries: BracketingNonlinearSolve, NonlinearSolveBase, NonlinearSolveFirstOrder, NonlinearSolveHomotopyContinuation, NonlinearSolveQuasiNewton, NonlinearSolveSciPy, NonlinearSolveSpectralMethods, SCCNonlinearSolve, SciMLJacobianOperators, SimpleNonlinearSolve Each sublibrary is tested individually with downgraded dependencies to ensure compatibility across the ecosystem. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .github/workflows/DowngradeSublibraries.yml | 48 +++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .github/workflows/DowngradeSublibraries.yml diff --git a/.github/workflows/DowngradeSublibraries.yml b/.github/workflows/DowngradeSublibraries.yml new file mode 100644 index 000000000..8bac6cdab --- /dev/null +++ b/.github/workflows/DowngradeSublibraries.yml @@ -0,0 +1,48 @@ +name: Downgrade Sublibraries +on: + pull_request: + branches: + - master + paths-ignore: + - 'docs/**' + push: + branches: + - master + paths-ignore: + - 'docs/**' +jobs: + test: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + downgrade_mode: ['alldeps'] + julia-version: ['1.10'] + project: + - '.' + - 'lib/BracketingNonlinearSolve' + - 'lib/NonlinearSolveBase' + - 'lib/NonlinearSolveFirstOrder' + - 'lib/NonlinearSolveHomotopyContinuation' + - 'lib/NonlinearSolveQuasiNewton' + - 'lib/NonlinearSolveSciPy' + - 'lib/NonlinearSolveSpectralMethods' + - 'lib/SCCNonlinearSolve' + - 'lib/SciMLJacobianOperators' + - 'lib/SimpleNonlinearSolve' + steps: + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 + with: + version: ${{ matrix.julia-version }} + - uses: julia-actions/julia-downgrade-compat@v2 + with: + project: ${{ matrix.project }} + skip: Pkg,TOML + - uses: julia-actions/julia-buildpkg@v1 + with: + project: ${{ matrix.project }} + - uses: julia-actions/julia-runtest@v1 + with: + project: ${{ matrix.project }} + ALLOW_RERESOLVE: false \ No newline at end of file From 07a4d04496ef6863d5e7973dd6167cb95ba04c8c Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Wed, 30 Jul 2025 06:42:51 -0400 Subject: [PATCH 2/2] [ci-skip] Update .github/workflows/DowngradeSublibraries.yml --- .github/workflows/DowngradeSublibraries.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/DowngradeSublibraries.yml b/.github/workflows/DowngradeSublibraries.yml index 8bac6cdab..9bb4d8951 100644 --- a/.github/workflows/DowngradeSublibraries.yml +++ b/.github/workflows/DowngradeSublibraries.yml @@ -19,7 +19,6 @@ jobs: downgrade_mode: ['alldeps'] julia-version: ['1.10'] project: - - '.' - 'lib/BracketingNonlinearSolve' - 'lib/NonlinearSolveBase' - 'lib/NonlinearSolveFirstOrder'