Skip to content

Keep minimal-install imports silent #34

Description

@stefan-jansen

A post-release isolated installation of ml4t-data 0.1.0 imported successfully but emitted debug messages for missing optional OANDA and Databento dependencies.

Reproduction:

uv run --isolated --no-project --python 3.12 --with ml4t-data==0.1.0 python -c "import ml4t.data"

Expected: importing the core package writes nothing to stdout or stderr.

Actual: provider-discovery debug messages are emitted during import.

Move optional-provider diagnostics behind an explicit provider-status command or configured logger. Add an isolated minimal-install regression test that asserts silent import.

Severity: low. Import and version checks succeed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions