Skip to content

Julia v1.11.2 pre-release: Package extension loading issue #56656

Closed
@mtfishman

Description

@mtfishman

There appears to be an issue loading the LazyArraysBlockArraysExt package extension defined in LazyArrays.jl in Julia v1.11.1 and the v1.11.2 pre-release, which doesn't appear in Julia v1.11.0 or Julia nightly.

Under certain conditions, when LazyArraysBlockArraysExt is being loaded in Julia v1.11.1 and the v1.11.2 pre-release, it fails with the error:

ERROR: LoadError: ArgumentError: Package LazyArraysBlockArraysExt does not have BlockArrays in its dependencies

as demonstrated in the CI logs of this PR: JuliaArrays/BlockArrays.jl#433.

I say "under certain conditions" because I'm only able to see the issue when it is run in Github Actions with the workflow defined in the BlockArrays repository, I haven't been able reproduce the issue locally (it must be related to the particular combination of packages that are loaded in the workflow). It might be related to #56426, #56204, #55939, but I'm raising a new issue since it isn't obvious to me if it is a new issue or a repeat of one of those. It looks most similar to #55939, however I removed BlockArrays from the dependency list of LazyArrays here: JuliaArrays/LazyArrays.jl#347 and even after that the issue still shows up. We were hoping that #56228 would fix this issue but it doesn't seem like it has, since we tried testing against 1.11-nightly in the workflow and see the same failure that we get when testing against 1.11.1 (but when we test against 1.11.0 or nightly the issue doesn't appear).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions