From 2d1894b5fe84df1580c24f5b1974d420178c1f40 Mon Sep 17 00:00:00 2001 From: Benjamin Rodenberg Date: Thu, 5 Sep 2024 10:30:40 +0200 Subject: [PATCH 1/8] Add changelog entry. --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ad96d2c..1a63ecff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ * Use `copy(deepcopy=True)` when checkpointing to make checkpointing more user-friendly and secure. IMPORTANT: might increase runtime, please open an issue if you face serious problems. [#172](https://github.com/precice/fenics-adapter/pull/172) * Add unit tests for checkpointing. [#173](https://github.com/precice/fenics-adapter/pull/173) +* Remove checks for FEniCS installation and python3 from `setup.py` since the approach is deprecated. [#182](https://github.com/precice/fenics-adapter/pull/182) ## 2.1.0 From b3a9a280cb840aa91d6fa005adbb0a40f159e27f Mon Sep 17 00:00:00 2001 From: Benjamin Rodenberg Date: Thu, 5 Sep 2024 11:40:44 +0200 Subject: [PATCH 2/8] Remove checks for FEniCS and python3 (#182) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Frédéric Simonis --- setup.py | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/setup.py b/setup.py index 1b277b9e..1f6d7126 100644 --- a/setup.py +++ b/setup.py @@ -1,29 +1,6 @@ import os from setuptools import setup import versioneer -import warnings - -# from https://stackoverflow.com/a/9079062 -import sys -if sys.version_info[0] < 3: - raise Exception("fenicsprecice only supports Python3. Did you run $python setup.py