Conversation
This causes invalidations and should not be needed anymore by the upstream ChainRules.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #703 +/- ##
==========================================
+ Coverage 93.49% 93.52% +0.03%
==========================================
Files 15 15
Lines 999 989 -10
==========================================
- Hits 934 925 -9
+ Misses 65 64 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
The number of failures is a bit disturbing, but they don't seem related to this PR (and they also show up on other PRs). |
|
Sorry, I mis-clicked. IMO it would be great if we could remove these definitions. There are unfortunately preexisting test failures IIRC. I'll have a closer look tomorrow. |
|
This looks fine to me. The test errors seem unrelated, in many cases caused by Aqua tests and in particular without any reference to It would be good to fix the doctest failures though, such that we're able to build docs for the upcoming release. Can you update the doctests (see https://documenter.juliadocs.org/stable/man/doctests/#Fixing-Outdated-Doctests)? |
|
Ah yeah sure, fixed them in eb83113. BTW one of them was using |
src/tangent_types/thunks.jl
Outdated
| julia> t = @thunk(3) | ||
| Thunk(var"#4#5"()) | ||
| Thunk(var"#2#3"()) |
There was a problem hiding this comment.
I'd suggest
| julia> t = @thunk(3) | |
| Thunk(var"#4#5"()) | |
| Thunk(var"#2#3"()) | |
| julia> t = @thunk(3); |
or a doctest filter. But I think removing the output is simpler.
|
Can you update the version number? |
|
Sure, done in 10e0ec5. |
Project.toml
Outdated
| name = "ChainRulesCore" | ||
| uuid = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" | ||
| version = "1.26.0" | ||
| version = "1.26.1" |
There was a problem hiding this comment.
This is a breaking change - it will definitely break older ChainRules releases and it might break packages that define rules using Base.tail.
| version = "1.26.1" | |
| version = "2.0.0" |
There was a problem hiding this comment.
I also removed the compat bound in docs/Project.toml so that the docs will build. There's quite a few more failing tests now, I guess because downstream packages aren't compatible anymore.
This causes invalidations and should not be needed anymore by ChainRules.jl since the rule that uses it: #576 (comment)
Was deleted in JuliaDiff/ChainRules.jl#680.
I ran this on the ChainRules.jl tests and saw a ton of failures locally (also seen in CI), but none that seem related to this change. Disclaimer: I have almost no understanding of this kind of thing 🙈
Fixes #576.
Fixes these invalidations seen in CurveFit.jl: