Skip to content
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

Package fails to precompile in Julia 1.11.2 #394

Open
kailasas-um opened this issue Dec 31, 2024 · 2 comments · Fixed by #395
Open

Package fails to precompile in Julia 1.11.2 #394

kailasas-um opened this issue Dec 31, 2024 · 2 comments · Fixed by #395
Labels
bug Something isn't working high priority

Comments

@kailasas-um
Copy link

kailasas-um commented Dec 31, 2024

Hi,

I'm trying to use Associations.jl but find that it fails to precompile. When using Associations, I receive the following error:

julia> using Associations
Precompiling Associations...
Info Given Associations was explicitly requested, output will be shown live 
ERROR: LoadError: UndefVarError: `GroupSlices` not defined in `ComplexityMeasures`
Stacktrace:
  [1] include(mod::Module, _path::String)
    @ Base ./Base.jl:557
  [2] include(x::String)
    @ Associations ~/.julia/packages/Associations/EyveT/src/Associations.jl:2
  [3] top-level scope
    @ ~/.julia/packages/Associations/EyveT/src/methods/information/definitions/transferentropy/transfer_entropies.jl:83
  [4] include(mod::Module, _path::String)
    @ Base ./Base.jl:557
  [5] include(x::String)
    @ Associations ~/.julia/packages/Associations/EyveT/src/Associations.jl:2
  [6] top-level scope
    @ ~/.julia/packages/Associations/EyveT/src/methods/information/definitions/information_definitions.jl:8
  [7] include(mod::Module, _path::String)
    @ Base ./Base.jl:557
  [8] include(x::String)
    @ Associations ~/.julia/packages/Associations/EyveT/src/Associations.jl:2
  [9] top-level scope
    @ ~/.julia/packages/Associations/EyveT/src/methods/information/information.jl:6
 [10] include(mod::Module, _path::String)
    @ Base ./Base.jl:557
 [11] include(x::String)
    @ Associations ~/.julia/packages/Associations/EyveT/src/Associations.jl:2
 [12] top-level scope
    @ ~/.julia/packages/Associations/EyveT/src/Associations.jl:24
 [13] include
    @ ./Base.jl:557 [inlined]
 [14] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
    @ Base ./loading.jl:2881
 [15] top-level scope
    @ stdin:6
in expression starting at /home/-/.julia/packages/Associations/EyveT/src/methods/information/definitions/transferentropy/transferoperator.jl:2
in expression starting at /home/-/.julia/packages/Associations/EyveT/src/methods/information/definitions/transferentropy/transfer_entropies.jl:83
in expression starting at /home/-/.julia/packages/Associations/EyveT/src/methods/information/definitions/information_definitions.jl:8
in expression starting at /home/-/.julia/packages/Associations/EyveT/src/methods/information/information.jl:6
in expression starting at /home/-/.julia/packages/Associations/EyveT/src/Associations.jl:2
in expression starting at stdin:6
  ✗ Associations
  0 dependencies successfully precompiled in 2 seconds. 162 already precompiled.

Indeed, when checking the ComplexityMeasures.jl codebase, it looks to me like GroupSlices is no longer being included (perhaps related to this recent commit: JuliaDynamics/ComplexityMeasures.jl@e835a07 ?). Any help resolving this would be greatly appreciated!

@Datseris Datseris added the bug Something isn't working label Jan 2, 2025
@Datseris
Copy link
Member

Datseris commented Jan 2, 2025

Hi, yeah this is a bug recently we updated the codebase to not have a group slices module... I didn't know it was used here. @kahaaga is this easy to resolve?

Datseris added a commit that referenced this issue Jan 2, 2025
@Datseris Datseris mentioned this issue Jan 2, 2025
@Datseris
Copy link
Member

Datseris commented Jan 2, 2025

@kailasas-um I just tagged a patch release that compat-bounds Associations.jl to the previous version of Complexitymeasures.jl, 3.7. For now we keep this issue open until we can have Associations.jl work also with latest version of ComplexityMeasures.jl.

@Datseris Datseris reopened this Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants