Skip to content

Import error inside extension reported inconsistently #136

@giordano

Description

@giordano

Over at NumericalEarth/Breeze.jl#195 I mentioned that there's an import error

  ExplicitImportsFromNonOwnerException
  Module `BreezeCloudMicrophysicsExt` has explicit imports of names from modules other than their owner as determined via `Base.which`:
  - `prettysummary` has owner `Oceananigans.Grids` but it was imported from `Oceananigans.Utils` at `/Users/runner/work/Breeze.jl/Breeze.jl/ext/BreezeCloudMicrophysicsExt.jl:210:28`

which is somehow reported inconsistently. For example, of all the jobs in https://github.com/NumericalEarth/Breeze.jl/actions/runs/19600740942/job/56131898424#step:6:756, only Julia v1.12 on macOS reports it, but not even always, CI jobs in PRs don't seem to ever report it. To reproduce it, use

]add https://github.com/NumericalEarth/Breeze.jl#27a3949a77e0681524606c01368a406dda5e2f38 [email protected]

(the import error will be fixed, either in Breeze or Oceananigans, so you need to fix the versions of the involved packages)

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