Skip to content

Tests failing on main branch because extra_facets_dir config option is still tested but should be removed in v2.15.0 #3136

Description

@bouweandela

Failing run: https://github.com/ESMValGroup/ESMValCore/actions/runs/28354489927

Result:

ERROR tests/unit/config/test_config_validator.py::test_extra_facets_dir_tuple_deprecated - esmvalcore.exceptions.InvalidConfigParameter: The configuration option or command line argument `extra_facets_dir` has been removed in ESMValCore version 2.15.0. Please use the option `extra_facets` instead (see https://github.com/ESMValGroup/ESMValCore/pull/2747 for details).
ERROR tests/unit/test_dataset.py::test_get_deprecated_extra_facets - esmvalcore.exceptions.InvalidConfigParameter: The configuration option or command line argument `extra_facets_dir` has been removed in ESMValCore version 2.15.0. Please use the option `extra_facets` instead (see https://github.com/ESMValGroup/ESMValCore/pull/2747 for details).
ERROR tests/unit/test_dataset.py::test_get_extra_facets_ignore_deprecated_facets - esmvalcore.exceptions.InvalidConfigParameter: The configuration option or command line argument `extra_facets_dir` has been removed in ESMValCore version 2.15.0. Please use the option `extra_facets` instead (see https://github.com/ESMValGroup/ESMValCore/pull/2747 for details). Since the environment variable ESMVALTOOL_USE_NEW_EXTRA_FACETS_CONFIG is set, `extra_facets_dir` is ignored. To silent this warning, omit `extra_facets_dir`.
FAILED tests/unit/config/test_config_validator.py::test_extra_facets_dir_tuple_deprecated - esmvalcore.exceptions.InvalidConfigParameter: The configuration option or command line argument `extra_facets_dir` has been removed in ESMValCore version 2.15.0. Please use the option `extra_facets` instead (see https://github.com/ESMValGroup/ESMValCore/pull/2747 for details).
FAILED tests/unit/config/test_config_validator.py::test_deprecate_extra_facets_dir - Failed: DID NOT WARN. No warnings of type (<class 'esmvalcore.exceptions.ESMValCoreDeprecationWarning'>,) were emitted.
 Emitted warnings: [].
FAILED tests/integration/cmor/_fixes/icon/test_icon.py::test_add_latitude_longitude - ValueError: Failed to add missing latitude coordinate 'clat' to cube
FAILED tests/unit/test_dataset.py::test_get_deprecated_extra_facets - esmvalcore.exceptions.InvalidConfigParameter: The configuration option or command line argument `extra_facets_dir` has been removed in ESMValCore version 2.15.0. Please use the option `extra_facets` instead (see https://github.com/ESMValGroup/ESMValCore/pull/2747 for details).
FAILED tests/unit/test_dataset.py::test_get_extra_facets_ignore_deprecated_facets - esmvalcore.exceptions.InvalidConfigParameter: The configuration option or command line argument `extra_facets_dir` has been removed in ESMValCore version 2.15.0. Please use the option `extra_facets` instead (see https://github.com/ESMValGroup/ESMValCore/pull/2747 for details). Since the environment variable ESMVALTOOL_USE_NEW_EXTRA_FACETS_CONFIG is set, `extra_facets_dir` is ignored. To silent this warning, omit `extra_facets_dir`.

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