PEP 838 – Adding python-version to pyvenv.cfg | peps.python.org
This PEP proposes adding a python-version field to pyvenv.cfg which records the Python interpreter used by a virtual environment. It records only the major and minor version to be resilient to patch version updates.