Skip to content

Update dependencies and fix compatibility for Julia 1.10+ #222

@mvanzulli

Description

@mvanzulli

This issue is to updates ForneyLab.jl to support Julia 1.10+ and updates dependencies to their latest compatible versions.

Changes

1. Updated Project.toml compatibility constraints

Package Before After
Julia 1.3, 1.4, 1.5, 1.6, 1.7 1.6, 1.7, 1.8, 1.9, 1.10, 1.11
DataStructures 0.17, 0.18 0.17, 0.18, 0.19, 0.20
Documenter 0.25, 0.26, 0.27 0.25, 0.26, 0.27, 1
ForwardDiff 0.10 0.10, 1
StatsBase 0.32, 0.33 0.32, 0.33, 0.34

2. Fixed deprecation warnings for DataStructures.jl v0.19

In src/engines/julia/update_rules/delta_sampling.jl, replaced deprecated Queue API calls:

- enqueue!(m_latests, m_old)
+ push!(m_latests, m_old)

- dequeue!(m_latests);
+ popfirst!(m_latests)

Testing

All 2239 tests pass on Julia 1.10.10 with the updated dependencies:

  • DataStructures v0.19.3
  • Documenter v1.16.1
  • ForwardDiff v1.3.0
  • StatsBase v0.34.9

I'm happy to create a PR

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