Skip to content

Change in behavior of extension loading in v1.11 #56426

@sethaxen

Description

@sethaxen

Suppose I have a package A with an extension that depends on packages B and C. Package B also depends on C. On Julia v1.10, if I loaded packages A and B, the extension would be loaded. But on Julia v1.11, it seems that I must also explicitly load package C for the extension to be loaded.

I created a repo demonstrating this change in behavior: https://github.com/sethaxen/ExtensionsTestDemo.jl, where A=ExtensionTestDemo, B=StatsBase, C=Random. The tests check whether the extension is loaded depending on which dependencies are loaded, and the CI (e.g. https://github.com/sethaxen/ExtensionsTestDemo.jl/actions/runs/11652519441) demonstrates the change in behavior between v1.10 and v1.11.

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