Skip to content

Commit ebfa5b7

Browse files
committed
Decrease minimum Python version to 3.6
It was pointed out on the Open MPI packagers mailing list that RHEL 8 (and clones) has Python 3.6 inbox. If we only allow Open MPI to build with Python >= 3.7, we'll break all builds on RHEL 8 (etc.). That seems like a bad idea. * Update the git submodule for the pympistandard module to a version that is friendly to running with Python 3.6. * List the additional pip modules in docs/requirements.txt that are needed by pympistandard to be able to run with Python 3.6. Signed-off-by: Jeff Squyres <[email protected]>
1 parent edb4328 commit ebfa5b7

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ automake_min_version=1.13.4
3333
autoconf_min_version=2.69.0
3434
libtool_min_version=2.4.2
3535
flex_min_version=2.5.4
36-
python_min_version=3.7
36+
python_min_version=3.6
3737

3838
# greek is generally used for alpha or beta release tags. If it is
3939
# non-empty, it will be appended to the version number. It does not

docs/requirements.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,11 @@ sphinx>=4.2.0
22
recommonmark
33
docutils
44
sphinx-rtd-theme
5+
6+
# These modules are needed for the pympistandard module when you are
7+
# running Python 3.6 (they became part of core Python in 3.7). We
8+
# specifically use "==" (vs. "<=") because the top-level Open MPI
9+
# VERSION file lists Python 3.6 as the minimum required version of
10+
# Python -- we will never be using < 3.6 to build the Open MPI docs.
11+
importlib_resources; python_version == "3.6"
12+
dataclasses; python_version == "3.6"

0 commit comments

Comments
 (0)