Python 3.5 will reach end-of-life 2020-09-13.
Ref: https://devguide.python.org/#status-of-python-branches
Refs #3047
# Older CMake versions might not search for Python newer than 3.7.
set(Python_ADDITIONAL_VERSIONS 3.8)
if(GMX_PYTHON_PACKAGE)
# Older CMake versions might not search for Python newer than 3.7.
set(Python_ADDITIONAL_VERSIONS 3.8)
if(GMX_PYTHON_PACKAGE)
- find_package(PythonInterp 3.5 REQUIRED)
+ find_package(PythonInterp 3.6 REQUIRED)
# Note: PythonLibs will be found later by pybind11.
# TODO: (issue #2998) When CMake >= 3.12 is required, update detection.
# Note: PythonLibs will be found later by pybind11.
# TODO: (issue #2998) When CMake >= 3.12 is required, update detection.
- # I.e. find_package(Python3 3.5 COMPONENTS Interpreter Development REQUIRED)
+ # I.e. find_package(Python3 3.6 COMPONENTS Interpreter Development REQUIRED)
- find_package(PythonInterp 3.5)
+ find_package(PythonInterp 3.6)
endif()
find_package(ImageMagick QUIET COMPONENTS convert)
include(gmxTestImageMagick)
endif()
find_package(ImageMagick QUIET COMPONENTS convert)
include(gmxTestImageMagick)
#
# This file is part of the GROMACS molecular simulation package.
#
#
# This file is part of the GROMACS molecular simulation package.
#
-# Copyright (c) 2015,2019, by the GROMACS development team, led by
+# Copyright (c) 2015,2019,2020, by the GROMACS development team, led by
# Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
# and including many others, as listed in the AUTHORS file in the
# top-level source directory and at http://www.gromacs.org.
# Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
# and including many others, as listed in the AUTHORS file in the
# top-level source directory and at http://www.gromacs.org.
# Adapted from code posted on cmake-users by Mark Moll (the execute_process()
# call remains, but other things have been rewritten for nicer behavior).
# Adapted from code posted on cmake-users by Mark Moll (the execute_process()
# call remains, but other things have been rewritten for nicer behavior).
-find_package(PythonInterp 3.5)
+find_package(PythonInterp 3.6)
function (find_python_module module)
string(TOUPPER ${module} _module_upper)
function (find_python_module module)
string(TOUPPER ${module} _module_upper)
string(REPLACE ";" ":" DIRECTORIES_TO_CHECKSUM_STRING "${SET_OF_DIRECTORIES_TO_CHECKSUM}")
# Try to find python for the checksumming script
set(PythonInterp_FIND_QUIETLY ON)
string(REPLACE ";" ":" DIRECTORIES_TO_CHECKSUM_STRING "${SET_OF_DIRECTORIES_TO_CHECKSUM}")
# Try to find python for the checksumming script
set(PythonInterp_FIND_QUIETLY ON)
-find_package(PythonInterp 3.5)
+find_package(PythonInterp 3.6)
# Rules to create the VersionInfo.cmake file.
# For git info, the sequence is:
# Rules to create the VersionInfo.cmake file.
# For git info, the sequence is:
*gmxapi* comes in three parts:
* GROMACS gmxapi library for C++.
*gmxapi* comes in three parts:
* GROMACS gmxapi library for C++.
-* This Python package, supporting Python 3.5 and higher
+* This Python package, supporting Python 3.6 and higher
* MD restraint plugins and sample gmxapi client code
GROMACS requirements
* MD restraint plugins and sample gmxapi client code
GROMACS requirements
Build system requirements
-------------------------
Build system requirements
-------------------------
-gmxapi can be built for Python 3.5 and higher.
+gmxapi can be built for Python 3.6 and higher.
You will need a C++ 14 compatible compiler and a reasonably up-to-date version
of CMake.
You will need a C++ 14 compatible compiler and a reasonably up-to-date version
of CMake.
Python environment requirements
-------------------------------
Python environment requirements
-------------------------------
-gmxapi requires Python 3.5 or higher. Check your version with
+gmxapi requires Python 3.6 or higher. Check your version with
:command:`python3 --version` or :command:`python --version`.
.. note::
:command:`python3 --version` or :command:`python --version`.
.. note::
``-DGMX_USE_LMFIT=none``.
* zlib is used by TNG for compressing some kinds of trajectory data
* Building the |Gromacs| documentation is optional, and requires
``-DGMX_USE_LMFIT=none``.
* zlib is used by TNG for compressing some kinds of trajectory data
* Building the |Gromacs| documentation is optional, and requires
- ImageMagick, pdflatex, bibtex, doxygen, python 3.5, sphinx
+ ImageMagick, pdflatex, bibtex, doxygen, python 3.6, sphinx
|EXPECTED_SPHINX_VERSION|, and pygments.
* The |Gromacs| utility programs often write data files in formats
suitable for the Grace plotting tool, but it is straightforward to
|EXPECTED_SPHINX_VERSION|, and pygments.
* The |Gromacs| utility programs often write data files in formats
suitable for the Grace plotting tool, but it is straightforward to
+Supported Python versions
+"""""""""""""""""""""""""
+
+Where Python is required,
+`CPython <https://www.python.org>`__ versions 3.6 to 3.8 are supported.
+
.. Note to developers!
Please use """"""" to underline the individual entries for fixed issues in the subfolders,
otherwise the formatting on the webpage is messed up.
.. Note to developers!
Please use """"""" to underline the individual entries for fixed issues in the subfolders,
otherwise the formatting on the webpage is messed up.
# TODO: single-source version information (currently repeated in gmxapi/version.py)
version='0.2.0b1',
# TODO: single-source version information (currently repeated in gmxapi/version.py)
version='0.2.0b1',
- python_requires='>=3.5, <3.9',
+ python_requires='>=3.6, <3.9',
setup_requires=['cmake>=3.12',
'setuptools>=28',
'scikit-build>=0.7'],
setup_requires=['cmake>=3.12',
'setuptools>=28',
'scikit-build>=0.7'],