From 61cba5febea11f074805eecf5e89b39683f3e4ef Mon Sep 17 00:00:00 2001 From: Jasper Grimm <65227842+jfgrimm@users.noreply.github.com> Date: Thu, 26 Sep 2024 17:09:52 +0100 Subject: [PATCH] ensure compatibility with python < 3.10 --- easybuild/framework/easyblock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easybuild/framework/easyblock.py b/easybuild/framework/easyblock.py index 936e80ad52..df1866b6db 100644 --- a/easybuild/framework/easyblock.py +++ b/easybuild/framework/easyblock.py @@ -4311,7 +4311,7 @@ def ensure_writable_log_dir(log_dir): if build_option('read_only_installdir'): # temporarily re-enable write permissions for copying log/easyconfig to install dir, # ensuring that we resolve symlinks - log_dir = os.path.realpath(log_dir, strict=True) + log_dir = os.path.realpath(log_dir) if os.path.exists(log_dir): adjust_permissions(log_dir, stat.S_IWUSR, add=True, recursive=True) else: