Skip to content

Conversation

devmotion
Copy link
Member

The PR makes ChainRulesCore a weak dependency, most importantly to fix JuliaStats/Distributions.jl#1900 (comment) and similar cases in downstream packages that would like to keep their (possibly large) chunk of ChainRules definitions in an extension but currently therefore can't depend on Roots (since it would pull in ChainRulesCore which invalidates the use of an extension in the downstream package and since Pkg is not happy with the circular loading dependency it creates).

Copy link

codecov bot commented Sep 13, 2024

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Project coverage is 86.24%. Comparing base (10a710f) to head (1bbf3a2).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
ext/RootsChainRulesCoreExt.jl 0.00% 3 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #445   +/-   ##
=======================================
  Coverage   86.24%   86.24%           
=======================================
  Files          38       38           
  Lines        2414     2414           
=======================================
  Hits         2082     2082           
  Misses        332      332           

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

@jverzani jverzani merged commit a2e58ee into master Sep 13, 2024
13 of 14 checks passed
@jverzani jverzani deleted the dw/chainrulescore branch September 13, 2024 14:24
@jverzani
Copy link
Member

Great. Thanks so much!!

@LebedevRI
Copy link

Nice!

LebedevRI added a commit to LebedevRI/Distributions.jl that referenced this pull request Sep 13, 2024
Note that we really do need `Roots.jl` 2.2.0-or-newer,
because of JuliaMath/Roots.jl#445
LebedevRI added a commit to LebedevRI/Distributions.jl that referenced this pull request Sep 13, 2024
Note that we really do need `Roots.jl` 2.2.0-or-newer,
because of JuliaMath/Roots.jl#445
LebedevRI added a commit to LebedevRI/Distributions.jl that referenced this pull request Sep 13, 2024
Note that we really do need `Roots.jl` 2.2.0-or-newer,
because of JuliaMath/Roots.jl#445

This forces minimal Julia version to be 1.6
LebedevRI added a commit to LebedevRI/Distributions.jl that referenced this pull request Sep 13, 2024
Note that we really do need `Roots.jl` 2.2.0-or-newer,
because of JuliaMath/Roots.jl#445

This forces minimal Julia version to be 1.6
LebedevRI added a commit to LebedevRI/Distributions.jl that referenced this pull request Sep 13, 2024
Note that we really do need `Roots.jl` 2.2.0-or-newer,
because of JuliaMath/Roots.jl#445

This forces minimal Julia version to be 1.6
LebedevRI added a commit to LebedevRI/Distributions.jl that referenced this pull request Sep 19, 2024
Note that we really do need `Roots.jl` 2.2.0-or-newer,
because of JuliaMath/Roots.jl#445
LebedevRI added a commit to LebedevRI/Distributions.jl that referenced this pull request May 2, 2025
Note that we really do need `Roots.jl` 2.2.0-or-newer,
because of JuliaMath/Roots.jl#445
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