From 0689061a5d475b4935676d9058a04c427cc73033 Mon Sep 17 00:00:00 2001 From: Alessandro Berti Date: Fri, 22 Sep 2023 08:25:41 +0200 Subject: [PATCH] reported compatibility with Py 3.12 --- README.md | 2 +- examples/ocel_validation.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a8761ccef..e76e70d8f 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ if __name__ == "__main__": ``` ## Installation -pm4py can be installed on Python 3.8.x / 3.9.x / 3.10.x / 3.11.x by invoking: +pm4py can be installed on Python 3.8.x / 3.9.x / 3.10.x / 3.11.x / 3.12.x by invoking: *pip install -U pm4py* ## Requirements diff --git a/examples/ocel_validation.py b/examples/ocel_validation.py index 3e24d134c..4dc21bc68 100644 --- a/examples/ocel_validation.py +++ b/examples/ocel_validation.py @@ -4,7 +4,7 @@ def execute_script(): - if importlib.util.find_spec("tqdm"): + if importlib.util.find_spec("jsonschema"): # validate a JSONOCEL file against the corresponding schema validation_result = jsonocel.apply(os.path.join("..", "tests", "input_data", "ocel", "example_log.jsonocel"), os.path.join("..", "tests", "input_data", "ocel", "validation", "schema.json")) print(validation_result)