Skip to content

Allow DifferentiableFlatten 0.2 - #22

Open
YachtEngineeringservices wants to merge 1 commit into
ThummeTo:masterfrom
YachtEngineeringservices:compat-differentiableflatten-0.2
Open

YachtEngineeringservices wants to merge 1 commit into
ThummeTo:masterfrom
YachtEngineeringservices:compat-differentiableflatten-0.2

Conversation

@YachtEngineeringservices

Copy link
Copy Markdown

DifferentiableFlatten 0.2 keeps the flatten/unflatten API used here; its only breaking change is requiring Julia >= 1.10, which the resolver handles. The tests pass on DifferentiableFlatten 0.2.1 (23/23), with OrderedCollections 2.0.3 resolved.

This lets packages that depend on ForwardDiffChainRules, such as ControlSystemIdentification.jl, install alongside OrderedCollections 2. With the current cap, installing them downgrades OrderedCollections to 1.x.

The change is the compat line only: DifferentiableFlatten = "0.1.1, 0.2".

DifferentiableFlatten 0.2 keeps the flatten/unflatten API used here; its
breaking change is Julia >= 1.10 only. Tests pass on 0.2.1 (23/23), which
also allows OrderedCollections 2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@YachtEngineeringservices

Copy link
Copy Markdown
Author

A note on the CI result for this PR: the Windows job passes, but the ubuntu-latest job fails in the "Build package" step with julia: command not found before any test runs (run 42418337572). It looks like the workflow doesn't install Julia on the Linux runner: the julia-cache step is given version/arch inputs, which it doesn't accept (those belong to julia-actions/setup-julia). Adding a julia-actions/setup-julia step before the cache should fix it. The change in this PR is only the DifferentiableFlatten compat bound.

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.

1 participant