Skip to content

Require Julia 1.10 and remove Parameters#188

Closed
devmotion wants to merge 2 commits intoJuliaNLSolvers:masterfrom
devmotion:dmw/julia_parameters
Closed

Require Julia 1.10 and remove Parameters#188
devmotion wants to merge 2 commits intoJuliaNLSolvers:masterfrom
devmotion:dmw/julia_parameters

Conversation

@devmotion
Copy link
Contributor

Parameters.@unpack is not needed on Julia >= 1.7 as one can just use the native (; ...) = ... syntax; similarly one can use @kwdef instead of Parameters.@with_kw.

In fact, @unpack (which was factored out to UnPack at some point) creates Val dispatches for the property accesses which at some point caused compilation time issues in OrdinaryDiffEq; since that was prior to Julia 1.7, we replaced it with SimpleUnPack.@unpack for a while: https://github.com/devmotion/SimpleUnPack.jl

Currently, the package supports Julia 1.6, so to be able to use (; ...) = ... and @kwdef I updated the Julia compat entry to 1.10 and also updated CI.

@devmotion
Copy link
Contributor Author

@pkofod I haven't contributed to this repo yet, could you trigger the CI workflow in this PR?

@devmotion devmotion marked this pull request as ready for review November 23, 2025 19:16
@devmotion devmotion closed this Nov 24, 2025
@devmotion devmotion deleted the dmw/julia_parameters branch November 24, 2025 09:29
@pkofod
Copy link
Member

pkofod commented Nov 24, 2025

#189 has these changes already

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.

2 participants