From 88c3881aebe8ed6120e691d22be00eac192a35c9 Mon Sep 17 00:00:00 2001 From: Brandon Butler Date: Tue, 14 Nov 2023 14:46:19 -0500 Subject: [PATCH] fix: Correctly check minor not bugfix version --- signac/import_export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/signac/import_export.py b/signac/import_export.py index e94cb6c2f..ae7729fba 100644 --- a/signac/import_export.py +++ b/signac/import_export.py @@ -1145,7 +1145,7 @@ def read_statepoint_file(path): "The jobs identified with the given schema function are not unique!" ) - if sys.version_info[2] >= 12: + if sys.version_info[1] >= 12: # minor version # the data filter should support all needed operations for users using signac's import # feature. Other filters assume Unix specific features. tarfile.extractall(path=tmpdir, filter="data")