From a54bdab2aa42ff352a441489e4a01152a3b5615c Mon Sep 17 00:00:00 2001 From: Kenneth Hoste Date: Sat, 16 Oct 2021 17:12:47 +0200 Subject: [PATCH] redefine collect_exts_file_info in OCaml easyblock, since fetch_extension_sources was deprecated in https://github.com/easybuilders/easybuild-framework/pull/3860 --- easybuild/easyblocks/o/ocaml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easybuild/easyblocks/o/ocaml.py b/easybuild/easyblocks/o/ocaml.py index 9a25c16e871..54ae52d00a4 100644 --- a/easybuild/easyblocks/o/ocaml.py +++ b/easybuild/easyblocks/o/ocaml.py @@ -133,7 +133,7 @@ def prepare_for_extensions(self): self.cfg['exts_filter'] = EXTS_FILTER_OCAML_PACKAGES super(EB_OCaml, self).prepare_for_extensions() - def fetch_extension_sources(self, *args, **kwargs): + def collect_exts_file_info(self, *args, **kwargs): """Don't fetch extension sources, OPAM takes care of that (and archiving too).""" return [{'name': ext_name, 'version': ext_version} for ext_name, ext_version in self.cfg['exts_list']]