Skip to content

Need to support Python 3.6 #13267

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jsquyres opened this issue May 20, 2025 · 0 comments · May be fixed by #13272
Open

Need to support Python 3.6 #13267

jsquyres opened this issue May 20, 2025 · 0 comments · May be fixed by #13272

Comments

@jsquyres
Copy link
Member

jsquyres commented May 20, 2025

It was pointed out on the ompi-packagers list that Python 3.6 is the inbox Python in RHEL8 (and derived distros). The Python >= 3.7 check will therefore need to be downgraded to check for 3.6. There are two considerations:

  1. The python scripts used in all builds (to generate some C and Fortran code) is quite simplistic and runs correctly with Python 3.6. No issues there.
  2. The pympistandard module used in the docs generation process requires some functionality that was introduced in Python 3.7. However, there are backports available for Python 3.6.

Since we already require additional Python modules for docs generation (Sphinx, etc.), adding a few more modules for the pympistandard module when running with Python 3.6 is not an additional burden -- we can just list these in docs/requirements.txt.

FYI @boegel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant