Skip to content

integration test broken due to mlflow import missing in evaluation #1941

@clessig

Description

@clessig

What happened?

Running ./scripts/actions.sh sync and /scripts/actions.sh integration-test results in


=========================================================== ERRORS ============================================================
________________________________ ERROR collecting integration_tests/small_multi_stream_test.py ________________________________
ImportError while importing test module '/users/lessig/santis/WeatherGenerator/integration_tests/small_multi_stream_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../.local/share/uv/python/cpython-3.12.11-linux-aarch64-gnu/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
integration_tests/small_multi_stream_test.py:27: in <module>
    from weathergen.evaluate.run_evaluation import evaluate_from_config
packages/evaluate/src/weathergen/evaluate/run_evaluation.py:22: in <module>
    import mlflow
E   ModuleNotFoundError: No module named 'mlflow'
=================================================== short test summary info ===================================================
ERROR integration_tests/small_multi_stream_test.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
====================================================== 1 error in 0.73s =======================================================

What are the steps to reproduce the bug?

See above

Hedgedoc link to logs and more information. This ticket is public, do not attach files directly.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingevalanything related to the model evaluation pipelineinfraIssues related to infrastructure

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions