Skip to content

Update allowed versions of Statsfuns #29

Open

Description

@dmbates

If I look at the package status for the main branch of MixedModels.jl it seems that MixedModelsSerialization.jl constrains the version of StatsFuns.jl which, in turn constrains the version of LogExpFunctions.jl.

(MixedModels) pkg> st -o -m
Project MixedModels v5.8.3
Status `~/.julia/dev/MixedModels/Manifest-v1.12.toml`
⌃ [f6369f11] ForwardDiff v1.4.1 (<v1.4.5)
⌃ [a0844989] Gamma v1.1.0 (<v1.2.0)
⌅ [2ab3a3ac] LogExpFunctions v0.3.29 (<v1.0.1): StatsFuns
⌅ [bac558e1] OrderedCollections v1.8.2 (<v2.0.1): NamedArrays
⌅ [4c63d2b9] StatsFuns v1.5.2 (<v2.2.1): MixedModelsSerialization
⌅ [354b36f9] StringViews v1.3.7 (<v2.0.1): Arrow

However, if I dev MixedModelsSerialization.jl by itself then it uses the most recent version of StatsFuns.jl (v2.2.1).

(MixedModelsSerialization) pkg> st 
Project MixedModelsSerialization v0.2.1
Status `~/.julia/dev/MixedModelsSerialization/Project.toml`
  [38e38edf] GLM v1.9.5
  [033835bb] JLD2 v0.6.5
  [ff71e718] MixedModels v5.8.3
  [82ae8749] StatsAPI v1.8.0
  [2913bbd2] StatsBase v0.34.12
  [4c63d2b9] StatsFuns v2.2.1
  [3eaba693] StatsModels v0.7.10
  [37e2e46d] LinearAlgebra v1.12.0
  [2f01184e] SparseArrays v1.12.0

I would like to get rid of the constraints on packages from MixedModels.jl but I am not sure how to go about it. Any ideas @palday ?

Activity

  1. dmbates commented on Aug 18, 2026

    @dmbates
    Author

    It turns out that MixedModels.jl had a compat bound of "0.2.0" in docs/src/Project.toml

  2. dmbates commented on Aug 19, 2026

    @dmbates
    Author

    @palday I noticed that MixedModels.jl lists MixedModelsSerialization in docs/src/Project.toml but, AFAICS, doesn't include it in the code. In fact, I removed it from the MixedModels/docs/Project.toml and was still able to build the docs. Should I check in that change to MixedModels.jl or would you prefer to retain MixedModelsSerialization in the dependencies for the docs?

  3. palday commented on Aug 19, 2026

    @palday
    Member

    Let's remove it! I think I was planning on having a worked example of it, but I don't know what past me was thinking for sure. Either way, fewer dependencies is better.

  4. dmbates commented on Aug 19, 2026

    @dmbates
    Author

    Which branch of the MixedModels.jl repository should I do this in? I have made the change in the pa/gradient-fable branch but it really doesn't have anything to do with the gradients. Should I make the change in a separate branch or keep it in the pa/gradient-fable branch?

  5. palday commented on Aug 19, 2026

    @palday
    Member

    In a separate branch / new PR, please and thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions