From c55b56ccb009d8d2a9ac5810e9b688c5e506b844 Mon Sep 17 00:00:00 2001 From: TPD94 Date: Sat, 26 Apr 2025 19:37:06 -0400 Subject: [PATCH] rollback check to 3.12 --- README.md | 4 ++-- custom_functions/prechecks/python_checks.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f964149..7c175ed 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ## Prerequisites (from source only) - - [Python](https://www.python.org/downloads/) version [3.13](https://www.python.org/downloads/release/python-3130/?featured_on=pythonbytes)+ with PIP and VENV installed + - [Python](https://www.python.org/downloads/) version [3.12](https://www.python.org/downloads/release/python-3120/)+ with PIP and VENV installed > Python 3.13 was used at the time of writing @@ -12,7 +12,7 @@ - Extract contents of CDRM-Project 2.0 git contents into a new folder - Open a terminal and change directory into the new folder - Run `python main.py` -- Follow the on screen prompts +- Follow the on-screen prompts ## Installation (From binary) - Download the latest release from the [releases](https://cdm-project.com/tpd94/CDRM-Project/releases) page and run the `.exe` diff --git a/custom_functions/prechecks/python_checks.py b/custom_functions/prechecks/python_checks.py index 8ca6b0c..4230ecd 100644 --- a/custom_functions/prechecks/python_checks.py +++ b/custom_functions/prechecks/python_checks.py @@ -8,12 +8,12 @@ def version_check(): minor_version = sys.version_info.minor if major_version >= 3: - if minor_version >= 13: + if minor_version >= 12: return else: - exit("Python version 3.13 or higher is required") + exit("Python version 3.12 or higher is required") else: - exit("Python 2 detected, Python version 3.13 or higher is required") + exit("Python 2 detected, Python version 3.12 or higher is required") def pip_check(): try: