Skip to content

Allow LogExpFunctions v1#811

Closed
ChrisRackauckas-Claude wants to merge 1 commit into
JuliaDiff:masterfrom
ChrisRackauckas-Claude:widen-logexpfunctions-compat
Closed

Allow LogExpFunctions v1#811
ChrisRackauckas-Claude wants to merge 1 commit into
JuliaDiff:masterfrom
ChrisRackauckas-Claude:widen-logexpfunctions-compat

Conversation

@ChrisRackauckas-Claude
Copy link
Copy Markdown
Contributor

Summary

LogExpFunctions v1.0 has been released, but ForwardDiff's [compat] entry still pins LogExpFunctions = "0.3", which excludes the entire 1.x series. This PR widens the entry to "0.3, 1", keeping the existing 0.3 series so no current users are dropped while allowing installation alongside LogExpFunctions v1.x.

DiffRules (ForwardDiff's dependency that actually consumes LogExpFunctions for its rule definitions) already allows v1 (LogExpFunctions = "0.3.2, 1"), so ForwardDiff's own cap is the remaining blocker for downstream packages that pull both the modern AD stack and LogExpFunctions 1.x.

Changes

  • [compat] LogExpFunctions = "0.3""0.3, 1"
  • Patch version bump 1.3.31.3.4

Testing

The full test suite passes with LogExpFunctions v1.0.1 resolved in the test environment (verified in both the test Project.toml and Manifest.toml). On Julia 1.10.11:

     Testing Running tests...
[ Info: Testing ForwardDiff with NaN-safe mode disabled
##### Running all ForwardDiff tests took 424.34 seconds.
Test Summary:  | Pass  Total     Time
ForwardDiff.jl | 9037   9037  7m04.3s
     Testing ForwardDiff tests passed

All test sets (Partials, Dual, Derivatives, Gradients, Jacobians, Hessians, Perturbation Confusion, Miscellaneous, Allocations, and the QA/JET checks) pass with no failures.

Motivation

This unblocks downstream packages that depend on both ForwardDiff and LogExpFunctions v1.x simultaneously, without forcing a constraint conflict in their environments.

Widen the LogExpFunctions [compat] from "0.3" to "0.3, 1" so ForwardDiff
can be installed alongside LogExpFunctions v1.x, while still supporting the
existing 0.3 series. Bump the patch version to 1.3.4.

The full test suite passes with LogExpFunctions v1.0.1 resolved.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.75%. Comparing base (39916da) to head (b76d454).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #811   +/-   ##
=======================================
  Coverage   90.75%   90.75%           
=======================================
  Files          11       11           
  Lines        1071     1071           
=======================================
  Hits          972      972           
  Misses         99       99           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@devmotion devmotion closed this Jun 7, 2026
@devmotion
Copy link
Copy Markdown
Member

There's already a pull request.

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.

3 participants