Skip to content

Fix root project QA failures - #1683

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix/root-project-qa
Aug 26, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix/root-project-qa

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

Important

Please ignore this PR until it has been reviewed by @ChrisRackauckas.

What changed and why

Strict SciMLTesting QA on master fails because the root package declares 19 dependencies that are not used by src/ or ext/, and because its stdlib dependencies and Test extra lack compat entries. This removes the unused root dependencies, restores IJulia to the weak dependency declared by the existing extension design, and adds the missing compat entries.

Benchmark packages remain in their per-folder environments. The README already instructs notebook users to add and load IJulia explicitly.

Verification

Failing before

At upstream/master commit 2c211845c143d28e0f3cd2340035098f7bdfd2f7:

$ GROUP=QA JULIA_PKG_PRECOMPILE_AUTO=0 TMPDIR=/home/crackauc/tmp /home/crackauc/.juliaup/bin/julia +1.10 --project=. -e 'using Pkg; Pkg.test()'
Test Summary:                                                         | Pass  Fail  Total     Time
QA                                                                    |   16     3     19  5m09.2s
  Quality Assurance                                                   |   16     3     19  4m59.8s
    Stale dependencies                                                |          1      1     3.9s
    Compat bounds                                                     |    2     2      4     1.7s
      SciMLBenchmarks [31c91b34-3c75-11e9-0341-95557aab0344] deps     |          1      1     1.7s
      SciMLBenchmarks [31c91b34-3c75-11e9-0341-95557aab0344] extras   |          1      1     0.0s
ERROR: LoadError: Some tests did not pass: 16 passed, 3 failed, 0 errored, 0 broken.

The stale-dependency failure listed ADTypes, CSV, DataFrames, DiffEqDevTools, Git, IJulia, LSODA, LinearSolve, MbedTLS, ODEInterfaceDiffEq, OMJulia, OrdinaryDiffEq, OrdinaryDiffEqLowOrderRK, OrdinaryDiffEqSDIRK, OrdinaryDiffEqStabilizedRK, Plots, RecursiveFactorization, SciMLLogging, and Sundials. The compat failures listed InteractiveUtils, Markdown, and Pkg under dependencies and Test under extras.

Passing after

$ GROUP=QA JULIA_PKG_PRECOMPILE_AUTO=0 TMPDIR=/home/crackauc/tmp /home/crackauc/.juliaup/bin/julia +1.10 --project=. -e 'using Pkg; Pkg.test()'
Test Summary: | Pass  Total     Time
QA            |   19     19  1m14.0s
     Testing SciMLBenchmarks tests passed

$ GROUP=Core JULIA_PKG_PRECOMPILE_AUTO=0 TMPDIR=/home/crackauc/tmp /home/crackauc/.juliaup/bin/julia +1.10 --project=. -e 'using Pkg; Pkg.test()'
Test Summary: | Pass  Total     Time
Core          |    1      1  2m58.6s
     Testing SciMLBenchmarks tests passed

Additional local checks:

$ /home/crackauc/.juliaup/bin/julia +1.10 --project=@runic -e 'using Runic; exit(Runic.main(ARGS))' -- --check .
# exit 0, no output

$ typos Project.toml
# exit 0, no output

$ git diff --check upstream/master...HEAD
# exit 0, no output

Pkg.resolve() and Pkg.instantiate() also completed successfully after the edit.

Scope and review notes

  • No dependency or default algorithm is added, so this introduces no dependency-license change. The package is MIT licensed.
  • No public name, signature, or documentation is changed.
  • Restoring IJulia to [weakdeps] is a judgment call worth checking. It reinstates the structure introduced with the existing IJulia extension, and matches the README's explicit ]add IJulia instruction.
  • The pre-existing open_notebooks() extension method-overwrite warning reproduces on both master and this branch. It is intentionally excluded from this mechanical dependency cleanup and is being investigated separately.

Not run: GROUP=Everything, documentation build, GPU jobs, downstream packages, or Julia versions other than 1.10. The PR changes only root dependency metadata; it does not touch docs, benchmark implementations, or public API.

🤖 Generated with Claude Code
https://chatgpt.com/codex/tasks/01a03a17-ad6f-7131-82fc-d0fd57ea6512

Remove unused direct dependencies, restore IJulia as a weak dependency, and add compat entries for the stdlibs and Test used by the package.

Co-Authored-By: Chris Rackauckas <[email protected]>

Co-Authored-By: Claude <[email protected]>

Claude-Session: https://chatgpt.com/codex/tasks/01a03a17-ad6f-7131-82fc-d0fd57ea6512
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants