Commit b2b999f
QA: run_qa v1.6 form + ExplicitImports (#160)
* QA: run_qa v1.6 form + ExplicitImports
Replace the hand-rolled Aqua + ExplicitImports QA files (qa_tests.jl,
explicit_imports_tests.jl) with a single qa.jl on the SciMLTesting 1.6
`run_qa` form, with ExplicitImports enabled (all six checks).
- Aqua: `run_qa` runs the full `Aqua.test_all` (11 checks); no broken
markers or aqua_kwargs tweaks needed — all pass.
- ExplicitImports: `explicit_imports = true`. Two checks needed ignore
lists for third-party symbolic-stack internal names re-exported but not
owned/public by ModelingToolkit/Symbolics (documented per source pkg);
the other four checks pass unmodified.
- JET: `jet = false` in run_qa. Whole-package JET hits a toplevel
`invalid redefinition of constant ModelOrderReduction.TSVD` (the exported
`TSVD` struct collides with the `TSVD` dependency package under JET's
toplevel virtualizer). The existing targeted `report_call` checks in
jet_tests.jl provide the JET coverage and stay as a separate group file.
test/qa/Project.toml: drop ExplicitImports (transitive via SciMLTesting),
keep Aqua (ambiguities child-proc needs it direct) and JET (jet_tests.jl),
bump SciMLTesting compat to "1.6".
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* Inline rhs extraction instead of internal Symbolics.rhss
`Symbolics.rhss` is an undocumented one-line internal helper
(`rhss(xs) = map(x->x.rhs, xs)`, not exported). Replace the single use in
deim.jl with the equivalent comprehension and drop its ExplicitImports
non-public allow-list entry, so we don't depend on a Symbolics internal.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* QA: strip redundant public-API EI ignores (SciMLTesting 1.7)
SciMLTesting 1.7 runs the two public-API ExplicitImports checks
(check_all_qualified_accesses_are_public / check_all_explicit_imports_are_public)
only on Julia >= 1.11, and the base-lib make-public releases (ModelingToolkit
11.29, Symbolics 7.28+, SymbolicUtils 4.36, SciMLBase 3.24) marked most of the
previously-ignored names public.
Verified against registered releases on Julia 1.12: of the 13
all_qualified_accesses_are_public ignores, only :topsort_equations (still
non-public in ModelingToolkit) and :getname (re-exported by Symbolics from
SymbolicIndexingInterface, non-public) remain flagged. The other 11 are now
public and removed. QA group passes 17/17 on 1.12 and 15/15 on 1.10 (public
checks skipped on the LTS). The all_qualified_accesses_via_owners list is a
distinct (non public-API) check and is left untouched.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* QA: raise SciMLTesting compat floor to 1.7 for public-API EI gating
SciMLTesting 1.7 gates the two public-API ExplicitImports checks
(check_all_qualified_accesses_are_public / check_all_explicit_imports_are_public)
to Julia >= 1.11, which is the regime in which the stripped public-API
ignore lists are correct. Raising the floor from "1.6" to "1.7" ensures
CI resolves a SciMLTesting that runs those checks rather than potentially
an older release.
Verified against the registered releases (SciMLBase 3.27.0, DiffEqBase 7.6.0,
ModelingToolkit 11.29.0, Symbolics 7.29.0, SymbolicUtils 4.36.0,
SciMLTesting 1.7.0, ExplicitImports 1.15.0):
- Julia 1.12 (public-API checks run): emptying both public-API ignore lists
leaves exactly two survivors flagged by all_qualified_accesses_are_public --
topsort_equations (non-public in ModelingToolkit) and getname (re-exported
by Symbolics from SymbolicIndexingInterface, non-public). Neither is a
SciMLBase-owned name, so no DiffEqBase.X -> SciMLBase.X migration applies;
both are restored. all_explicit_imports_are_public passes with an empty
ignore list. QA group: 17/17 pass.
- Julia 1.10 (public-API checks skipped on the LTS): QA group 15/15 pass.
ModelOrderReduction's source makes no qualified SciMLBase/DiffEqBase accesses,
so steps 2 (caller-migrate) is a no-op for this package.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* QA: migrate re-export-gap accesses to public owners + drop now-public ignores
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
* QA: thorough EI ignore re-clean (drop stale incl via_owners, migrate non-public re-exports)
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
---------
Co-authored-by: ChrisRackauckas-Claude <accounts@chrisrackauckas.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 68c4861 commit b2b999f
7 files changed
Lines changed: 33 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | | - | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
17 | | - | |
| 15 | + | |
18 | 16 | | |
19 | 17 | | |
20 | 18 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
This file was deleted.
0 commit comments