Skip to content

CompatHelper: bump compat for ForwardDiff to 1, (keep existing compat) #2320

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

github-actions[bot]
Copy link
Contributor

This pull request changes the compat entry for the ForwardDiff package from 0.10.36 to 0.10.36, 1.
This keeps the compat entries for earlier versions.

Note: I have not tested your package with this new compat entry.
It is your responsibility to make sure that your package tests pass before you merge this pull request.

@ranocha ranocha force-pushed the compathelper/new_version/2025-03-27-00-05-21-087-01715210426 branch from 5aea096 to 3f03732 Compare March 27, 2025 00:05
Copy link

codecov bot commented Mar 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.77%. Comparing base (f35d749) to head (11b3541).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2320   +/-   ##
=======================================
  Coverage   96.77%   96.77%           
=======================================
  Files         495      495           
  Lines       41055    41055           
=======================================
  Hits        39727    39727           
  Misses       1328     1328           
Flag Coverage Δ
unittests 96.77% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.

@sloede
Copy link
Member

sloede commented Mar 27, 2025

ForwardDiff v1 is not yet used here, which is just as well given that it does not seem to work yet with OrdinaryDiffEq (SciML/OrdinaryDiffEq.jl#2643)

Copy link
Member

@ranocha ranocha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to wait until we can test the new version here.

github-actions bot and others added 2 commits March 27, 2025 11:20
…p existing compat) (#2321)

Co-authored-by: CompatHelper Julia <compathelper_noreply@julialang.org>
…p existing compat) (#2322)

Co-authored-by: CompatHelper Julia <compathelper_noreply@julialang.org>
@JoshuaLampert
Copy link
Member

The corresponding PR in OrdinaryDiffEq.jl has been merged and new versions have been registered. So hopefully, we can test ForwardDiff.jl v1 here.

@JoshuaLampert
Copy link
Member

Needs ranocha/SummationByPartsOperators.jl#332 before.

@JoshuaLampert
Copy link
Member

JoshuaLampert commented Jun 6, 2025

Next one to wait for is Octavian.jl. There, CompatHelper is even disabled due to inactivity in the repo...
Edit: I created a PR JuliaLinearAlgebra/Octavian.jl#194.

@JoshuaLampert
Copy link
Member

The journey continues. The next one is PathIntersections.jl. Could you take care of that please, @jlchan? I.e. allow ForwardDiff.jl v1 in the Project.toml.

@jlchan
Copy link
Contributor

jlchan commented Jun 7, 2025

@cgt3 I'm away from my computer the next couple of days - any chance you could bump ForwardDiff's compat to 1? If not I can do it on Monday.

@cgt3
Copy link

cgt3 commented Jun 7, 2025

@jlchan Sure; I'll try to take care of it today.

@cgt3
Copy link

cgt3 commented Jun 8, 2025

@jlchan and @JoshuaLampert I believe I have updated PathIntersections.jl to allow ForwardDiff.jl v1. Let me know if you need something else updated.

@jlchan
Copy link
Contributor

jlchan commented Jun 8, 2025

Thank you! Would you mind releasing a new version so we can bump our compact in Trixi.jl?

@cgt3
Copy link

cgt3 commented Jun 8, 2025

Can do 👍 . I'll try to get that done tomorrow.

@cgt3
Copy link

cgt3 commented Jun 9, 2025

@jlchan new version (v0.3.0) for PathIntersections.jl is up.

@JoshuaLampert
Copy link
Member

JoshuaLampert commented Jun 9, 2025

Thanks! Now StartUpDG.jl has to allow PathIntersections.jl v0.3. Could you please update the compat bound accordingly, @jlchan?

@jlchan
Copy link
Contributor

jlchan commented Jun 9, 2025

Yep! Thanks for your patience with time zone differences. Here's the new version PR JuliaRegistries/General#132594

I am doing this on my phone while traveling; if any serious issues arise I can address them when I'm back to my laptop tomorrow.

@JoshuaLampert
Copy link
Member

Thanks! However, it seems you didn't actually register v0.3.0 of PathIntersections.jl yet, @cgt3 (see here for how it was done for v0.2.0). Can you or @jlchan please do that? And don't forget to also add release notes as explained in the comment by @JuliaRegistrator in the link above 🙂 Nowadays, this is necessary for a breaking release.

@JuliaRegistrator

This comment was marked as outdated.

@jlchan
Copy link
Contributor

jlchan commented Jun 9, 2025

Thanks for the heads up. I added release notes and pinged JuliaRegistrator cgt3/PathIntersections.jl@2261662

Do we need to remove the old manually tagged release to have Tagbot trigger properly?

@jlchan
Copy link
Contributor

jlchan commented Jun 9, 2025

@JoshuaLampert PathIntersections 0.3 was successfully registered. Let us know if it works for you?

@JoshuaLampert
Copy link
Member

ForwardDiff.jl v1.0.1 is used in the tests (see, e.g., here), which is good. However, there are errors when trying to use KenCarp4 with ForwardDiff.jl for solving parabolic problems, cf. https://github.com/trixi-framework/Trixi.jl/actions/runs/15485801476/job/43783069771?pr=2320#step:7:2692.

@JoshuaLampert
Copy link
Member

JoshuaLampert commented Jun 10, 2025

ForwardDiff.jl v1.0.1 is used in the tests (see, e.g., here), which is good. However, there are errors when trying to use KenCarp4 with ForwardDiff.jl for solving parabolic problems, cf. trixi-framework/Trixi.jl/actions/runs/15485801476/job/43783069771?pr=2320#step:7:2692.

Even though the errors are related to ForwardDiff.jl, they seem to be unrelated to the version bump because the same error also happens in other PRs (like here), where ForwardDiff.jl v0.10 is stilled used.

Edit: Very likely to come from SciML/OrdinaryDiffEq.jl#2732.

@cgt3
Copy link

cgt3 commented Jun 10, 2025

Sorry I forgot all about the registrator. Thanks @jlchan for fixing it.

@ranocha
Copy link
Member

ranocha commented Jun 11, 2025

ForwardDiff.jl v1.0.1 is used in the tests (see, e.g., here), which is good. However, there are errors when trying to use KenCarp4 with ForwardDiff.jl for solving parabolic problems, cf. trixi-framework/Trixi.jl/actions/runs/15485801476/job/43783069771?pr=2320#step:7:2692.

Even though the errors are related to ForwardDiff.jl, they seem to be unrelated to the version bump because the same error also happens in other PRs (like here), where ForwardDiff.jl v0.10 is stilled used.

Edit: Very likely to come from SciML/OrdinaryDiffEq.jl#2732.

Could you please open an issue there?

@JoshuaLampert
Copy link
Member

ForwardDiff.jl v1.0.1 is used in the tests (see, e.g., here), which is good. However, there are errors when trying to use KenCarp4 with ForwardDiff.jl for solving parabolic problems, cf. trixi-framework/Trixi.jl/actions/runs/15485801476/job/43783069771?pr=2320#step:7:2692.

Even though the errors are related to ForwardDiff.jl, they seem to be unrelated to the version bump because the same error also happens in other PRs (like here), where ForwardDiff.jl v0.10 is stilled used.
Edit: Very likely to come from SciML/OrdinaryDiffEq.jl#2732.

Could you please open an issue there?

I created SciML/OrdinaryDiffEq.jl#2738.

@ranocha
Copy link
Member

ranocha commented Jun 11, 2025

Thanks!

Copy link
Member

@JoshuaLampert JoshuaLampert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI looks good now. I just restarted everything again to also make codecov happy.

Copy link
Member

@ranocha ranocha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks everybody!

@ranocha ranocha merged commit 4745d13 into main Jun 11, 2025
103 of 240 checks passed
@ranocha ranocha deleted the compathelper/new_version/2025-03-27-00-05-21-087-01715210426 branch June 11, 2025 16:51
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.

6 participants