Skip to content

pythonsetuptools: support older Python versions

Only relevant to system Python situations, but it is relevant.


This allows me to use a Python 3.7 virtualenv (3.6 untested, but should work similarly) with up-to-date pip to build mpmath. Other Python packages may need similar older Python support versions made available.

Instructions:

$ python3.7 -m venv $venv_path
$ source $venv_path/bin/activate
$ pip install --upgrade pip
$ pip install importlib_metadata # Various packages just assume this exists; added to the stdlib in 3.8
$ <configure superbuild>

Cc: @wascott

Edited by Ben Boeckel

Merge request reports

Loading