kactus2dev icon indicating copy to clipboard operation
kactus2dev copied to clipboard

Unreasonable Python version dependency

Open ktbarrett opened this issue 3 years ago • 3 comments

The README states that a minimum Python version of 3.10 is required to build Kactus2 on Linux. This is a totally unreasonable expectation for a tool meant to be used by professionals, which are mostly stuck with whatever version of Python comes with the latest version of RHEL (3.6 on RHEL8).

If the Python API is an optional component, or could be made an optional component, and slackening the Python version requirement is not possible, please update the build scripts to make building the Python API optional.

ktbarrett avatar Aug 30 '22 16:08 ktbarrett

Hi ktbarrett, The current build should work with at least Python version 3.8. If you want to remove PythonAPI from the build completely, you can do this by commenting out PythonAPI under the SUBDIRS section in Kactus2_Solution.pro. At the time of writing this is line 11.

epekkar avatar Aug 31 '22 08:08 epekkar

I'll try that. Would it be acceptable to add a flag (to configure probably?) specifically to turn this on/off easily. This flag can then be documented.

ktbarrett avatar Aug 31 '22 14:08 ktbarrett

I have confirmed Python 3.8 does work after making the suggested change in https://github.com/kactus2/kactus2dev/issues/66#issuecomment-1232618222.

andrewandrepowell avatar Sep 08 '22 16:09 andrewandrepowell