Open
Description
Just played with dask runner, and one of the current struggles is
@pytest.fixture(scope="module")
def connection(
request, runner: str, auto_authenticate: bool, pytestconfig
) -> ProcessTestRunner:
# TODO: this fixture override changes the return type of the original `connection` fixture,
# which might lead to problems due to broken assumptions
if runner == "dask":
> from openeo_test_suite.lib.process_runner.dask import Dask
src/openeo_test_suite/tests/processes/processing/conftest.py:40:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
src/openeo_test_suite/lib/process_runner/dask.py:48: in <module>
registry = create_process_registry()
src/openeo_test_suite/lib/process_runner/dask.py:35: in create_process_registry
specs = {
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.0 = <list_iterator object at 0x7fce38927ca0>
specs = {
> func.__name__: getattr(specs_module, func.__name__)
for func in processes_from_module
}
E AttributeError: module 'openeo_processes_dask.specs' has no attribute 'apply_kernel'
src/openeo_test_suite/lib/process_runner/dask.py:36: AttributeError
apparently downgrading openeo-processes-dask to 23.11.6 instead of 2024.1.1 (currenlty highest) is workaround