File tree 1 file changed +3
-14
lines changed
1 file changed +3
-14
lines changed Original file line number Diff line number Diff line change @@ -1779,21 +1779,10 @@ def inject_module_extra_paths(self):
1779
1779
1780
1780
def expand_module_search_path (self , search_path , path_type = ModEnvVarType .PATH_WITH_FILES ):
1781
1781
"""
1782
- Expand given path glob and return list of suitable paths to be used as search paths:
1783
- - Paths must point to existing files/directories
1784
- - Relative paths are relative to installation prefix root and are kept relative after expansion
1785
- - Absolute paths are kept as absolute paths after expansion
1786
- - Follow symlinks and resolve their paths (avoids duplicate paths through symlinks)
1787
- - :path_type: ModEnvVarType that controls requirements for population of directories
1788
- - PATH: no requirements, can be empty
1789
- - PATH_WITH_FILES: must contain at least one file in them (default)
1790
- - PATH_WITH_TOP_FILES: increase stricness to require files in top level directory
1782
+ REMOVED in EasyBuild 5.1, use EasyBlock.module_load_environment.expand_paths instead
1791
1783
"""
1792
- self .log .deprecated (
1793
- "expand_module_search_path() is deprecated, use EasyBlock.module_load_environment.expand_paths instead" ,
1794
- '5.1' ,
1795
- )
1796
- return False
1784
+ msg = "expand_module_search_path is replaced by EasyBlock.module_load_environment.expand_paths"
1785
+ self .log .nosupport (msg , '5.1' )
1797
1786
1798
1787
def make_module_req_guess (self ):
1799
1788
"""
You can’t perform that action at this time.
0 commit comments