Skip to content

Extrapolation: drop stale BaseThreads/Sequential imports#3945

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
singhharsh1708:fix-extrapolation-stale-imports
Jul 20, 2026
Merged

Extrapolation: drop stale BaseThreads/Sequential imports#3945
ChrisRackauckas merged 1 commit into
SciML:masterfrom
singhharsh1708:fix-extrapolation-stale-imports

Conversation

@singhharsh1708

Copy link
Copy Markdown
Contributor

Bug

OrdinaryDiffEqExtrapolation's no_stale_explicit_imports QA check fails on master:

Module `OrdinaryDiffEqExtrapolation` has stale (unused) explicit imports for:
* `BaseThreads`
* `Sequential`

Neither name is referenced anywhere in the package; grep across src/ finds each only on the import line itself. PolyesterThreads, imported on the same line, is genuinely used (algorithms.jl's threading dispatch) and is kept.

Fix

Drop the two unused names from the import OrdinaryDiffEqCore: ... list.

Scope note

This package's QA lane has a second, unrelated failure (all_explicit_imports_are_public, 6 non-public OrdinaryDiffEqDifferentiation names) already covered by #3940. That's a separate root cause (a public-API declaration regression from #3832) with its own fix in flight — not duplicated here.

Verification

ExplicitImports.check_no_stale_explicit_imports(OrdinaryDiffEqExtrapolation) returns nothing (passes) against this branch, checked directly against a local dev checkout (not the registry) to avoid version-pinning ambiguity. Package loads and precompiles cleanly. Runic clean.

AI Disclosure

Claude assisted with this work.

Neither is referenced anywhere in the package; only PolyesterThreads
is actually used (algorithms.jl threading dispatch). Fixes the
no_stale_explicit_imports QA failure independently of SciML#3940's
separate all_explicit_imports_are_public fix for the same package.
@singhharsh1708
singhharsh1708 force-pushed the fix-extrapolation-stale-imports branch from 22b5f14 to a2f1a0d Compare July 18, 2026 07:33
@ChrisRackauckas
ChrisRackauckas merged commit 5ecf754 into SciML:master Jul 20, 2026
119 of 130 checks passed
ChrisRackauckas added a commit that referenced this pull request Jul 21, 2026
Releases unreleased changes on master across four sublibraries:
- OrdinaryDiffEqCore 4.7.1 -> 4.8.0 (minor: restores isdiscretecache public API (#3907); also recompute non-lazy interpolation stages after a truncated step (#3964))
- OrdinaryDiffEqBDF 2.3.1 -> 2.3.2 (precompile a mass matrix DAE in the workload (#3966))
- OrdinaryDiffEqExtrapolation 2.3.0 -> 2.3.1 (drop stale BaseThreads/Sequential imports (#3945))
- OrdinaryDiffEqRosenbrock 2.4.1 -> 2.4.2 (SIMD-fuse RosenbrockCache stage loops; document public HybridExplicitImplicitRK (#3938))



Claude-Session: https://claude.ai/code/session_01SFmcAmLrGPrGtzwP333mX8

Co-authored-by: ChrisRackauckas-Claude <accounts@chrisrackauckas.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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