diff --git a/plugins/docker/docker_ b/plugins/docker/docker_ index f2d951b5..7bfe94dd 100755 --- a/plugins/docker/docker_ +++ b/plugins/docker/docker_ @@ -77,7 +77,13 @@ This section has been reverse-engineered from git logs import os import sys import re -from functools import cached_property +try: + from functools import cached_property +except ImportError: + # If cached_property is not available, + # just use the property decorator, without caching + # This is for backward compatibility with Python<3.8 + cached_property = property from multiprocessing import Process, Queue