diff --git a/openeo_driver/ProcessGraphDeserializer.py b/openeo_driver/ProcessGraphDeserializer.py index 4410ad7d..6872f95d 100644 --- a/openeo_driver/ProcessGraphDeserializer.py +++ b/openeo_driver/ProcessGraphDeserializer.py @@ -327,9 +327,8 @@ def evaluate( """ if 'version' not in env: - # TODO: make this a hard error, and stop defaulting to 0.4.0. - warnings.warn("Blindly assuming 0.4.0") - env = env.push({"version": "0.4.0"}) + _log.warning("No version in `evaluate()` env. Blindly assuming 1.0.0.") + env = env.push({"version": "1.0.0"}) top_level_node = ProcessGraphVisitor.dereference_from_node_arguments(process_graph) result_node = process_graph[top_level_node] diff --git a/openeo_driver/_version.py b/openeo_driver/_version.py index a542fd30..9310925c 100644 --- a/openeo_driver/_version.py +++ b/openeo_driver/_version.py @@ -1 +1 @@ -__version__ = "0.69.1a1" +__version__ = "0.69.2a1" diff --git a/tests/test_dry_run.py b/tests/test_dry_run.py index f7bcb641..f5e3e295 100644 --- a/tests/test_dry_run.py +++ b/tests/test_dry_run.py @@ -1219,7 +1219,7 @@ def test_evaluate_predefined_property(backend_implementation): "lc": {"process_id": "load_collection", "arguments": {"id": "TERRASCOPE_S2_FAPAR_V2"}, "result": True}, } - env = EvalEnv(dict(backend_implementation=backend_implementation)) + env = EvalEnv(dict(backend_implementation=backend_implementation, version="1.0.0")) evaluate(pg, do_dry_run=True, env=env)