Skip to content

Find a way to load metadata from __init__ #74

@ablaom

Description

@ablaom

Two attempts by two contributors have failed to make this work. The problem is that everything works fine until you use MLJModels from another package (in our case MLJ). Then you get lot's of these:

WARNING: eval into closed module MLJModels:
true
  ** incremental compilation may be fatally broken for this module **

It seems one cannot have calls to eval in an __init__ function, if the module is to be used by another package. The metadata contains stuff that needs to be evaluated, so there is no quick fix I can think of.

Any ideas welcome.

@aviks

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