-
-
Notifications
You must be signed in to change notification settings - Fork 53
Fix SCCNonlinearSolve test error #569
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
Conversation
This seems unnecessary, we don't need to explicitly use NonlinearSolveBase when testing SCCNonlinearSolve, but I am curious why the error occurred since the tests in the master branch are just fine. |
In include("../../../common/common_nlls_testing.jl") This is the same line in the error message above Error During Test at /Users/Gitti001/NonlinearSolve.jl/lib/SCCNonlinearSolve/test/core_tests.jl:7 This is speculation, but it seems plausible to me that the dependency may be inherited from the overall |
The other sub-libraries that include the |
Because other subpackages are actually using utilities from |
Are you able to re-create the error? I tested it also on Julia v1.10.9. |
I can't reproduce the error. Ah, I know what's going on here, see NonlinearSolve.jl/.github/workflows/CI_SCCNonlinearSolve.yml Lines 52 to 56 in b182ae1
When we run the test cases in CI or locally, we should always use the local directories of |
The tests I have run have been
Is there something I should be doing differently? |
I followed the steps above and it does indeed proceed without errors. However, the error does appear if I test the package directly. Is this not an issue? |
Nah, that is intended so that CI can pick the latest modified subpackages. |
This is fine. It probably will be made a hard dep at some point when we get to the reusage stuff anyways. |
Are any of these errors my fault? When I tested it locally it was fine. |
no I'm fixing CI in another thread. |
Checklist
contributor guidelines, in particular the SciML Style Guide and
COLPRAC.
Additional context
When testing
SCCNonlinearSolve
, I get the errorI get this error while with Julia v1.11.4.
This pull request simply adds
NonlinearSolveBase
to the dependencies and resolves the error.Testing logs
Before the change:
After the change: