From 4fcc96e7fda48f911fe9cf1fd7b697a79be02699 Mon Sep 17 00:00:00 2001 From: German <28149841+germa89@users.noreply.github.com> Date: Tue, 2 Apr 2024 11:57:41 +0200 Subject: [PATCH] Update minimal python version (#2956) * Update minimal version * Add info in pyproject.toml --- pyproject.toml | 2 +- src/ansys/mapdl/core/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 09cc519ba1..29ef4d5e34 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ name = "ansys-mapdl-core" version = "0.69.dev0" description = "A Python wrapper for Ansys MAPDL." readme = "README.md" -requires-python = ">=3.9,<3.13" +requires-python = ">=3.9,<3.13" # Update also 'MINIMUM_PYTHON_VERSION' in src/ansys/mapdl/core/__init__.py license = {file = "LICENSE"} authors = [ {name = "Ansys, Inc.", email = "pyansys.maintainers@ansys.com"}, diff --git a/src/ansys/mapdl/core/__init__.py b/src/ansys/mapdl/core/__init__.py index aadc1dce2b..ab657eb987 100644 --- a/src/ansys/mapdl/core/__init__.py +++ b/src/ansys/mapdl/core/__init__.py @@ -36,7 +36,7 @@ os.makedirs(USER_DATA_PATH) DEPRECATING_MINIMUM_PYTHON_VERSION = True -MINIMUM_PYTHON_VERSION = (3, 8) +MINIMUM_PYTHON_VERSION = (3, 9) first_time_file = os.path.join(USER_DATA_PATH, ".firstime") if not os.path.exists(first_time_file): # pragma: no cover